Changes between Version 29 and Version 30 of HowTo/FortranStandards


Ignore:
Timestamp:
2013-05-22T11:12:01+02:00 (11 years ago)
Author:
mmcgrath
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/FortranStandards

    v29 v30  
    138138[[BR]]  
    139139 
    140 (1) '''Names of counters:''' Limit to four characters.  If the variable being looped over begins with "n", replace the "n" by an "i" for the counter name.  For example, nvm -> ivm, npts -> ipts, nelements -> iele.  Need to choose between kjpindex and npts! 
     140(1) '''Names of counters:''' Limit to four characters.  If the variable being looped over begins with "n", replace the "n" by an "i" for the counter name.  For example, nvm -> ivm, npts -> ipts, nelements -> iele.   
     141 
     142Variables which have the same meaning but are named differently throughout the code: kjpindex/npts 
    141143 
    142144---- 
     
    188190[[BR]]  
    189191 
     192= Code structure = 
     193 
     194Do we add more folders to handle parts of the code which are not neatly classified by the existing folders (e.g., effective LAI), or do we put everything in one folder and just impose naming conventions on all file names (e.g., stomate_*f90, sechiba*f90, which are already somewhat done)?  
     195 
     196[[BR]]  
     197 
     198 
     199= Points to Discuss (as recommended by Philippe) = 
     200 
     201(1) Use of structures to group related variables 
     202 
     203(2) Long argument lists, structures, or "shared modules" to exchange variables between routines? 
     204> MJM: I like long argument lists or structures, since then it is easier to see what is modified by the routine 
     205 
     206 
     207[[BR]]  
    190208 
    191209= Signatories =