Changes between Version 13 and Version 14 of HowTo/FortranStandards
- Timestamp:
- 2013-04-25T09:47:18+02:00 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowTo/FortranStandards
v13 v14 1 = Fortran st andards and style guide =1 = Fortran style guide = 2 2 3 3 = Introduction = … … 19 19 >> This needs further clarification (JB) 20 20 21 22 ---- 23 21 24 [[BR]] 22 25 = Interfaces = … … 34 37 35 38 39 ---- 40 36 41 [[BR]] 37 = READABILITY=42 = Clarity = 38 43 39 44 Layout of code for clarity to the reader, reminder about the commenting style and ensuring interaction with the documentation compiler (dOxygen) … … 95 100 5) '''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. 96 101 97 102 ---- 98 103 99 104 [[BR]] 100 = DEFINITION OF VARIABLES=105 = Variable definitions = 101 106 102 107 Choosing where and when to define particular variables; portability between compilers; allocation/de-allocation of arrays etc. … … 104 109 105 110 111 ---- 112 106 113 [[BR]] 107 = OPTIMISING FOR SPEED=114 = Speed optimisation = 108 115 109 116 guidelines for making loops more efficient, eliminating dead code