2. Additional rules#
2.1. Fortran modules#
During compilation, it is necessary to compile the modules in the order imposed by their inter-dependencies, and then, to compile the routines that use these modules.
To quickly and automatically identify the modules, the following naming is therefore imposed:
xxxx_type.F90 for modules that define derived types (one type per module) and basic methods for creating objects of this type;
xxxx_module.F90 for « methods » on types.
All derived types should be documented (as are Jeveux data structures).
2.2. Constants#
The abundant use of #define is avoided.
Instead, it is necessary to define parameters grouped thematically in a module.