Next:
5.1 General code organization
Up:
CO5BOLD User Manual
Previous:
4.6.15 Sun: SunFire
Contents
Index
5. Programmer's guide
Subsections
5.1 General code organization
5.2 Indentation and spaces
5.2.1 General layout and indentation recommendations
5.2.2 Alignment of assignments and equations
5.2.3 Normal code indentation
5.2.4 Further recommendations
5.3 Naming conventions
5.3.1 File names
5.3.2 Program names
5.3.3 Names of modules, subroutines, and functions
5.3.4 Variable names
5.4 Comments
5.4.1 Header of files
5.4.2 Header of modules
5.4.3 Header of subroutines and functions
5.4.4 Comment lines
5.4.5 Short comments after Fortran statements
5.5 Compiler switches and directives
5.5.1 OpenMP
5.5.2 Compiler directives
5.5.3 Compiler macros or switches
5.6 Unit tests
5.6.1 F90_UNIT