Changes between Version 29 and Version 30 of HowTo/FortranStandards
- Timestamp:
- 2013-05-22T11:12:01+02:00 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowTo/FortranStandards
v29 v30 138 138 [[BR]] 139 139 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 142 Variables which have the same meaning but are named differently throughout the code: kjpindex/npts 141 143 142 144 ---- … … 188 190 [[BR]] 189 191 192 = Code structure = 193 194 Do 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]] 190 208 191 209 = Signatories =