/[MITgcm]/mitgcm.org/devel/buildweb/code-browser/MakeBrowseableMITGCM/callTree.F
ViewVC logotype

Diff of /mitgcm.org/devel/buildweb/code-browser/MakeBrowseableMITGCM/callTree.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.1.1 by adcroft, Fri Sep 20 19:47:31 2002 UTC revision 1.4 by jmc, Fri Sep 5 18:30:14 2014 UTC
# Line 1  Line 1 
1  C  C
2  C Invocation from WRAPPER level...  C Invocation from WRAPPER level...
3  C  :  C
 C  :  
4  C  |  C  |
5  C  |-THE_MODEL_MAIN :: Primary driver for the MITgcm algorithm  C  |-THE_MODEL_MAIN :: Primary driver for the MITgcm algorithm
6  C    |              :: Called from WRAPPER level numerical  C    |              :: Called from WRAPPER level numerical
7  C    |              :: code innvocation routine. On entry  C    |              :: code invocation routine. On entry
8  C    |              :: to THE_MODEL_MAIN separate thread and  C    |              :: to THE_MODEL_MAIN separate thread and
9  C    |              :: separate processes will have been established.  C    |              :: separate processes will have been established.
10  C    |              :: Each thread and process will have a unique ID  C    |              :: Each thread and process will have a unique ID
11  C    |              :: but as yet it will not be associated with a  C    |              :: but as yet it will not be associated with a
12  C    |              :: specific region in decomposed discrete space.  C    |              :: specific region in decomposed discrete space.
13  C    |  C    |
14  C    |-INITIALISE_FIXED :: Set fixed model arrays such as topography,  C    |-INITIALISE_FIXED :: Set fixed model arrays such as topography,
15  C    | |                :: grid, solver matrices etc..  C    | |                :: grid, solver matrices etc..
16  C    | |                C    | |
17  C    | |-INI_PARMS :: Routine to set kernel model parameters.  C    | |-INI_PARMS :: Routine to set kernel model parameters.
18  C    | |           :: By default kernel parameters are read from file  C    | |           :: Kernel parameters are read from file "data"
19  C    | |           :: "data" in directory in which code executes.  C    | |           :: in directory in which code executes.
20  C    | |  C    | |
21  C    | |-MON_INIT :: Initialises monitor pacakge ( see pkg/monitor )  C    | |-PACKAGES_BOOT      :: Start up the optional package environment.
22    C    | |                    :: Runtime selection of active packages.
23    C    | |-PACKAGES_READPARMS :: read each package input parameter file
24    C    | | |- ${PKG}_READPARMS
25  C    | |  C    | |
26  C    | |-INI_GRID :: Control grid array (vert. and hori.) initialisation.  C    | |-SET_PARMS :: Finalise model parameter setting (if fct of pkg usage)
 C    | | |        :: Grid arrays are held and described in GRID.h.  
 C    | | |  
 C    | | |-INI_VERTICAL_GRID        :: Initialise vertical grid arrays.  
 C    | | |  
 C    | | |-INI_CARTESIAN_GRID       :: Cartesian horiz. grid initialisation  
 C    | | |                          :: (calculate grid from kernel parameters).  
 C    | | |  
 C    | | |-INI_SPHERICAL_POLAR_GRID :: Spherical polar horiz. grid  
 C    | | |                          :: initialisation (calculate grid from  
 C    | | |                          :: kernel parameters).  
 C    | | |  
 C    | | |-INI_CURVILINEAR_GRID     :: General orthogonal, structured horiz.  
 C    | |                            :: grid initialisations. ( input from raw  
 C    | |                            :: grid files, LONC.bin, DXF.bin etc... )  
27  C    | |  C    | |
28  C    | |-INI_DEPTHS    :: Read (from "bathyFile") or set bathymetry/orgography.  C    | |-INI_MODEL_IO   :: Initialise Input/Output setting
29    C    | |  |-MNC_INIT    :: Initialise MITgcm NetCDF interface (MNC)(see pkg/mnc)
30    C    | |  |-MNC_CW_INIT :: Initialise MNC grid and variable types  (see pkg/mnc)
31    C    | |  |-MON_INIT    :: Initialises monitor package ( see pkg/monitor )
32    C    | |
33    C    | |-INI_GRID       :: Control grid array (vert. and horiz.) initialisation.
34    C    | | |              :: Grid arrays are held and described in GRID.h.
35    C    | | |-LOAD_GRID_SPACING    :: Load grid spacing (vector) from files
36    C    | | |-INI_VERTICAL_GRID    :: Set up vertical grid and coordinate
37    C    | | |-INI_CARTESIAN_GRID   :: Cartesian horiz. grid initialisation
38    C    | | |                      :: (calculate grid from kernel parameters).
39    C    | | |-INI_SPHERICAL_POLAR_GRID :: Spherical polar horiz. grid setting
40    C    | | |                          :: (calculate grid from kernel parameters).
41    C    | | |-INI_CURVILINEAR_GRID :: General orthogonal, structured horiz. grid
42    C    | | |                      :: initialisation; input from raw grid files
43    C    | | |                      :: (LONC.bin, LATC.bin, DXF.bin, ... ) or per
44    C    | | |                      :: face file: horizGridFile(.faceXXX.bin)
45    C    | | |-INI_CYLINDER_GRID    :: Cylindrical horiz. grid setting
46    C    | |
47    C    | |-LOAD_REF_FILES   :: Read-in reference vertical profiles (T,S,Rho)
48    C    | |-INI_EOS          :: Initialise Equation Of State (EOS) coefficients
49    C    | |-SET_REF_STATE    :: Set reference pressure/geopotential, reference
50    C    | |                  :: stratification (for implicit IGW), vertical
51    C    | |                  :: velocity scaling factor and anelastic ref. density
52    C    | |-SET_GRID_FACTORS :: Set grid factors (fct of k) for deep-atmosphere
53  C    | |  C    | |
54    C    | |-INI_DEPTHS    :: Read (from "bathyFile") or set bathymetry/orography.
55  C    | |-INI_MASKS_ETC :: Derive horizontal and vertical cell fractions and  C    | |-INI_MASKS_ETC :: Derive horizontal and vertical cell fractions and
56  C    | |               :: land masking for solid-fluid boundaries.  C    | |               :: land masking for solid-fluid boundaries.
57  C    | |  C    | |
58  C    | |-INI_LINEAR_PHSURF :: Set ref. surface Bo_surf  C    | |-PACKAGES_INIT_FIXED  :: do all packages fixed-initialisation setting
59    C    | | |- ${PKG}_INIT_FIXED
60    C    | |
61    C    | |-INI_GLOBAL_DOMAIN :: Initialise domain related (global) quantities.
62    C    | |-INI_LINEAR_PHISURF :: Set ref. surface Bo_surf
63  C    | |  C    | |
64  C    | |-INI_CORI          :: Set coriolis term. zero, f-plane, beta-plane,  C    | |-INI_CORI          :: Set coriolis term. zero, f-plane, beta-plane,
65  C    | |                   :: sphere optins are coded.  C    | |                   :: sphere options are coded.
66    C    | |-INI_CG2D          :: 2D conjugate grad solver initialisation.
67    C    | |-INI_CG3D          :: 3D conjugate grad solver initialisation.
68  C    | |  C    | |
69  C    | |-PACAKGES_BOOT      :: Start up the optional package environment.  C    | |-CONFIG_SUMMARY    :: Provide synopsis of kernel setup. Includes
70  C    | |                    :: Runtime selection of active packages.  C    | |                   :: annotated table of kernel parameter settings.
71  C    | |  C    | |
72  C    | |-PACKAGES_READPARMS :: Call active package internal parameter load.  C    | |-PACKAGES_CHECK    :: call each package configuration checking S/R
73  C    | | |  C    | | |- ${PKG}_CHECK
74  C    | | |-GMREDI_READPARMS    :: GM Package. see pkg/gmredi  C    | |
75  C    | | |-KPP_READPARMS       :: KPP Package. see pkg/kpp  C    | |-CONFIG_CHECK      :: Check config and parameter consistency.
76  C    | | |-SHAP_FILT_READPARMS :: Shapiro filter package. see pkg/shap_filt  C    | |
77  C    | | |-OBCS_READPARMS      :: Open bndy package. see pkg/obcs  C    | |-WRITE_GRID        :: write grid fields to output files
78  C    | | |-AIM_READPARMS       :: Intermediate Atmos. pacakage. see pkg/aim  C    | |-CPL_EXCH_CONFIGS  :: exchange config with coupler-interface
 C    | | |-COST_READPARMS      :: Cost function package. see pkg/cost  
 C    | | |-CTRL_INIT           :: Control vector support package. see pkg/ctrl  
 C    | | |-OPTIM_READPARMS     :: Optimisation support package. see pkg/ctrl  
 C    | | |-GRDCHK_READPARMS    :: Gradient check package. see pkg/grdchk  
 C    | | |-ECCO_READPARMS      :: ECCO Support Package. see pkg/ecco  
 C    | |  
 C    | |-PACKAGES_CHECK  
 C    | | |  
 C    | | |-KPP_CHECK           :: KPP Package. pkg/kpp  
 C    | | |-OBCS_CHECK          :: Open bndy Pacakge. pkg/obcs  
 C    | | |-GMREDI_CHECK        :: GM Package. pkg/gmredi  
 C    | |  
 C    | |-PACKAGES_INIT_FIXED  
 C    | | |-OBCS_INIT_FIXED     :: Open bndy Package. see pkg/obcs  
 C    | | |-FLT_INIT            :: Floats Package. see pkg/flt  
 C    | |  
 C    | |-ZONAL_FILT_INIT       :: FFT filter Package. see pkg/zonal_filt  
 C    | |  
 C    | |-INI_CG2D              :: 2d con. grad solver initialisation.  
 C    | |  
 C    | |-INI_CG3D              :: 3d con. grad solver initialisation.  
 C    | |  
 C    | |-CONFIG_SUMMARY        :: Provide synopsis of kernel setup.  
 C    |                         :: Includes annotated table of kernel  
 C    |                         :: parameter settings.  
79  C    |  C    |
80  C    |-CTRL_UNPACK :: Control vector support package. see pkg/ctrl  C    |-CTRL_UNPACK         :: Control vector support package. see pkg/ctrl
81    C    |-COST_DEPENDENT_INIT :: ( see pkg/cost )
82  C    |  C    |
83  C    |-ADTHE_MAIN_LOOP :: Derivative evaluating form of main time stepping loop  C    |-ADTHE_MAIN_LOOP :: Derivative evaluating form of main time stepping loop
84  C    !                 :: Auotmatically gerenrated by TAMC/TAF.  C    !                 :: Automatically generated by TAMC/TAF.
 C    |  
 C    |-CTRL_PACK   :: Control vector support package. see pkg/ctrl  
 C    |  
 C    |-GRDCHK_MAIN :: Gradient check package. see pkg/grdchk  
85  C    |  C    |
86  C    |-THE_MAIN_LOOP :: Main timestepping loop routine.  C    |-THE_MAIN_LOOP   :: Main timestepping loop routine.
87  C    | |  C    | |
88  C    | |-INITIALISE_VARIA :: Set the initial conditions for time evolving  C    | |-INITIALISE_VARIA :: Set the initial conditions for time evolving fields
 C    | | |                :: variables  
89  C    | | |  C    | | |
90  C    | | |-INI_LINEAR_PHISURF :: Set ref. surface Bo_surf  C #ifdef ALLOW_AUTODIFF
91    C    | | |-INI_DEPTHS         \
92    C    | | |-CTRL_DEPTH_INI      \
93    C    | | |-UPDATE_MASKS_ETC     } ALLOW_DEPTH_CONTROL case
94    C    | | |-UPDATE_CG2D         /
95    C #endif
96    C    | | |-INI_NLFS_VARS :: Initialise all Non-Lin Free-Surf arrays (SURFACE.h)
97    C    | | |-INI_DYNVARS   :: Initialise to zero all DYNVARS.h arrays
98    C    | | |-INI_NH_VARS   :: Initialise to zero all NH_VARS.h arrays
99    C    | | |
100    C    | | |-INI_FIELDS    :: Control initialising model fields to non-zero
101    C    | | | |-INI_VEL     :: Initialize 3D flow field.
102    C    | | | |-INI_THETA   :: Set model initial temperature field.
103    C    | | | |-INI_SALT    :: Set model initial salinity field.
104    C    | | | |-INI_PSURF   :: Set model initial free-surface height/pressure.
105    C    | | | |-READ_PICKUP :: Read in main model pickup files to restart a run.
106  C    | | |  C    | | |
 C    | | |-INI_CORI     :: Set coriolis term. zero, f-plane, beta-plane,  
 C    | | |              :: sphere optins are coded.  
 C    | | |  
 C    | | |-INI_CG2D     :: 2d con. grad solver initialisation.  
 C    | | |-INI_CG3D     :: 3d con. grad solver initialisation.  
107  C    | | |-INI_MIXING   :: Initialise diapycnal diffusivity.  C    | | |-INI_MIXING   :: Initialise diapycnal diffusivity.
 C    | | |-INI_DYNVARS  :: Initialise to zero all DYNVARS.h arrays (dynamical  
 C    | | |              :: fields).  
108  C    | | |  C    | | |
109  C    | | |-INI_FIELDS   :: Control initialising model fields to non-zero  C    | | |-INI_FORCING  :: Set model initial forcing fields, either
110  C    | | | |-INI_VEL    :: Initialize 3D flow field.  C    | | |   |          :: set in-line or from file as shown here:
 C    | | | |-INI_THETA  :: Set model initial temperature field.  
 C    | | | |-INI_SALT   :: Set model initial salinity field.  
 C    | | | |-INI_PSURF  :: Set model initial free-surface height/pressure.  
 C    | | |  
 C    | | |-INI_TR1      :: Set initial tracer 1 distribution.  
 C    | | |  
 C    | | |-THE_CORRECTION_STEP :: Step forward to next time step.  
 C    | | | |                   :: Here applied to move restart conditions  
 C    | | | |                   :: (saved in mid timestep) to correct level in  
 C    | | | |                   :: time (only used for pre-c35).  
 C    | | | |  
 C    | | | |-CALC_GRAD_PHI_SURF :: Return DDx and DDy of surface pressure  
 C    | | | |-CORRECTION_STEP    :: Pressure correction to momentum  
 C    | | | |-CYCLE_TRACER       :: Move tracers forward in time.  
 C    | | | |-OBCS_APPLY         :: Open bndy package. see pkg/obcs  
 C    | | | |-SHAP_FILT_APPLY    :: Shapiro filter package. see pkg/shap_filt  
 C    | | | |-ZONAL_FILT_APPLY   :: FFT filter package. see pkg/zonal_filt  
 C    | | | |-CONVECTIVE_ADJUSTMENT :: Control static instability mixing.  
 C    | | | | |-FIND_RHO  :: Find adjacent densities.  
 C    | | | | |-CONVECT   :: Mix static instability.  
 C    | | | | |-TIMEAVE_CUMULATE :: Update convection statistics.  
 C    | | | |  
 C    | | | |-CALC_EXACT_ETA        :: Change SSH to flow divergence.      
 C    | | |  
 C    | | |-CONVECTIVE_ADJUSTMENT_INI :: Control static instability mixing  
 C    | | | |                         :: Extra time history interactions.  
 C    | | | |                        
 C    | | | |-FIND_RHO  :: Find adjacent densities.  
 C    | | | |-CONVECT   :: Mix static instability.  
 C    | | | |-TIMEAVE_CUMULATE :: Update convection statistics.  
 C    | | |  
 C    | | |-PACKAGES_INIT_VARIABLES :: Does initialisation of time evolving  
 C    | | | |                       :: package data.  
 C    | | | |  
 C    | | | |-GMREDI_INIT          :: GM package. ( see pkg/gmredi )  
 C    | | | |-KPP_INIT             :: KPP package. ( see pkg/kpp )  
 C    | | | |-KPP_OPEN_DIAGS      
 C    | | | |-OBCS_INIT_VARIABLES  :: Open bndy. package. ( see pkg/obcs )  
 C    | | | |-AIM_INIT             :: Interm. atmos package. ( see pkg/aim )  
 C    | | | |-CTRL_MAP_INI         :: Control vector package.( see pkg/ctrl )  
 C    | | | |-COST_INIT            :: Cost function package. ( see pkg/cost )  
 C    | | | |-ECCO_INIT            :: ECCO support package. ( see pkg/ecco )  
 C    | | | |-INI_FORCING          :: Set model initial forcing fields.  
 C    | | |   |                    :: Either set in-line or from file as shown.  
111  C    | | |   |-READ_FLD_XY_RS(zonalWindFile)  C    | | |   |-READ_FLD_XY_RS(zonalWindFile)
112  C    | | |   |-READ_FLD_XY_RS(meridWindFile)  C    | | |   |-READ_FLD_XY_RS(meridWindFile)
113  C    | | |   |-READ_FLD_XY_RS(surfQFile)  C    | | |   |-READ_FLD_XY_RS(surfQnetFile)
114  C    | | |   |-READ_FLD_XY_RS(EmPmRfile)  C    | | |   |-READ_FLD_XY_RS(EmPmRfile)
115  C    | | |   |-READ_FLD_XY_RS(thetaClimFile)  C    | | |   |-READ_FLD_XY_RS(thetaClimFile)
116  C    | | |   |-READ_FLD_XY_RS(saltClimFile)  C    | | |   |-READ_FLD_XY_RS(saltClimFile)
117  C    | | |   |-READ_FLD_XY_RS(surfQswFile)  C    | | |   |-READ_FLD_XY_RS(surfQswFile)
118  C    | | |  C    | | |
119    C    | | |-AUTODIFF_INIT_VARIA :: (see pkg/autodiff )
120    C    | | |
121    C    | | |-PACKAGES_INIT_VARIABLES :: Does initialisation of time evolving
122    C    | | | | ${PKG}_INIT_VARIA     :: package data.
123    C    | | |
124    C    | | |-COST_INIT_VARIA     :: ( see pkg/cost )
125    C    | | |-CONVECTIVE_ADJUSTMENT_INI :: Apply conv. adjustment to initial state
126    C    | | |
127    C    | | |-CALC_R_STAR    :: Calculate the new level thickness factor (r* coord)
128    C    | | |-UPDATE_R_STAR  :: Update the level thickness fraction (r* coord).
129    C    | | |-UPDATE_SIGMA   :: Update the level thickness fraction (sigma-coord).
130  C    | | |-CALC_SURF_DR   :: Calculate the new surface level thickness.  C    | | |-CALC_SURF_DR   :: Calculate the new surface level thickness.
131  C    | | |-UPDATE_SURF_DR :: Update the surface-level thickness fraction.  C    | | |-UPDATE_SURF_DR :: Update the surface-level thickness fraction.
132  C    | | |-UPDATE_CG2D    :: Update 2d conjugate grad. for Free-Surf.  C    | | |
133  C    | | |-STATE_SUMMARY    :: Summarize model prognostic variables.  C    | | |-UPDATE_CG2D    :: Update 2D conjugate grad. for Free-Surf.
134  C    | | |-TIMEAVE_STATVARS :: Time averaging package ( see pkg/timeave ).  C    | | |
135  C    | |  C    | | |-INTEGR_CONTINUITY :: Integrate the continuity Equation
136  C    | |-WRITE_STATE      :: Controlling routine for IO to dump model state.  C    | | | |-INTEGRATE_FOR_W :: Integrate for vertical velocity
137  C    | | |-WRITE_REC_XYZ_RL :: Single file I/O  C    | | | |-OBCS_APPLY_W    :: Open boundary package (see pkg/obcs).
138  C    | | |-WRITE_FLD_XYZ_RL :: Multi-file I/O  C    | | | |-UPDATE_ETAH     :: Update Surface height/pressure
139  C    | |  C    | | |
140  C    | |-MONITOR          :: Monitor state ( see pkg/monitor )  C    | | |-CALC_R_STAR    :: Calculate the new level thickness factor (r* coord)
141  C    | |-CTRL_MAP_FORCING :: Control vector support package. ( see pkg/ctrl )  C    | | |-CALC_SURF_DR   :: Calculate the new surface level thickness.
142  C====|>|  C    | | |
143    C    | | |-STATE_SUMMARY    :: Summarise model prognostic variables.
144    C    | | |
145    C    | | |-MONITOR          :: Monitor state (see pkg/monitor)
146    C    | | |
147    C    | | |-DO_STATEVARS_TAVE :: Time averaging package ( see pkg/timeave ).
148    C    | | |  |-TIMEAVE_STATVARS :: Accumulate main model state variables
149    C    | | |  |-PTRACERS_TIMEAVE :: Accumulate passive tracers variables
150    C    | | |
151    C    | | |-DO_THE_MODEL_IO  :: Controlling routine for IO
152    C    | | | |-WRITE_STATE    ::  Write model state variables.
153    C    | | | |-TIMEAVE_STATV_WRITE :: Write Time averaged output (see pkg/timeave)
154    C    | | | |-FIZHI_WRITE_STATE :: Write Fizhi pkg output (see pkg/fizhi)
155    C    | | | |-AIM_WRITE_TAVE    :: Write AIM  pkg output (see pkg/aim_v23)
156    C    | | | |-LAND_OUTPUT       :: Write Land pkg output (see pkg/land)
157    C    | | | |-OBCS_OUTPUT       :: Write OBCS pkg output (see pkg/obcs)
158    C    | | | |-GMREDI_OUTPUT     :: Write GM-Redi pkg output (see pkg/gmredi)
159    C    | | | |-KPP_OUTPUT        :: Write KPP  pkg output (see pkg/kpp)
160    C    | | | |-PP81_OUTPUT       :: Write PP81 pkg output (see pkg/pp81)
161    C    | | | |-KL10_OUTPUT       :: Write KL10 pkg output (see pkg/kl10)
162    C    | | | |-MY82_OUTPUT       :: Write MY82 pkg output (see pkg/my82)
163    C    | | | |-OPPS_OUTPUT       :: Write OPPS pkg output (see pkg/opps)
164    C    | | | |-GGL90_OUTPUT      :: Write GGL90 pkg output (see pkg/ggl90)
165    C    | | | |-SBO_CALC          :: Compute SBO diagnostics (see pkg/sbo)
166    C    | | | |-SBO_OUTPUT        :: Write SBO  pkg output   (see pkg/sbo)
167    C    | | | |-SEAICE_OUTPUT     :: Write SeaIce pkg output (see pkg/seaice)
168    C    | | | |-SHELFICE_OUTPUT   :: Write ShelfIce pkg output (see pkg/shelfice)
169    C    | | | |-BULKF_OUTPUT      :: Write Bulk-Force output (see pkg/bulK_force)
170    C    | | | |-THSICE_OUTPUT     :: Write ThSIce pkg output (see pkg/thsice)
171    C    | | | |-PTRACERS_OUTPUT   :: Write pTracers pkg output (see pkg/ptracers)
172    C    | | | |-MATRIX_OUTPUT     :: Write Matrix pkg output (see pkg/matrix)
173    C    | | | |-GCHEM_OUTPUT      :: Write Geochemistry pkg output (see pkg/gchem)
174    C    | | | |-CPL_OUTPUT        :: Write Coupler-Interface output (see
175    C    | | | |                   :: pkg/atm_compon_interf, pkg/ocn_compon_interf)
176    C    | | | |-LAYERS_CALC       :: Calculate layers diagnostics (see pkg/layers)
177    C    | | | |-LAYERS_OUTPUT     :: Write Layers pkg output (see pkg/layers)
178    C    | | | |-DIAGNOSTICS_WRITE :: Write pkg/diagnostics output
179    C    | | |
180  C====|>| ****************************  C====|>| ****************************
181  C====|>| BEGIN MAIN TIMESTEPPING LOOP  C====|>| BEGIN MAIN TIMESTEPPING LOOP
182  C====|>| ****************************  C====|>| ****************************
183  C====|>|  C    | |-COST_AVERAGESFIELDS :: time-averaged Cost function terms (see pkg/cost)
184  C/\  | |-FORWARD_STEP     :: Step forward a time-step ( AT LAST !!! )  C    | |-PROFILES_INLOOP     :: ( see pkg/profiles )
185    C    | /
186    C    | |-MAIN_DO_LOOP    :: Open-AD case: Main timestepping loop routine
187    C    | \                    otherwise: just call FORWARD_STEP
188    C    | |
189    C/\  | |-FORWARD_STEP        :: Step forward a time-step ( AT LAST !!! )
190  C/\  | | |  C/\  | | |
191  C/\  | | |-DUMMY_IN_STEPPING :: autodiff package ( pkg/autoduff ).  C/\  | | |-AUTODIFF_INADMODE_UNSET :: Set/reset some adjoint flags
192  C/\  | | |-CALC_EXACT_ETA :: Change SSH to flow divergence.  C/\  | | |-RESET_NLFS_VARS   :: Reset some Non-Lin Free-Surf vars (Adjoint)
193  C/\  | | |-CALC_SURF_DR   :: Calculate the new surface level thickness.  C/\  | | |-UPDATE_R_STAR     :: Reset r-star factor variables     (Adjoint)
194  C/\  | | |-EXF_GETFORCING :: External forcing package. ( pkg/exf )  C/\  | | |-UPDATE_SURF_DR    :: Reset NLFS surface thickness vars (Adjoint)
195  C/\  | | |-EXTERNAL_FIELDS_LOAD :: Control loading time dep. external data.  C/\  | | |
196  C/\  | | | |                    :: Simple interpolcation between end-points  C/\  | | |-PTRACERS_SWITCH_ONOFF    :: Set/reset pTracers time-stepping switch
197  C/\  | | | |                    :: for forcing datasets.  C/\  | | |-DIAGNOSTICS_SWITCH_ONOFF :: Activate/de-activate diagnostics
198  C/\  | | | |                    C/\  | | |-DO_STATEVARS_DIAGS ( 0 ) :: fill-up state variable diagnostics
199  C/\  | | | |-EXCH :: Sync forcing. in overlap regions.  C/\  | | |
200  C/\  | | |  C/\  | | |-NEST_CHILD_SETMEMO :: Nesting interface
201  C/\  | | |-THERMODYNAMICS :: theta, salt + tracer equations driver.  C/\  | | |-NEST_PARENT_IO_1   :: Nesting interface
202  C/\  | | | |  C/\  | | |
203  C/\  | | | |-INTEGRATE_FOR_W :: Integrate for vertical velocity.  C/\  | | |-LOAD_FIELDS_DRIVER :: Control loading of input fields from files
204  C/\  | | | |-OBCS_APPLY_W    :: Open bndy. package ( see pkg/obcs ).  C/\  | | |
205  C/\  | | | |-FIND_RHO        :: Calculates [rho(S,T,z)-Rhonil] of a slice  C/\  | | |-BULKF_FORCING      :: Calculate surface forcing (see pkg/bulk_force)
206  C/\  | | | |-GRAD_SIGMA      :: Calculate isoneutral gradients  C/\  | | |-CHEAPAML           :: Cheap AML driver ( see pkg/cheapaml )
207  C/\  | | | |-CALC_IVDC       :: Set Implicit Vertical Diffusivity for Convection  C/\  | | |-CTRL_MAP_FORCING   :: Control vector support package. (see pkg/ctrl)
208    C/\  | | |-DUMMY_IN_STEPPING  :: Autodiff package ( pkg/autodiff ).
209    C/\  | | |
210    C/\  | | |-CPL_EXPORT_MY_DATA :: Send coupling fields to coupler
211    C/\  | | |-CPL_IMPORT_EXTERNAL_DATA :: Receive coupling fields from coupler
212    C/\  | | |
213    C/\  | | |-OASIS_PUT     :: Oasis coupler interface
214    C/\  | | |-OASIS_GET     :: Oasis coupler interface
215    C/\  | | |
216    C/\  | | |-EBM_DRIVER    :: Calculate EBM type atmospheric forcing (see pkg/ebm)
217    C/\  | | |
218    C/\  | | |-DO_ATMOSPHERIC_PHYS :: Atmospheric physics computation
219  C/\  | | | |  C/\  | | | |
220  C/\  | | | |-OBCS_CALC            :: Open bndy. package ( see pkg/obcs ).  C/\  | | | |-UPDATE_OCEAN_EXPORTS     :: ( see pkg/fizhi )
221  C/\  | | | |-EXTERNAL_FORCING_SURF:: Accumulates appropriately dimensioned  C/\  | | | |-UPDATE_EARTH_EXPORTS     :: ( see pkg/fizhi )
222  C/\  | | | |                      :: forcing terms.  C/\  | | | |-UPDATE_CHEMISTRY_EXPORTS :: ( see pkg/fizhi )
223  C/\  | | | |  C/\  | | | |-FIZHI_WRAPPER            :: ( see pkg/fizhi )
224  C/\  | | | |-GMREDI_CALC_TENSOR   :: GM package ( see pkg/gmredi ).  C/\  | | | |-STEP_FIZHI_FG            :: ( see pkg/fizhi )
225  C/\  | | | |-GMREDI_CALC_TENSOR_DUMMY :: GM package ( see pkg/gmredi ).  C/\  | | | |-FIZHI_UPDATE_TIME        :: ( see pkg/fizhi )
 C/\  | | | |-KPP_CALC             :: KPP package ( see pkg/kpp ).  
 C/\  | | | |-KPP_CALC_DUMMY       :: KPP package ( see pkg/kpp ).  
 C/\  | | | |-AIM_DO_ATMOS_PHYSICS :: Intermed. atmos package ( see pkg/aim ).  
 C/\  | | | |-GAD_ADVECTION        :: Generalised advection driver (multi-dim  
 C/\  | | | |                         advection case) (see pkg/gad).  
 C/\  | | | |-CALC_COMMON_FACTORS  :: Calculate common data (such as volume flux)  
 C/\  | | | |-CALC_DIFFUSIVITY     :: Calculate net vertical diffusivity  
 C/\  | | | | |  
 C/\  | | | | |-GMREDI_CALC_DIFF   :: GM package ( see pkg/gmredi ).  
 C/\  | | | | |-KPP_CALC_DIFF      :: KPP package ( see pkg/kpp ).  
226  C/\  | | | |  C/\  | | | |
227  C/\  | | | |-CALC_GT              :: Calculate the temperature tendency terms  C/\  | | | |-ATM_PHYS_DRIVER          :: ( see pkg/atm_phys )
228  C/\  | | | | |  C/\  | | | |
229  C/\  | | | | |-GAD_CALC_RHS       :: Generalised advection package  C/\  | | | |-AIM_DO_PHYSICS           :: ( see pkg/aim_v23 )
230  C/\  | | | | |                    :: ( see pkg/gad )  C/\  | | |
231  C/\  | | | | |-EXTERNAL_FORCING_T :: Problem specific forcing for temperature.  C/\  | | |-DO_OCEANIC_PHYS     :: Oceanic (& seaice) physics computation
 C/\  | | | | |-ADAMS_BASHFORTH2   :: Extrapolate tendencies forward in time.  
 C/\  | | | | |-FREESURF_RESCALE_G :: Re-scale Gt for free-surface height.  
232  C/\  | | | |  C/\  | | | |
233  C/\  | | | |-TIMESTEP_TRACER      :: Step tracer field forward in time  C/\  | | | |-OBCS_CALC         :: Open boundary. package (see pkg/obcs).
234  C/\  | | | |  C/\  | | | |
235  C/\  | | | |-CALC_GS              :: Calculate the salinity tendency terms  C/\  | | | |-FRAZIL_CALC_RHS   :: Compute FRAZIL tendencies ( see pkg/frazil )
236  C/\  | | | | |  C/\  | | | |-THSICE_MAIN       :: Thermodynamic sea-ice driver (see pkg/thsice)
237  C/\  | | | | |-GAD_CALC_RHS       :: Generalised advection package  C/\  | | | |-SEAICE_MODEL      :: Sea-ice model driver (see pkg/seaice )
238  C/\  | | | | |                    :: ( see pkg/gad )  C/\  | | | |-SEAICE_COST_SENSI   :: Sea-ice cost-function (see pkg/seaice )
239  C/\  | | | | |-EXTERNAL_FORCING_S :: Problem specific forcing for salt.  C/\  | | | |-SHELFICE_THERMODYNAMICS :: Compute ShelfIce thermo (pkg/shelfice)
240  C/\  | | | | |-ADAMS_BASHFORTH2   :: Extrapolate tendencies forward in time.  C/\  | | | |-ICEFRONT_THERMODYNAMICS :: Compute IceFront thermo (pkg/icefront)
241  C/\  | | | | |-FREESURF_RESCALE_G :: Re-scale Gs for free-surface height.  C/\  | | | |
242    C/\  | | | |-SALT_PLUME_DO_EXCH   :: (see pkg/salt_plume )
243    C/\  | | | |-FREEZE_SURFACE       :: Prevent SST to fall below TFreeze
244    C/\  | | | |-OCN_APPLY_IMPORT     :: Apply imported fields from coupler
245    C/\  | | | |-EXTERNAL_FORCING_SURF:: Compute appropriately dimensioned
246    C/\  | | | |                      :: surface forcing terms.
247    C/\  | | | |-FIND_RHO_2D @ p(k)   :: Calculate [rho(T,S,p)-Rho_0] of a slice
248    C/\  | | | |-FIND_RHO_2D @ p(k-1) :: Calculate [rho(T,S,p)-Rho_0] of a slice
249    C/\  | | | |-GRAD_SIGMA           :: Calculate isoneutral gradients
250    C/\  | | | |-CALC_IVDC       :: Set Implicit Vertical Diffusivity for Convection
251    C/\  | | | |-CALC_OCE_MXLAYER        :: Diagnose Oceanic Mixed Layer depth
252    C/\  | | | |
253    C/\  | | | |-SALT_PLUME_CALC_DEPTH   :: (see pkg/salt_plume )
254    C/\  | | | |-SALT_PLUME_VOLFRAC      :: (see pkg/salt_plume )
255    C/\  | | | |-SALT_PLUME_APPLY (Temp) :: (see pkg/salt_plume )
256    C/\  | | | |-SALT_PLUME_APPLY (Salt) :: (see pkg/salt_plume )
257    C/\  | | | |-SALT_PLUME_FORCING_SURF :: (see pkg/salt_plume )
258    C/\  | | | |-KPP_CALC           :: Compute KPP  vertical mixing ( see pkg/kpp )
259    C/\  | | | |-PP81_CALC          :: Compute PP81 vertical mixing ( see pkg/pp81 )
260    C/\  | | | |-KL10_CALC          :: Compute KL10 vertical mixing ( see pkg/kl10 )
261    C/\  | | | |-MY82_CALC          :: Compute MY82 vertical mixing ( see pkg/kl10 )
262    C/\  | | | |-GGL90_CALC         :: Compute GGL90 vertical mixing (see pkg/ggl10)
263    C/\  | | | |-GMREDI_CALC_TENSOR :: Compute GM-Redi tensor ( see pkg/gmredi )
264    C/\  | | | |-DWNSLP_CALC_FLOW   :: Compute Down-Slope flow  (see pkg/down_slope)
265    C/\  | | | |-BBL_CALC_RHS       :: Compute BBL tendencies ( see pkg/bbl )
266    C/\  | | | |-MYPACKAGE_CALC_RHS :: Compute mypackage tendencies (pkg/mypackage)
267    C/\  | | | |
268    C/\  | | | |-GMREDI_DO_EXCH     :: ( see pkg/gmredi )
269    C/\  | | | |-KPP_DO_EXCH        :: ( see pkg/kpp )
270    C/\  | | | |-DIAGS_RHO_G        :: Compute some density related diagnostics
271    C/\  | | | |-DIAGS_OCEANIC_SURF_FLUX :: Diagnose oceanic surface fluxes
272    C/\  | | | |-SALT_PLUME_DIAGNOSTICS_FILL :: (see pkg/salt_plume )
273    C/\  | | | |-ECCO_PHYS          :: ( see pkg/ecco )
274    C/\  | | |
275    C/\  | | |-STREAMICE_TIMESTEP   :: ( see pkg/streamice )
276    C/\  | | |
277    C/\  | | |-GCHEM_CALC_TENDENCY  :: geochemistry driver routine (see pkg/gchem)
278    C/\  | | |
279    C/\  | | |-LONGSTEP_AVERAGE        :: Averaging state vars ( see pkg/longstep )
280    C/\  | | |-LONGSTEP_THERMODYNAMICS :: Step forward tracers ( see pkg/longstep )
281    C/\  | | |
282    C/\  | | |-THERMODYNAMICS       :: theta, salt + tracer equations driver.
283    C/\  | | | |                         (synchronous time-stepping case)
284    C/\  | | | |-CALC_WSURF_TR          :: Compute T & S Linear-Free-Surf correction
285    C/\  | | | |-PTRACERS_CALC_WSURF_TR :: Compute Tracers Linear-Free-Surf correct.
286  C/\  | | | |  C/\  | | | |
287  C/\  | | | |-TIMESTEP_TRACER      :: Step tracer field forward in time  C/\  | | | |-GMREDI_RESIDUAL_FLOW :: Get the flow field used to advect tracers
288  C/\  | | | |  C/\  | | | |
289  C/\  | | | |-CALC_GTR1            :: Calculate other tracer(s) tendency terms  C/\  | | | |-TEMP_INTEGRATE       :: Step forward Prognostic Eq for Temperature.
290  C/\  | | | | |  C/\  | | | | |
291  C/\  | | | | |-GAD_CALC_RHS       :: Generalised advection package  C/\  | | | | |-ADAMS_BASHFORTH3   :: Extrapolate tracer forward in time (AB-3)
292  C/\  | | | | |                    :: ( see pkg/gad )  C/\  | | | | |-ADAMS_BASHFORTH2   :: Extrapolate tracer forward in time (AB-2)
293  C/\  | | | | |-EXTERNAL_FORCING_TR:: Problem specific forcing for tracer.  C/\  | | | | |-CALC_3D_DIFFUSIVITY :: set vertical diffusivity
294  C/\  | | | | |-ADAMS_BASHFORTH2   :: Extrapolate tendencies forward in time.  C/\  | | | | |
295  C/\  | | | | |-FREESURF_RESCALE_G :: Re-scale Gs for free-surface height.  C/\  | | | | |-GAD_SOM_ADVECT     :: Second Order Moment (SOM) advection
296  C/\  | | | |  C/\  | | | | |-GAD_ADVECTION      :: Generalised advection driver (multi-dim
297  C/\  | | | |-TIMESTEP_TRACER      :: Step tracer field forward in time  C/\  | | | | |                         advection case) (see pkg/gad).
298  C/\  | | | |-OBCS_APPLY_TS        :: Open bndy. package (see pkg/obcs ).  C/\  | | | | |-CALC_ADV_FLOW      :: set 3-D flow field to advect tracer
299  C/\  | | | |-FREEZE               :: Limit range of temperature.  C/\  | | | | |-APPLY_FORCING_T    :: Problem specific forcing for temperature.
300    C/\  | | | | |-GAD_CALC_RHS       :: Calculate Advection-Diffusion tendency terms
301    C/\  | | | | |
302    C/\  | | | | |-ADAMS_BASHFORTH3   :: Extrapolate tendency forward in time (AB-3)
303    C/\  | | | | |-ADAMS_BASHFORTH2   :: Extrapolate tendency forward in time (AB-2)
304    C/\  | | | | |-FREESURF_RESCALE_G :: Re-scale Gt for free-surface height.
305    C/\  | | | | |-DWNSLP_APPLY       :: Add pkg/down_slope tendency
306    C/\  | | | | |
307    C/\  | | | | |-TIMESTEP_TRACER    :: Step tracer field forward in time
308    C/\  | | | | |
309    C/\  | | | | |-GAD_IMPLICIT_R     :: Solve vertical implicit Advect-Diffus. eqn.
310    C/\  | | | | |-IMPLDIFF           :: Solve vertical implicit diffusion equation.
311    C/\  | | | | |-CYCLE_AB_TRACER    :: Cycle time-stepping arrays for tracer field
312    C/\  | | | | |-CYCLE_TRACER       :: Cycle time-stepping arrays for tracer field
313  C/\  | | | |  C/\  | | | |
314  C/\  | | | |-IMPLDIFF             :: Solve vertical implicit diffusion equation.  C/\  | | | |-SALT_INTEGRATE       :: Step forward Prognostic Eq for Salinity.
315  C/\  | | | |-OBCS_APPLY_TS        :: Open bndy. package (see pkg/obcs ).  C/\  | | | | |                       same sequence of calls as in TEMP_INTEGRATE
316  C/\  | | | |  C/\  | | | |
317  C/\  | | | |-AIM_AIM2DYN_EXCHANGES :: Inetermed. atmos (see pkg/aim).  C/\  | | | |-PTRACERS_INTEGRATE   :: Integrate other tracer(s) (see pkg/ptracers).
318  C/\  | | | |-EXCH                 :: Update overlaps  C/\  | | | | |                       same sequence of calls as in TEMP_INTEGRATE
319    C/\  | | | | |-OBCS_APPLY_PTRACER :: Open boundary package for pTracers
320    C/\  | | | |
321    C/\  | | | |-OBCS_APPLY_TS        :: Open boundary package (see pkg/obcs ).
322    C/\  | | |
323    C/\  | | |-LONGSTEP_AVERAGE        :: Averaging state vars ( see pkg/longstep )
324    C/\  | | |-LONGSTEP_THERMODYNAMICS :: Step forward tracers ( see pkg/longstep )
325    C/\  | | |
326    C/\  | | |-DO_STAGGER_FIELDS_EXCHANGES :: Update overlap regions of arrays
327    C/\  | | |                                 Theta & Salt (implicit IGW case)
328  C/\  | | |  C/\  | | |
329  C/\  | | |-DYNAMICS       :: Momentum equations driver.  C/\  | | |-DYNAMICS       :: Momentum equations driver.
330  C/\  | | | |  C/\  | | | |
331  C/\  | | | |-CALC_GRAD_PHI_SURF :: Calculate the gradient of the surface  C/\  | | | |-CALC_GRAD_PHI_SURF :: Calculate the gradient of the surface
332  C/\  | | | |                       Potential anomaly.  C/\  | | | |                       Potential anomaly.
333  C/\  | | | |-CALC_VISCOSITY     :: Calculate net vertical viscosity  C/\  | | | |-CALC_VISCOSITY   :: Calculate net vertical viscosity
334  C/\  | | | | |-KPP_CALC_VISC    :: KPP package ( see pkg/kpp ).  C/\  | | | |-MOM_CALC_3D_STRAIN :: Calculates the strain tensor of 3D flow field
335  C/\  | | | |                                                        C/\  | | | |-OBCS_COPY_UV_N   :: for Stevens bndary Conditions (see pkg/obcs)
336  C/\  | | | |-CALC_PHI_HYD       :: Integrate the hydrostatic relation.  C/\  | | | |
337  C/\  | | | |-MOM_FLUXFORM       :: Flux form mom eqn. package ( see  C/\  | | | |-CALC_PHI_HYD     :: Integrate the hydrostatic relation.
338  C/\  | | | |                       pkg/mom_fluxform ).  C/\  | | | |-MOM_FLUXFORM     :: Flux Form momentum eqn. (pkg/mom_fluxform)
339  C/\  | | | |-MOM_VECINV         :: Vector invariant form mom eqn. package ( see  C/\  | | | |-MOM_VECINV       :: Vector Invariant momentum eqn (pkg/mom_vecinv)
340  C/\  | | | |                       pkg/mom_vecinv   ).  C/\  | | | |-MOM_CALC_SMAG_3D :: Calculate Smagorinsky 3D (harmonic) viscosities
341  C/\  | | | |-TIMESTEP           :: Step momentum fields forward in time  C/\  | | | |-MOM_UV_SMAG_3D   :: Calculate U,V mom. tendency due to Smag 3D Visc
342  C/\  | | | |-OBCS_APPLY_UV      :: Open bndy. package (see pkg/obcs ).  C/\  | | | |-TIMESTEP         :: Step horizontal momentum fields forward in time
343  C/\  | | | |  C/\  | | | |
344  C/\  | | | |-IMPLDIFF           :: Solve vertical implicit diffusion equation.  C/\  | | | |-MOM_U_IMPLICIT_R :: Solve implicitly vertical Adv-Diffus equation.
345  C/\  | | | |-OBCS_APPLY_UV      :: Open bndy. package (see pkg/obcs ).  C/\  | | | |-IMPLDIFF         :: Solve vertical implicit diffusion equation.
346  C/\  | | | |  C/\  | | | |-OBCS_SAVE_UV_N   :: for Stevens bndary Conditions (see pkg/obcs)
347  C/\  | | | |-TIMEAVE_CUMUL_1T   :: Time averaging package ( see pkg/timeave ).  C/\  | | | |-OBCS_APPLY_UV    :: Apply Open bndary Conditions to provisional U,V
348  C/\  | | | |-TIMEAVE_CUMUATE    :: Time averaging package ( see pkg/timeave ).  C/\  | | | |-IMPLDIFF         :: (CD-Scheme) Solve vertical impl. diffus. eqn
349  C/\  | | | |-DEBUG_STATS_RL     :: Quick debug package ( see pkg/debug ).  C/\  | | | |
350  C/\  | | |  C/\  | | | |-CALC_GW          :: Vert. momentum tendency terms (Non-Hydrostatic)
351  C/\  | | |-CALC_GW        :: vert. momentum tendency terms ( NH, QH only ).  C/\  | | | | |-MOM_W_SMAG_3D  :: Calculate W mom. tendency due to Smag 3D Visc
352  C/\  | | |  C/\  | | | |-TIMESTEP_WVEL    :: Step vert mom forward in time (Non-Hydrostatic)
353    C/\  | | |
354    C/\  | | |-MNC_UPDATE_TIME    :: Update MNC time record (see pkg/mnc)
355    C/\  | | |
356    C/\  | | |-UPDATE_R_STAR  :: Update the level thickness fraction (r* coord).
357    C/\  | | |-UPDATE_SIGMA   :: Update the level thickness fraction (sigma-coord).
358    C/\  | | |-UPDATE_R_STAR  :: Update the level thickness fraction.
359  C/\  | | |-UPDATE_SURF_DR :: Update the surface-level thickness fraction.  C/\  | | |-UPDATE_SURF_DR :: Update the surface-level thickness fraction.
360    C/\  | | |-UPDATE_CG2D    :: Update 2D conjugate grad. for Free-Surf.
361  C/\  | | |  C/\  | | |
362  C/\  | | |-UPDATE_CG2D    :: Update 2d conjugate grad. for Free-Surf.  C/\  | | |-SHAP_FILT_APPLY_UV  :: Apply Shapiro Filter to provisional velocity
363    C/\  | | |-ZONAL_FILT_APPLY_UV :: Apply  Zonal  Filter to provisional velocity
364  C/\  | | |  C/\  | | |
365  C/\  | | |-SOLVE_FOR_PRESSURE           :: Find surface pressure.  C/\  | | |-SOLVE_FOR_PRESSURE  :: Find surface pressure.
366  C/\  | | | |-CALC_DIV_GHAT     :: Form the RHS of the surface pressure eqn.  C/\  | | | |-CALC_DIV_GHAT     :: Form the RHS of the surface pressure eqn.
367  C/\  | | | |-CG2D              :: Two-dim pre-con. conjugate-gradient.  C/\  | | | |-CG2D              :: Two-dim pre-con. conjugate-gradient.
368    C/\  | | | |-PRE_CG3D          :: Finish to set the RHS of the 3-D pressure eqn.
369  C/\  | | | |-CG3D              :: Three-dim pre-con. conjugate-gradient solver.  C/\  | | | |-CG3D              :: Three-dim pre-con. conjugate-gradient solver.
370    C/\  | | | |-POST_CG3D         :: finalise solution of NH and Free-Surf pressure
371  C/\  | | |  C/\  | | |
372  C/\  | | |-THE_CORRECTION_STEP          :: Step forward to next time step.  C/\  | | |-MOMENTUM_CORRECTION_STEP :: Finalise momentum stepping
373  C/\  | | | |  C/\  | | | |-CALC_GRAD_PHI_SURF  :: Return DDx and DDy of surface pressure
374  C/\  | | | |-CALC_GRAD_PHI_SURF :: Return DDx and DDy of surface pressure  C/\  | | | |-CORRECTION_STEP     :: Pressure correction to momentum
375  C/\  | | | |-CORRECTION_STEP    :: Pressure correction to momentum  C/\  | | | |-OBCS_APPLY_UV       :: Open boundary package (see pkg/obcs).
376  C/\  | | | |-CYCLE_TRACER       :: Move tracers forward in time.  C/\  | | | |-SHAP_FILT_APPLY_UV  :: Apply Shapiro Filter to latest velocity
377  C/\  | | | |-OBCS_APPLY         :: Open bndy package. see pkg/obcs  C/\  | | | |-ZONAL_FILT_APPLY_UV :: Apply  Zonal  Filter to latest velocity
378  C/\  | | | |-SHAP_FILT_APPLY    :: Shapiro filter package. see pkg/shap_filt  C/\  | | |
379  C/\  | | | |-ZONAL_FILT_APPLY   :: FFT filter package. see pkg/zonal_filt  C/\  | | |-INTEGR_CONTINUITY   :: Integrate continuity equation (see above)
380  C/\  | | | |-CONVECTIVE_ADJUSTMENT :: Control static instability mixing.  C/\  | | |
381  C/\  | | | | |-FIND_RHO  :: Find adjacent densities.  C/\  | | |-CALC_R_STAR    :: Calculate the new level thickness factor (r* coord)
382  C/\  | | | | |-CONVECT   :: Mix static instability.  C/\  | | |-CALC_SURF_DR   :: Calculate the new surface level thickness.
383  C/\  | | | | |-TIMEAVE_CUMULATE :: Update convection statistics.  C/\  | | |
384  C/\  | | | |  C/\  | | |-DO_STAGGER_FIELDS_EXCHANGES :: Update overlap regions of arrays
385  C/\  | | | |-CALC_EXACT_ETA        :: Change SSH to flow divergence.      C/\  | | |                             uVel,vVel & wVel (stagger-time-step case)
386    C/\  | | |
387    C/\  | | |-DO_STATEVARS_DIAGS ( 1 ) :: fill-up state variable diagnostics
388    C/\  | | |
389    C/\  | | |-THERMODYNAMICS       :: theta, salt + tracer Eq. driver (see above).
390    C/\  | | |                         (staggered time-stepping case)
391    C/\  | | |
392    C/\  | | |-TRACERS_CORRECTION_STEP :: Finalise tracer stepping:
393    C/\  | | | |                       ::  apply filter, conv.adjustment
394    C/\  | | | |-TRACERS_IIGW_CORRECTION :: apply Implicit IGW adjustment to T & S
395    C/\  | | | |-SHAP_FILT_APPLY_TS        :: Apply Shapiro Filter to latest T & S
396    C/\  | | | |-ZONAL_FILT_APPLY_TS       :: Apply  Zonal  Filter to latest T & S
397    C/\  | | | |-PTRACERS_ZONAL_FILT_APPLY :: Apply  Zonal Filter to pTracers
398    C/\  | | | |-SALT_FILL                 :: Fill up negative Salt
399    C/\  | | | |-OPPS_INTERFACE            :: ( see pkg/opps )
400    C/\  | | | |-CONVECTIVE_ADJUSTMENT     :: Apply convective adjustment
401    C/\  | | | |-MATRIX_STORE_TENDENCY_IMP :: ( see pkg/matrix )
402    C/\  | | |
403    C/\  | | |-LONGSTEP_AVERAGE        :: Averaging state vars ( see pkg/longstep )
404    C/\  | | |-LONGSTEP_THERMODYNAMICS :: Step forward tracers ( see pkg/longstep )
405    C/\  | | |
406    C/\  | | |-GCHEM_FORCING_SEP :: Tracer forcing for gchem pkg (if tracer
407    C/\  | | |                   :: dependent tendencies calculated separately)
408  C/\  | | |  C/\  | | |
409  C/\  | | |-DO_FIELDS_BLOCKING_EXCHANGES :: Sync up overlap regions.  C/\  | | |-DO_FIELDS_BLOCKING_EXCHANGES :: Sync up overlap regions.
 C/\  | | | |-EXCH                                                    
410  C/\  | | |  C/\  | | |
411  C/\  | | |-FLT_MAIN         :: Float package ( pkg/flt ).  C/\  | | |-DO_STATEVARS_DIAGS ( 2 ) :: fill-up state variable diagnostics
412    C/\  | | |
413    C/\  | | |-GRIDALT_UPDATE    :: ( see pkg/gridalt )
414    C/\  | | |-STEP_FIZHI_CORR   :: ( see pkg/fizhi )
415  C/\  | | |  C/\  | | |
416  C/\  | | |-MONITOR          :: Monitor package ( pkg/monitor ).  C/\  | | |-FLT_MAIN          :: Step forward Floats (see pkg/flt)
417  C/\  | | |  C/\  | | |
418  C/\  | | |-DO_THE_MODEL_IO  :: Standard diagnostic I/O.  C/\  | | |-DO_STATEVARS_TAVE :: Time averaging package (see above)
419  C/\  | | | |-WRITE_STATE    :: Core state I/O  C/\  | | |
420  C/\  | | | |-TIMEAVE_STATV_WRITE :: Time averages. see pkg/timeave  C/\  | | |-NEST_PARENT_IO_2  :: Nesting interface
421  C/\  | | | |-AIM_WRITE_DIAGS     :: Intermed. atmos diags. see pkg/aim  C/\  | | |-NEST_CHILD_TRANSP :: Nesting interface
422  C/\  | | | |-GMREDI_DIAGS        :: GM diags. see pkg/gmredi  C/\  | | |
423  C/\  | | | |-KPP_DO_DIAGS        :: KPP diags. see pkg/kpp  C/\  | | |-MONITOR          :: Monitor package (pkg/monitor).
424  C/\  | | |  C/\  | | |
425  C/\  | | |-WRITE_CHECKPOINT :: Do I/O for restart files.  C/\  | | |-COST_TILE        :: ( see pkg/cost )
426  C/\  | |  C/\  | | |
427  C/\  | |-COST_TILE        :: Cost function package. ( see pkg/cost )  C/\  | | |-DO_THE_MODEL_IO  :: Controlling routine for IO (see above)
428  C<===|=|  C/\  | | |
429    C/\  | | |-PTRACERS_RESET   :: Re-initialize PTRACERS ( see pkg/ptracers )
430    C/\  | | |
431    C/\  | | |-DO_WRITE_PICKUP  :: Controlling routine for writing files to restart
432    C/\  | | | |-PACKAGES_WRITE_PICKUP :: Write pickup files for each package
433    C/\  | | | | |                     ::  which needs it to restart
434    C/\  | | | | |-GAD_WRITE_PICKUP       :: Write Generic AdvDiff pickups for SOM
435    C/\  | | | | |                        :: advection scheme (pkg/generic_advdiff)
436    C/\  | | | | |-CD_CODE_WRITE_PICKUP   :: Write CD-code pickups (see pkg/cd_code)
437    C/\  | | | | |-OBCS_WRITE_PICKUP      :: Write OBCS pickups    (see pkg/obcs)
438    C/\  | | | | |-GGL90_WRITE_PICKUP     :: Write GGL90 pickups   (see pkg/ggl90)
439    C/\  | | | | |-BBL_WRITE_PICKUP       :: Write BBL pickups     (see pkg/bbl)
440    C/\  | | | | |-CHEAPAML_WRITE_PICKUP  :: Write CheapAML pickups (pkg/cheapaml)
441    C/\  | | | | |-FLT_WRITE_PICKUP       :: Write Floats pickups  (see pkg/flt)
442    C/\  | | | | |-PTRACERS_WRITE_PICKUP  :: Write pTracers pickups (pkg/ptracers)
443    C/\  | | | | |-GCHEM_WRITE_PICKUP     :: Write Geo-Chem pickups (see pkg/gchem)
444    C/\  | | | | |-SEAICE_WRITE_PICKUP    :: Write SeaIce pickups  (see pkg/seaice)
445    C/\  | | | | |-STREAMICE_WRITE_PICKUP :: Write StreamIce pickups (pkg/streamice)
446    C/\  | | | | |-THSICE_WRITE_PICKUP    :: Write ThSIce pickups  (see pkg/thsice)
447    C/\  | | | | |-LAND_WRITE_PICKUP      :: Write Land   pickups  (see pkg/land)
448    C/\  | | | | |-ATM_PHYS_WRITE_PICKUP  :: Write Atm-Phys pickups (pkg/atm_phys)
449    C/\  | | | | |-FIZHI_WRITE_PICKUP     :: Write Fizhi pickups   (see pkg/fizhi)
450    C/\  | | | | |-FIZHI_WRITE_VEGTILES   :: Write Fizhi VegTiles  (see pkg/fizhi)
451    C/\  | | | | |-FIZHI_WRITE_DATETIME   :: Write Fizhi DateTime  (see pkg/fizhi)
452    C/\  | | | | |-CPL_WRITE_PICKUP       :: Write Coupling-Interface pickups
453    C/\  | | | | |-MYPACKAGE_WRITE_PICKUP :: Write pkg/mypackage pickups
454    C/\  | | | |
455    C/\  | | | |-WRITE_PICKUP          :: Write main model pickup files.
456    C/\  | | |
457    C/\  | | |-AUTODIFF_INADMODE_SET   :: Set/reset some adjoint flags
458    C    | |
459  C<===|=| **************************  C<===|=| **************************
460  C<===|=| END MAIN TIMESTEPPING LOOP  C<===|=| END MAIN TIMESTEPPING LOOP
461  C<===|=| **************************  C<===|=| **************************
462  C<===|=|  C    | |
463  C    | |-COST_FINAL       :: Cost function package. ( see pkg/cost )  C    | |-COST_AVERAGESFIELDS :: Time-averaged Cost function terms (see pkg/cost)
464    C    | |-PROFILES_INLOOP     :: ( see pkg/profiles )
465    C    | |-COST_FINAL          :: Cost function package (see pkg/cost)
466    C    |
467    C    |-CTRL_PACK       :: Control vector support package (see pkg/ctrl)
468  C    |  C    |
469  C    |-WRITE_CHECKPOINT :: Final state storage, for restart.  C    |-GRDCHK_MAIN     :: Gradient check package (see pkg/grdchk)
470  C    |  C    |
471  C    |-TIMER_PRINTALL :: Computational timing summary  C    |-TIMER_PRINTALL  :: Computational timing summary
472  C    |  C    |
473  C    |-COMM_STATS     :: Summarise inter-proc and inter-thread communication  C    |-COMM_STATS      :: Summarise inter-proc and inter-thread communication
474  C                     :: events.  C    |                 :: events.

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.22