Changes between Version 13 and Version 14 of HowTo/FortranStandards


Ignore:
Timestamp:
2013-04-25T09:47:18+02:00 (11 years ago)
Author:
jryder
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/FortranStandards

    v13 v14  
    1 = Fortran standards and style guide = 
     1= Fortran style guide = 
    22 
    33= Introduction = 
     
    1919>> This needs further clarification (JB) 
    2020 
     21 
     22---- 
     23 
    2124[[BR]]  
    2225= Interfaces = 
     
    3437 
    3538 
     39---- 
     40 
    3641[[BR]]  
    37 = READABILITY = 
     42= Clarity = 
    3843 
    3944Layout of code for clarity to the reader, reminder about the commenting style and ensuring interaction with the documentation compiler (dOxygen) 
     
    951005) '''Use of space:''' Always indent the code within conditional statements or loops, but don't use tabs, as the formatting will not be preserved across platforms. 
    96101 
    97  
     102---- 
    98103 
    99104[[BR]]  
    100 = DEFINITION OF VARIABLES = 
     105= Variable definitions = 
    101106 
    102107Choosing where and when to define particular variables; portability between compilers; allocation/de-allocation of arrays etc. 
     
    104109 
    105110 
     111---- 
     112 
    106113[[BR]]  
    107 = OPTIMISING FOR SPEED = 
     114= Speed optimisation = 
    108115 
    109116guidelines for making loops more efficient, eliminating dead code