The DOCTOR norm (from Meso-NH)
The SURFEX code follows the DOCTOR norm. We only recall the following simple rules for prefixing the variable names :
type status | INTEGER | REAL | LOGICAL | CHARACTER | TYPE |
global or MODULE | N | X | L | C | T |
dummy arguments | K | P | O | H | TP |
local variables | I | Z | G | Y | TZ |
loop control | J | - | - | - | - |
PARAMETER | JP | PP | LP | YP | - |
SAVE | IS | ZS | GS | YS | TS |
- Prefixing module names : The modules which contain only:
- Declarative instructions have the prefix MODD ;
- Executive instructions have the prefix MODE ;
- Interface instructions have the prefix MODI ;
- Namelists have the prefix MODN .