Changes between Version 32 and Version 33 of HowTo/FortranStandards
- Timestamp:
- 2013-06-19T11:10:12+02:00 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowTo/FortranStandards
v32 v33 45 45 46 46 > JP : Good idea but please keep the comments in between the lines and try to give a standard logic to the order of arguments : 1) time information, 2) grid information 3) physical input variables, 4) physical IN/OUT variables, 5) Out variables , 6) I/O information (this could move up !) 47 >> JG : I'm not in favor of having comment lines in the subroutine argument list. The comments should be at each declaration line for each varaible. I agree of order of arguments or at least : INTENT(IN), then INTENT(INOUT), and last INTENT(OUT). 48 49 > JG : I think the most important is to have the same number of arguments per line in the SUBROUTINE as in the CALL. It is not so important to always have 5 but to be consequent at both sides. It is also nice to aline the arguments verticaly as done in the exemple above. 47 50 48 51 ----