Most of the source code files contain one subroutine or function per
file where the file name reflects the subroutine name. Exceptions
to this are in the "csm_share" sub-directory where each file contains multiple
subroutines (however the subroutine names all start with the filename as
a pre-fix). A ".F" (Fortran code) or a ".c" (C code) suffix denotes source
code files. The capital "F" suffix indicates that the Fortran
source contains preprocessing directives. Files named with a ".h"
suffix are header files that contain preprocessing directives, variable
declarations, parameter definitions, and common block definitions. Contents
of select header files are included via #include statements at the
beginning portion of each of the ".F" and ".c" files.
Figure 1.1 Conceptual flowchart of the code.
The initialization phase is responsible for three activities. First,
the namelist input variables, are preset and read. Next, the initial dataset
is read (or continuation datasets, depending on the type of run).
This is followed by a series of initializations required to prepare the
data structures, output files, etc., for the time integration phase. The
time integration phase solves the equations describing the atmospheric
general circulation. This phase includes gridpoint physics and dynamics,
semi-Lagrangian transport, spectral space calculations, and a conversion
between spectral space and grid-point space.
Questions on these pages can be sent to... erik@ucar.edu .