| 1 | 
<HTML> | 
| 2 | 
<HEAD> | 
| 3 | 
<TITLE>MITgcm Call Tree</TITLE> | 
| 4 | 
</HEAD> | 
| 5 | 
<BODY leftmargin=0 topmargin=0 marginheight=0 marginwidth=0 bgcolor=#FFFFFF> | 
| 6 | 
<h1> | 
| 7 | 
Browse Hypertext Code Online</h1> | 
| 8 | 
Browse MITgcm source code in hyperlinked form. | 
| 9 | 
<p>Select links from the calling tree below or select from the side bar | 
| 10 | 
menu to access alphabetic lists of model subroutines and functions, runtime | 
| 11 | 
parameters, compile time parameters and model source files. | 
| 12 | 
<h3> | 
| 13 | 
MITgcm Release 1 Main Call Tree</h3> | 
| 14 | 
 | 
| 15 | 
 | 
| 16 | 
<PRE> | 
| 17 | 
C | 
| 18 | 
C Invocation from WRAPPER level... | 
| 19 | 
C  : | 
| 20 | 
C  : | 
| 21 | 
C  | | 
| 22 | 
C  |<A HREF=vdb/names/JZ.htm target=codeBrowserWindow>THE_MODEL_MAIN</A> :: Primary driver for the MITgcm algorithm | 
| 23 | 
C    |              :: Called from WRAPPER level numerical | 
| 24 | 
C    |              :: code innvocation routine. On entry | 
| 25 | 
C    |              :: to THE_MODEL_MAIN separate thread and | 
| 26 | 
C    |              :: separate processes will have been established. | 
| 27 | 
C    |              :: Each thread and process will have a unique ID | 
| 28 | 
C    |              :: but as yet it will not be associated with a | 
| 29 | 
C    |              :: specific region in decomposed discrete space. | 
| 30 | 
C    | | 
| 31 | 
C    |<A HREF=vdb/names/K0.htm target=codeBrowserWindow>INITIALISE_FIXED</A> :: Set fixed model arrays such as topography,  | 
| 32 | 
C    | |                :: grid, solver matrices etc.. | 
| 33 | 
C    | |               | 
| 34 | 
C    | |<A HREF=vdb/names/K1.htm target=codeBrowserWindow>INI_PARMS</A> :: Routine to set kernel model parameters. | 
| 35 | 
C    | |           :: By default kernel parameters are read from file  | 
| 36 | 
C    | |           :: "data" in directory in which code executes. | 
| 37 | 
C    | | | 
| 38 | 
C    | |<A HREF=vdb/names/K2.htm target=codeBrowserWindow>MON_INIT</A> :: Initialises monitor pacakge ( see pkg/monitor ) | 
| 39 | 
C    | | | 
| 40 | 
C    | |<A HREF=vdb/names/K3.htm target=codeBrowserWindow>INI_GRID</A> :: Control grid array (vert. and hori.) initialisation. | 
| 41 | 
C    | | |        :: Grid arrays are held and described in GRID.h. | 
| 42 | 
C    | | | | 
| 43 | 
C    | | |<A HREF=vdb/names/K4.htm target=codeBrowserWindow>INI_VERTICAL_GRID</A>        :: Initialise vertical grid arrays. | 
| 44 | 
C    | | | | 
| 45 | 
C    | | |<A HREF=vdb/names/K5.htm target=codeBrowserWindow>INI_CARTESIAN_GRID</A>       :: Cartesian horiz. grid initialisation | 
| 46 | 
C    | | |                          :: (calculate grid from kernel parameters). | 
| 47 | 
C    | | | | 
| 48 | 
C    | | |<A HREF=vdb/names/K6.htm target=codeBrowserWindow>INI_SPHERICAL_POLAR_GRID</A> :: Spherical polar horiz. grid  | 
| 49 | 
C    | | |                          :: initialisation (calculate grid from  | 
| 50 | 
C    | | |                          :: kernel parameters). | 
| 51 | 
C    | | | | 
| 52 | 
C    | | |<A HREF=vdb/names/K7.htm target=codeBrowserWindow>INI_CURVILINEAR_GRID</A>     :: General orthogonal, structured horiz. | 
| 53 | 
C    | |                            :: grid initialisations. ( input from raw | 
| 54 | 
C    | |                            :: grid files, LONC.bin, DXF.bin etc... ) | 
| 55 | 
C    | | | 
| 56 | 
C    | |<A HREF=vdb/names/K8.htm target=codeBrowserWindow>INI_DEPTHS</A>    :: Read (from "bathyFile") or set bathymetry/orgography. | 
| 57 | 
C    | |-INI_LINEAR_PHSURF :: Set ref. surface Bo_surf | 
| 58 | 
C    | | | 
| 59 | 
C    | |<A HREF=vdb/names/K9.htm target=codeBrowserWindow>INI_MASKS_ETC</A> :: Derive horizontal and vertical cell fractions and | 
| 60 | 
C    | |               :: land masking for solid-fluid boundaries. | 
| 61 | 
C    | | | 
| 62 | 
C    | |-INI_LINEAR_PHSURF :: Set ref. surface Bo_surf | 
| 63 | 
C    | | | 
| 64 | 
C    | |<A HREF=vdb/names/KB.htm target=codeBrowserWindow>INI_CORI</A>          :: Set coriolis term. zero, f-plane, beta-plane, | 
| 65 | 
C    | |                   :: sphere optins are coded. | 
| 66 | 
C    | | | 
| 67 | 
C    | |-PACAKGES_BOOT      :: Start up the optional package environment. | 
| 68 | 
C    | |                    :: Runtime selection of active packages. | 
| 69 | 
C    | | | 
| 70 | 
C    | |<A HREF=vdb/names/KD.htm target=codeBrowserWindow>PACKAGES_READPARMS</A> :: Call active package internal parameter load. | 
| 71 | 
C    | | | | 
| 72 | 
C    | | |<A HREF=vdb/names/KE.htm target=codeBrowserWindow>GMREDI_READPARMS</A>    :: GM Package. see pkg/gmredi | 
| 73 | 
C    | | |<A HREF=vdb/names/KF.htm target=codeBrowserWindow>KPP_READPARMS</A>       :: KPP Package. see pkg/kpp | 
| 74 | 
C    | | |<A HREF=vdb/names/KG.htm target=codeBrowserWindow>SHAP_FILT_READPARMS</A> :: Shapiro filter package. see pkg/shap_filt | 
| 75 | 
C    | | |<A HREF=vdb/names/KH.htm target=codeBrowserWindow>OBCS_READPARMS</A>      :: Open bndy package. see pkg/obcs | 
| 76 | 
C    | | |-AIM_READPARMS       :: Intermediate Atmos. pacakage. see pkg/aim | 
| 77 | 
C    | | |<A HREF=vdb/names/KJ.htm target=codeBrowserWindow>COST_READPARMS</A>      :: Cost function package. see pkg/cost | 
| 78 | 
C    | | |<A HREF=vdb/names/KK.htm target=codeBrowserWindow>CTRL_INIT</A>           :: Control vector support package. see pkg/ctrl | 
| 79 | 
C    | | |<A HREF=vdb/names/KL.htm target=codeBrowserWindow>OPTIM_READPARMS</A>     :: Optimisation support package. see pkg/ctrl  | 
| 80 | 
C    | | |<A HREF=vdb/names/KM.htm target=codeBrowserWindow>GRDCHK_READPARMS</A>    :: Gradient check package. see pkg/grdchk | 
| 81 | 
C    | | |<A HREF=vdb/names/KN.htm target=codeBrowserWindow>ECCO_READPARMS</A>      :: ECCO Support Package. see pkg/ecco | 
| 82 | 
C    | | | 
| 83 | 
C    | |<A HREF=vdb/names/25J.htm target=codeBrowserWindow>PACKAGES_CHECK</A> | 
| 84 | 
C    | | | | 
| 85 | 
C    | | |<A HREF=vdb/names/KO.htm target=codeBrowserWindow>KPP_CHECK</A>           :: KPP Package. pkg/kpp | 
| 86 | 
C    | | |<A HREF=vdb/names/KP.htm target=codeBrowserWindow>OBCS_CHECK</A>          :: Open bndy Pacakge. pkg/obcs | 
| 87 | 
C    | | |<A HREF=vdb/names/KQ.htm target=codeBrowserWindow>GMREDI_CHECK</A>        :: GM Package. pkg/gmredi | 
| 88 | 
C    | | | 
| 89 | 
C    | |<A HREF=vdb/names/25K.htm target=codeBrowserWindow>PACKAGES_INIT_FIXED</A> | 
| 90 | 
C    | | |<A HREF=vdb/names/KR.htm target=codeBrowserWindow>OBCS_INIT_FIXED</A>     :: Open bndy Package. see pkg/obcs | 
| 91 | 
C    | | |<A HREF=vdb/names/KS.htm target=codeBrowserWindow>FLT_INIT</A>            :: Floats Package. see pkg/flt | 
| 92 | 
C    | | | 
| 93 | 
C    | |<A HREF=vdb/names/KT.htm target=codeBrowserWindow>ZONAL_FILT_INIT</A>       :: FFT filter Package. see pkg/zonal_filt | 
| 94 | 
C    | | | 
| 95 | 
C    | |<A HREF=vdb/names/KU.htm target=codeBrowserWindow>INI_CG2D</A>              :: 2d con. grad solver initialisation. | 
| 96 | 
C    | | | 
| 97 | 
C    | |<A HREF=vdb/names/KV.htm target=codeBrowserWindow>INI_CG3D</A>              :: 3d con. grad solver initialisation. | 
| 98 | 
C    | | | 
| 99 | 
C    | |<A HREF=vdb/names/KW.htm target=codeBrowserWindow>CONFIG_SUMMARY</A>        :: Provide synopsis of kernel setup. | 
| 100 | 
C    |                         :: Includes annotated table of kernel  | 
| 101 | 
C    |                         :: parameter settings. | 
| 102 | 
C    | | 
| 103 | 
C    |<A HREF=vdb/names/KX.htm target=codeBrowserWindow>CTRL_UNPACK</A> :: Control vector support package. see pkg/ctrl | 
| 104 | 
C    | | 
| 105 | 
C    |<A HREF=vdb/names/KY.htm target=codeBrowserWindow>ADTHE_MAIN_LOOP</A> :: Derivative evaluating form of main time stepping loop | 
| 106 | 
C    !                 :: Auotmatically gerenrated by TAMC/TAF. | 
| 107 | 
C    | | 
| 108 | 
C    |<A HREF=vdb/names/KZ.htm target=codeBrowserWindow>CTRL_PACK</A>   :: Control vector support package. see pkg/ctrl | 
| 109 | 
C    | | 
| 110 | 
C    |<A HREF=vdb/names/L0.htm target=codeBrowserWindow>GRDCHK_MAIN</A> :: Gradient check package. see pkg/grdchk | 
| 111 | 
C    | | 
| 112 | 
C    |<A HREF=vdb/names/L1.htm target=codeBrowserWindow>THE_MAIN_LOOP</A> :: Main timestepping loop routine. | 
| 113 | 
C    | | | 
| 114 | 
C    | |<A HREF=vdb/names/L2.htm target=codeBrowserWindow>INITIALISE_VARIA</A> :: Set the initial conditions for time evolving  | 
| 115 | 
C    | | |                :: variables | 
| 116 | 
C    | | | | 
| 117 | 
C    | | |<A HREF=vdb/names/L3.htm target=codeBrowserWindow>INI_LINEAR_PHISURF</A> :: Set ref. surface Bo_surf | 
| 118 | 
C    | | | | 
| 119 | 
C    | | |<A HREF=vdb/names/KB.htm target=codeBrowserWindow>INI_CORI</A>     :: Set coriolis term. zero, f-plane, beta-plane, | 
| 120 | 
C    | | |              :: sphere optins are coded. | 
| 121 | 
C    | | | | 
| 122 | 
C    | | |<A HREF=vdb/names/KU.htm target=codeBrowserWindow>INI_CG2D</A>     :: 2d con. grad solver initialisation. | 
| 123 | 
C    | | |<A HREF=vdb/names/KV.htm target=codeBrowserWindow>INI_CG3D</A>     :: 3d con. grad solver initialisation. | 
| 124 | 
C    | | |<A HREF=vdb/names/L7.htm target=codeBrowserWindow>INI_MIXING</A>   :: Initialise diapycnal diffusivity. | 
| 125 | 
C    | | |<A HREF=vdb/names/L8.htm target=codeBrowserWindow>INI_DYNVARS</A>  :: Initialise to zero all DYNVARS.h arrays (dynamical | 
| 126 | 
C    | | |              :: fields). | 
| 127 | 
C    | | | | 
| 128 | 
C    | | |<A HREF=vdb/names/L9.htm target=codeBrowserWindow>INI_FIELDS</A>   :: Control initialising model fields to non-zero | 
| 129 | 
C    | | | |<A HREF=vdb/names/LA.htm target=codeBrowserWindow>INI_VEL</A>    :: Initialize 3D flow field. | 
| 130 | 
C    | | | |<A HREF=vdb/names/LB.htm target=codeBrowserWindow>INI_THETA</A>  :: Set model initial temperature field. | 
| 131 | 
C    | | | |<A HREF=vdb/names/LC.htm target=codeBrowserWindow>INI_SALT</A>   :: Set model initial salinity field. | 
| 132 | 
C    | | | |<A HREF=vdb/names/LD.htm target=codeBrowserWindow>INI_PSURF</A>  :: Set model initial free-surface height/pressure. | 
| 133 | 
C    | | | | 
| 134 | 
C    | | |<A HREF=vdb/names/LE.htm target=codeBrowserWindow>INI_TR1</A>      :: Set initial tracer 1 distribution. | 
| 135 | 
C    | | | | 
| 136 | 
C    | | |<A HREF=vdb/names/LF.htm target=codeBrowserWindow>THE_CORRECTION_STEP</A> :: Step forward to next time step. | 
| 137 | 
C    | | | |                   :: Here applied to move restart conditions | 
| 138 | 
C    | | | |                   :: (saved in mid timestep) to correct level in  | 
| 139 | 
C    | | | |                   :: time (only used for pre-c35). | 
| 140 | 
C    | | | | | 
| 141 | 
C    | | | |<A HREF=vdb/names/LG.htm target=codeBrowserWindow>CALC_GRAD_PHI_SURF</A> :: Return DDx and DDy of surface pressure | 
| 142 | 
C    | | | |<A HREF=vdb/names/LH.htm target=codeBrowserWindow>CORRECTION_STEP</A>    :: Pressure correction to momentum | 
| 143 | 
C    | | | |<A HREF=vdb/names/LI.htm target=codeBrowserWindow>CYCLE_TRACER</A>       :: Move tracers forward in time. | 
| 144 | 
C    | | | |-OBCS_APPLY         :: Open bndy package. see pkg/obcs | 
| 145 | 
C    | | | |-SHAP_FILT_APPLY    :: Shapiro filter package. see pkg/shap_filt | 
| 146 | 
C    | | | |-ZONAL_FILT_APPLY   :: FFT filter package. see pkg/zonal_filt | 
| 147 | 
C    | | | |<A HREF=vdb/names/LM.htm target=codeBrowserWindow>CONVECTIVE_ADJUSTMENT</A> :: Control static instability mixing. | 
| 148 | 
C    | | | | |<A HREF=vdb/names/LN.htm target=codeBrowserWindow>FIND_RHO</A>  :: Find adjacent densities. | 
| 149 | 
C    | | | | |<A HREF=vdb/names/LO.htm target=codeBrowserWindow>CONVECT</A>   :: Mix static instability. | 
| 150 | 
C    | | | | |<A HREF=vdb/names/LP.htm target=codeBrowserWindow>TIMEAVE_CUMULATE</A> :: Update convection statistics. | 
| 151 | 
C    | | | |  | 
| 152 | 
C    | | | |<A HREF=vdb/names/LQ.htm target=codeBrowserWindow>CALC_EXACT_ETA</A>        :: Change SSH to flow divergence.      | 
| 153 | 
C    | | |  | 
| 154 | 
C    | | |<A HREF=vdb/names/LR.htm target=codeBrowserWindow>CONVECTIVE_ADJUSTMENT_INI</A> :: Control static instability mixing | 
| 155 | 
C    | | | |                         :: Extra time history interactions. | 
| 156 | 
C    | | | |                        | 
| 157 | 
C    | | | |<A HREF=vdb/names/LN.htm target=codeBrowserWindow>FIND_RHO</A>  :: Find adjacent densities. | 
| 158 | 
C    | | | |<A HREF=vdb/names/LO.htm target=codeBrowserWindow>CONVECT</A>   :: Mix static instability. | 
| 159 | 
C    | | | |<A HREF=vdb/names/LP.htm target=codeBrowserWindow>TIMEAVE_CUMULATE</A> :: Update convection statistics. | 
| 160 | 
C    | | | | 
| 161 | 
C    | | |<A HREF=vdb/names/LV.htm target=codeBrowserWindow>PACKAGES_INIT_VARIABLES</A> :: Does initialisation of time evolving  | 
| 162 | 
C    | | | |                       :: package data. | 
| 163 | 
C    | | | | | 
| 164 | 
C    | | | |<A HREF=vdb/names/LW.htm target=codeBrowserWindow>GMREDI_INIT</A>          :: GM package. ( see pkg/gmredi ) | 
| 165 | 
C    | | | |<A HREF=vdb/names/LX.htm target=codeBrowserWindow>KPP_INIT</A>             :: KPP package. ( see pkg/kpp ) | 
| 166 | 
C    | | | |<A HREF=vdb/names/25X.htm target=codeBrowserWindow>KPP_OPEN_DIAGS</A>     | 
| 167 | 
C    | | | |<A HREF=vdb/names/LY.htm target=codeBrowserWindow>OBCS_INIT_VARIABLES</A>  :: Open bndy. package. ( see pkg/obcs ) | 
| 168 | 
C    | | | |<A HREF=vdb/names/LZ.htm target=codeBrowserWindow>AIM_INIT</A>             :: Interm. atmos package. ( see pkg/aim ) | 
| 169 | 
C    | | | |<A HREF=vdb/names/M0.htm target=codeBrowserWindow>CTRL_MAP_INI</A>         :: Control vector package.( see pkg/ctrl ) | 
| 170 | 
C    | | | |<A HREF=vdb/names/M1.htm target=codeBrowserWindow>COST_INIT</A>            :: Cost function package. ( see pkg/cost ) | 
| 171 | 
C    | | | |<A HREF=vdb/names/M2.htm target=codeBrowserWindow>ECCO_INIT</A>            :: ECCO support package. ( see pkg/ecco ) | 
| 172 | 
C    | | | |<A HREF=vdb/names/M3.htm target=codeBrowserWindow>INI_FORCING</A>          :: Set model initial forcing fields. | 
| 173 | 
C    | | |   |                    :: Either set in-line or from file as shown. | 
| 174 | 
C    | | |   |<A HREF=vdb/names/22E.htm target=codeBrowserWindow>READ_FLD_XY_RS</A>(zonalWindFile) | 
| 175 | 
C    | | |   |<A HREF=vdb/names/22E.htm target=codeBrowserWindow>READ_FLD_XY_RS</A>(meridWindFile) | 
| 176 | 
C    | | |   |<A HREF=vdb/names/22E.htm target=codeBrowserWindow>READ_FLD_XY_RS</A>(surfQFile) | 
| 177 | 
C    | | |   |<A HREF=vdb/names/22E.htm target=codeBrowserWindow>READ_FLD_XY_RS</A>(EmPmRfile) | 
| 178 | 
C    | | |   |<A HREF=vdb/names/22E.htm target=codeBrowserWindow>READ_FLD_XY_RS</A>(thetaClimFile) | 
| 179 | 
C    | | |   |<A HREF=vdb/names/22E.htm target=codeBrowserWindow>READ_FLD_XY_RS</A>(saltClimFile) | 
| 180 | 
C    | | |   |<A HREF=vdb/names/22E.htm target=codeBrowserWindow>READ_FLD_XY_RS</A>(surfQswFile) | 
| 181 | 
C    | | | | 
| 182 | 
C    | | |<A HREF=vdb/names/M4.htm target=codeBrowserWindow>CALC_SURF_DR</A>   :: Calculate the new surface level thickness. | 
| 183 | 
C    | | |<A HREF=vdb/names/M5.htm target=codeBrowserWindow>UPDATE_SURF_DR</A> :: Update the surface-level thickness fraction. | 
| 184 | 
C    | | |<A HREF=vdb/names/M6.htm target=codeBrowserWindow>UPDATE_CG2D</A>    :: Update 2d conjugate grad. for Free-Surf. | 
| 185 | 
C    | | |<A HREF=vdb/names/M7.htm target=codeBrowserWindow>STATE_SUMMARY</A>    :: Summarize model prognostic variables. | 
| 186 | 
C    | | |<A HREF=vdb/names/M8.htm target=codeBrowserWindow>TIMEAVE_STATVARS</A> :: Time averaging package ( see pkg/timeave ). | 
| 187 | 
C    | | | 
| 188 | 
C    | |<A HREF=vdb/names/M9.htm target=codeBrowserWindow>WRITE_STATE</A>      :: Controlling routine for IO to dump model state. | 
| 189 | 
C    | | |<A HREF=vdb/names/MA.htm target=codeBrowserWindow>WRITE_REC_XYZ_RL</A> :: Single file I/O | 
| 190 | 
C    | | |<A HREF=vdb/names/MB.htm target=codeBrowserWindow>WRITE_FLD_XYZ_RL</A> :: Multi-file I/O | 
| 191 | 
C    | |  | 
| 192 | 
C    | |<A HREF=vdb/names/MC.htm target=codeBrowserWindow>MONITOR</A>          :: Monitor state ( see pkg/monitor ) | 
| 193 | 
C    | |<A HREF=vdb/names/MD.htm target=codeBrowserWindow>CTRL_MAP_FORCING</A> :: Control vector support package. ( see pkg/ctrl ) | 
| 194 | 
C====|>|  | 
| 195 | 
C====|>| **************************** | 
| 196 | 
C====|>| BEGIN MAIN TIMESTEPPING LOOP | 
| 197 | 
C====|>| **************************** | 
| 198 | 
C====|>|  | 
| 199 | 
C/\  | |<A HREF=vdb/names/ME.htm target=codeBrowserWindow>FORWARD_STEP</A>     :: Step forward a time-step ( AT LAST !!! ) | 
| 200 | 
C/\  | | | | 
| 201 | 
C/\  | | |<A HREF=vdb/names/MF.htm target=codeBrowserWindow>DUMMY_IN_STEPPING</A> :: autodiff package ( pkg/autoduff ). | 
| 202 | 
C/\  | | |<A HREF=vdb/names/LQ.htm target=codeBrowserWindow>CALC_EXACT_ETA</A> :: Change SSH to flow divergence. | 
| 203 | 
C/\  | | |<A HREF=vdb/names/M4.htm target=codeBrowserWindow>CALC_SURF_DR</A>   :: Calculate the new surface level thickness. | 
| 204 | 
C/\  | | |<A HREF=vdb/names/MI.htm target=codeBrowserWindow>EXF_GETFORCING</A> :: External forcing package. ( pkg/exf ) | 
| 205 | 
C/\  | | |<A HREF=vdb/names/MJ.htm target=codeBrowserWindow>EXTERNAL_FIELDS_LOAD</A> :: Control loading time dep. external data. | 
| 206 | 
C/\  | | | |                    :: Simple interpolcation between end-points  | 
| 207 | 
C/\  | | | |                    :: for forcing datasets. | 
| 208 | 
C/\  | | | |                   | 
| 209 | 
C/\  | | | |-EXCH :: Sync forcing. in overlap regions. | 
| 210 | 
C/\  | | | | 
| 211 | 
C/\  | | |<A HREF=vdb/names/ML.htm target=codeBrowserWindow>THERMODYNAMICS</A> :: theta, salt + tracer equations driver. | 
| 212 | 
C/\  | | | | | 
| 213 | 
C/\  | | | |<A HREF=vdb/names/MM.htm target=codeBrowserWindow>INTEGRATE_FOR_W</A> :: Integrate for vertical velocity. | 
| 214 | 
C/\  | | | |<A HREF=vdb/names/MN.htm target=codeBrowserWindow>OBCS_APPLY_W</A>    :: Open bndy. package ( see pkg/obcs ). | 
| 215 | 
C/\  | | | |<A HREF=vdb/names/LN.htm target=codeBrowserWindow>FIND_RHO</A>        :: Calculates [rho(S,T,z)-Rhonil] of a slice | 
| 216 | 
C/\  | | | |<A HREF=vdb/names/MP.htm target=codeBrowserWindow>GRAD_SIGMA</A>      :: Calculate isoneutral gradients | 
| 217 | 
C/\  | | | |<A HREF=vdb/names/MQ.htm target=codeBrowserWindow>CALC_IVDC</A>       :: Set Implicit Vertical Diffusivity for Convection | 
| 218 | 
C/\  | | | | | 
| 219 | 
C/\  | | | |<A HREF=vdb/names/MR.htm target=codeBrowserWindow>OBCS_CALC</A>            :: Open bndy. package ( see pkg/obcs ). | 
| 220 | 
C/\  | | | |<A HREF=vdb/names/MS.htm target=codeBrowserWindow>EXTERNAL_FORCING_SURF</A>:: Accumulates appropriately dimensioned  | 
| 221 | 
C/\  | | | |                      :: forcing terms. | 
| 222 | 
C/\  | | | | | 
| 223 | 
C/\  | | | |<A HREF=vdb/names/MT.htm target=codeBrowserWindow>GMREDI_CALC_TENSOR</A>   :: GM package ( see pkg/gmredi ). | 
| 224 | 
C/\  | | | |<A HREF=vdb/names/MU.htm target=codeBrowserWindow>GMREDI_CALC_TENSOR_DUMMY</A> :: GM package ( see pkg/gmredi ).  | 
| 225 | 
C/\  | | | |<A HREF=vdb/names/MV.htm target=codeBrowserWindow>KPP_CALC</A>             :: KPP package ( see pkg/kpp ). | 
| 226 | 
C/\  | | | |<A HREF=vdb/names/MW.htm target=codeBrowserWindow>KPP_CALC_DUMMY</A>       :: KPP package ( see pkg/kpp ). | 
| 227 | 
C/\  | | | |<A HREF=vdb/names/MX.htm target=codeBrowserWindow>AIM_DO_ATMOS_PHYSICS</A> :: Intermed. atmos package ( see pkg/aim ). | 
| 228 | 
C/\  | | | |<A HREF=vdb/names/MY.htm target=codeBrowserWindow>GAD_ADVECTION</A>        :: Generalised advection driver (multi-dim | 
| 229 | 
C/\  | | | |                         advection case) (see pkg/gad). | 
| 230 | 
C/\  | | | |<A HREF=vdb/names/MZ.htm target=codeBrowserWindow>CALC_COMMON_FACTORS</A>  :: Calculate common data (such as volume flux) | 
| 231 | 
C/\  | | | |<A HREF=vdb/names/N0.htm target=codeBrowserWindow>CALC_DIFFUSIVITY</A>     :: Calculate net vertical diffusivity | 
| 232 | 
C/\  | | | | | | 
| 233 | 
C/\  | | | | |<A HREF=vdb/names/N1.htm target=codeBrowserWindow>GMREDI_CALC_DIFF</A>   :: GM package ( see pkg/gmredi ). | 
| 234 | 
C/\  | | | | |<A HREF=vdb/names/N2.htm target=codeBrowserWindow>KPP_CALC_DIFF</A>      :: KPP package ( see pkg/kpp ). | 
| 235 | 
C/\  | | | | | 
| 236 | 
C/\  | | | |<A HREF=vdb/names/N3.htm target=codeBrowserWindow>CALC_GT</A>              :: Calculate the temperature tendency terms | 
| 237 | 
C/\  | | | | | | 
| 238 | 
C/\  | | | | |<A HREF=vdb/names/N4.htm target=codeBrowserWindow>GAD_CALC_RHS</A>       :: Generalised advection package  | 
| 239 | 
C/\  | | | | |                    :: ( see pkg/gad ) | 
| 240 | 
C/\  | | | | |<A HREF=vdb/names/N5.htm target=codeBrowserWindow>EXTERNAL_FORCING_T</A> :: Problem specific forcing for temperature. | 
| 241 | 
C/\  | | | | |<A HREF=vdb/names/N6.htm target=codeBrowserWindow>ADAMS_BASHFORTH2</A>   :: Extrapolate tendencies forward in time. | 
| 242 | 
C/\  | | | | |<A HREF=vdb/names/N7.htm target=codeBrowserWindow>FREESURF_RESCALE_G</A> :: Re-scale Gt for free-surface height. | 
| 243 | 
C/\  | | | | | 
| 244 | 
C/\  | | | |<A HREF=vdb/names/N8.htm target=codeBrowserWindow>TIMESTEP_TRACER</A>      :: Step tracer field forward in time | 
| 245 | 
C/\  | | | | | 
| 246 | 
C/\  | | | |<A HREF=vdb/names/N9.htm target=codeBrowserWindow>CALC_GS</A>              :: Calculate the salinity tendency terms | 
| 247 | 
C/\  | | | | | | 
| 248 | 
C/\  | | | | |<A HREF=vdb/names/N4.htm target=codeBrowserWindow>GAD_CALC_RHS</A>       :: Generalised advection package  | 
| 249 | 
C/\  | | | | |                    :: ( see pkg/gad ) | 
| 250 | 
C/\  | | | | |<A HREF=vdb/names/NB.htm target=codeBrowserWindow>EXTERNAL_FORCING_S</A> :: Problem specific forcing for salt. | 
| 251 | 
C/\  | | | | |<A HREF=vdb/names/N6.htm target=codeBrowserWindow>ADAMS_BASHFORTH2</A>   :: Extrapolate tendencies forward in time. | 
| 252 | 
C/\  | | | | |<A HREF=vdb/names/N7.htm target=codeBrowserWindow>FREESURF_RESCALE_G</A> :: Re-scale Gs for free-surface height. | 
| 253 | 
C/\  | | | | | 
| 254 | 
C/\  | | | |<A HREF=vdb/names/N8.htm target=codeBrowserWindow>TIMESTEP_TRACER</A>      :: Step tracer field forward in time | 
| 255 | 
C/\  | | | | | 
| 256 | 
C/\  | | | |<A HREF=vdb/names/NF.htm target=codeBrowserWindow>CALC_GTR1</A>            :: Calculate other tracer(s) tendency terms | 
| 257 | 
C/\  | | | | | | 
| 258 | 
C/\  | | | | |<A HREF=vdb/names/N4.htm target=codeBrowserWindow>GAD_CALC_RHS</A>       :: Generalised advection package  | 
| 259 | 
C/\  | | | | |                    :: ( see pkg/gad ) | 
| 260 | 
C/\  | | | | |<A HREF=vdb/names/NH.htm target=codeBrowserWindow>EXTERNAL_FORCING_TR</A>:: Problem specific forcing for tracer. | 
| 261 | 
C/\  | | | | |<A HREF=vdb/names/N6.htm target=codeBrowserWindow>ADAMS_BASHFORTH2</A>   :: Extrapolate tendencies forward in time. | 
| 262 | 
C/\  | | | | |<A HREF=vdb/names/N7.htm target=codeBrowserWindow>FREESURF_RESCALE_G</A> :: Re-scale Gs for free-surface height. | 
| 263 | 
C/\  | | | | | 
| 264 | 
C/\  | | | |<A HREF=vdb/names/N8.htm target=codeBrowserWindow>TIMESTEP_TRACER</A>      :: Step tracer field forward in time | 
| 265 | 
C/\  | | | |<A HREF=vdb/names/NL.htm target=codeBrowserWindow>OBCS_APPLY_TS</A>        :: Open bndy. package (see pkg/obcs ). | 
| 266 | 
C/\  | | | |<A HREF=vdb/names/NM.htm target=codeBrowserWindow>FREEZE</A>               :: Limit range of temperature. | 
| 267 | 
C/\  | | | | | 
| 268 | 
C/\  | | | |<A HREF=vdb/names/NN.htm target=codeBrowserWindow>IMPLDIFF</A>             :: Solve vertical implicit diffusion equation. | 
| 269 | 
C/\  | | | |<A HREF=vdb/names/NL.htm target=codeBrowserWindow>OBCS_APPLY_TS</A>        :: Open bndy. package (see pkg/obcs ).  | 
| 270 | 
C/\  | | | | | 
| 271 | 
C/\  | | | |<A HREF=vdb/names/NP.htm target=codeBrowserWindow>AIM_AIM2DYN_EXCHANGES</A> :: Inetermed. atmos (see pkg/aim). | 
| 272 | 
C/\  | | | |-EXCH                 :: Update overlaps | 
| 273 | 
C/\  | | | | 
| 274 | 
C/\  | | |<A HREF=vdb/names/NR.htm target=codeBrowserWindow>DYNAMICS</A>       :: Momentum equations driver. | 
| 275 | 
C/\  | | | | | 
| 276 | 
C/\  | | | |<A HREF=vdb/names/LG.htm target=codeBrowserWindow>CALC_GRAD_PHI_SURF</A> :: Calculate the gradient of the surface  | 
| 277 | 
C/\  | | | |                       Potential anomaly. | 
| 278 | 
C/\  | | | |<A HREF=vdb/names/NT.htm target=codeBrowserWindow>CALC_VISCOSITY</A>     :: Calculate net vertical viscosity | 
| 279 | 
C/\  | | | | |<A HREF=vdb/names/NU.htm target=codeBrowserWindow>KPP_CALC_VISC</A>    :: KPP package ( see pkg/kpp ). | 
| 280 | 
C/\  | | | |                                                       | 
| 281 | 
C/\  | | | |<A HREF=vdb/names/NV.htm target=codeBrowserWindow>CALC_PHI_HYD</A>       :: Integrate the hydrostatic relation. | 
| 282 | 
C/\  | | | |<A HREF=vdb/names/NW.htm target=codeBrowserWindow>MOM_FLUXFORM</A>       :: Flux form mom eqn. package ( see | 
| 283 | 
C/\  | | | |                       pkg/mom_fluxform ). | 
| 284 | 
C/\  | | | |<A HREF=vdb/names/NX.htm target=codeBrowserWindow>MOM_VECINV</A>         :: Vector invariant form mom eqn. package ( see | 
| 285 | 
C/\  | | | |                       pkg/mom_vecinv   ). | 
| 286 | 
C/\  | | | |<A HREF=vdb/names/NY.htm target=codeBrowserWindow>TIMESTEP</A>           :: Step momentum fields forward in time | 
| 287 | 
C/\  | | | |<A HREF=vdb/names/NZ.htm target=codeBrowserWindow>OBCS_APPLY_UV</A>      :: Open bndy. package (see pkg/obcs ). | 
| 288 | 
C/\  | | | | | 
| 289 | 
C/\  | | | |<A HREF=vdb/names/NN.htm target=codeBrowserWindow>IMPLDIFF</A>           :: Solve vertical implicit diffusion equation. | 
| 290 | 
C/\  | | | |<A HREF=vdb/names/NZ.htm target=codeBrowserWindow>OBCS_APPLY_UV</A>      :: Open bndy. package (see pkg/obcs ). | 
| 291 | 
C/\  | | | | | 
| 292 | 
C/\  | | | |<A HREF=vdb/names/O2.htm target=codeBrowserWindow>TIMEAVE_CUMUL_1T</A>   :: Time averaging package ( see pkg/timeave ). | 
| 293 | 
C/\  | | | |-TIMEAVE_CUMUATE    :: Time averaging package ( see pkg/timeave ). | 
| 294 | 
C/\  | | | |<A HREF=vdb/names/O4.htm target=codeBrowserWindow>DEBUG_STATS_RL</A>     :: Quick debug package ( see pkg/debug ). | 
| 295 | 
C/\  | | | | 
| 296 | 
C/\  | | |<A HREF=vdb/names/O5.htm target=codeBrowserWindow>CALC_GW</A>        :: vert. momentum tendency terms ( NH, QH only ). | 
| 297 | 
C/\  | | | | 
| 298 | 
C/\  | | |<A HREF=vdb/names/M5.htm target=codeBrowserWindow>UPDATE_SURF_DR</A> :: Update the surface-level thickness fraction. | 
| 299 | 
C/\  | | | | 
| 300 | 
C/\  | | |<A HREF=vdb/names/M6.htm target=codeBrowserWindow>UPDATE_CG2D</A>    :: Update 2d conjugate grad. for Free-Surf. | 
| 301 | 
C/\  | | | | 
| 302 | 
C/\  | | |<A HREF=vdb/names/O8.htm target=codeBrowserWindow>SOLVE_FOR_PRESSURE</A>           :: Find surface pressure. | 
| 303 | 
C/\  | | | |<A HREF=vdb/names/O9.htm target=codeBrowserWindow>CALC_DIV_GHAT</A>     :: Form the RHS of the surface pressure eqn. | 
| 304 | 
C/\  | | | |<A HREF=vdb/names/OA.htm target=codeBrowserWindow>CG2D</A>              :: Two-dim pre-con. conjugate-gradient. | 
| 305 | 
C/\  | | | |<A HREF=vdb/names/OB.htm target=codeBrowserWindow>CG3D</A>              :: Three-dim pre-con. conjugate-gradient solver. | 
| 306 | 
C/\  | | | | 
| 307 | 
C/\  | | |<A HREF=vdb/names/LF.htm target=codeBrowserWindow>THE_CORRECTION_STEP</A>          :: Step forward to next time step. | 
| 308 | 
C/\  | | | | | 
| 309 | 
C/\  | | | |<A HREF=vdb/names/LG.htm target=codeBrowserWindow>CALC_GRAD_PHI_SURF</A> :: Return DDx and DDy of surface pressure | 
| 310 | 
C/\  | | | |<A HREF=vdb/names/LH.htm target=codeBrowserWindow>CORRECTION_STEP</A>    :: Pressure correction to momentum | 
| 311 | 
C/\  | | | |<A HREF=vdb/names/LI.htm target=codeBrowserWindow>CYCLE_TRACER</A>       :: Move tracers forward in time. | 
| 312 | 
C/\  | | | |-OBCS_APPLY         :: Open bndy package. see pkg/obcs | 
| 313 | 
C/\  | | | |-SHAP_FILT_APPLY    :: Shapiro filter package. see pkg/shap_filt | 
| 314 | 
C/\  | | | |-ZONAL_FILT_APPLY   :: FFT filter package. see pkg/zonal_filt | 
| 315 | 
C/\  | | | |<A HREF=vdb/names/LM.htm target=codeBrowserWindow>CONVECTIVE_ADJUSTMENT</A> :: Control static instability mixing. | 
| 316 | 
C/\  | | | | |<A HREF=vdb/names/LN.htm target=codeBrowserWindow>FIND_RHO</A>  :: Find adjacent densities. | 
| 317 | 
C/\  | | | | |<A HREF=vdb/names/LO.htm target=codeBrowserWindow>CONVECT</A>   :: Mix static instability. | 
| 318 | 
C/\  | | | | |<A HREF=vdb/names/LP.htm target=codeBrowserWindow>TIMEAVE_CUMULATE</A> :: Update convection statistics. | 
| 319 | 
C/\  | | | |  | 
| 320 | 
C/\  | | | |<A HREF=vdb/names/LQ.htm target=codeBrowserWindow>CALC_EXACT_ETA</A>        :: Change SSH to flow divergence.      | 
| 321 | 
C/\  | | | | 
| 322 | 
C/\  | | |<A HREF=vdb/names/OO.htm target=codeBrowserWindow>DO_FIELDS_BLOCKING_EXCHANGES</A> :: Sync up overlap regions. | 
| 323 | 
C/\  | | | |-EXCH                                                    | 
| 324 | 
C/\  | | | | 
| 325 | 
C/\  | | |<A HREF=vdb/names/OP.htm target=codeBrowserWindow>FLT_MAIN</A>         :: Float package ( pkg/flt ). | 
| 326 | 
C/\  | | | | 
| 327 | 
C/\  | | |<A HREF=vdb/names/MC.htm target=codeBrowserWindow>MONITOR</A>          :: Monitor package ( pkg/monitor ). | 
| 328 | 
C/\  | | | | 
| 329 | 
C/\  | | |<A HREF=vdb/names/OR.htm target=codeBrowserWindow>DO_THE_MODEL_IO</A>  :: Standard diagnostic I/O. | 
| 330 | 
C/\  | | | |<A HREF=vdb/names/M9.htm target=codeBrowserWindow>WRITE_STATE</A>    :: Core state I/O | 
| 331 | 
C/\  | | | |<A HREF=vdb/names/OT.htm target=codeBrowserWindow>TIMEAVE_STATV_WRITE</A> :: Time averages. see pkg/timeave | 
| 332 | 
C/\  | | | |<A HREF=vdb/names/OU.htm target=codeBrowserWindow>AIM_WRITE_DIAGS</A>     :: Intermed. atmos diags. see pkg/aim | 
| 333 | 
C/\  | | | |<A HREF=vdb/names/OV.htm target=codeBrowserWindow>GMREDI_DIAGS</A>        :: GM diags. see pkg/gmredi | 
| 334 | 
C/\  | | | |<A HREF=vdb/names/OW.htm target=codeBrowserWindow>KPP_DO_DIAGS</A>        :: KPP diags. see pkg/kpp | 
| 335 | 
C/\  | | | | 
| 336 | 
C/\  | | |<A HREF=vdb/names/OX.htm target=codeBrowserWindow>WRITE_CHECKPOINT</A> :: Do I/O for restart files. | 
| 337 | 
C/\  | | | 
| 338 | 
C/\  | |<A HREF=vdb/names/OY.htm target=codeBrowserWindow>COST_TILE</A>        :: Cost function package. ( see pkg/cost ) | 
| 339 | 
C<===|=| | 
| 340 | 
C<===|=| ************************** | 
| 341 | 
C<===|=| END MAIN TIMESTEPPING LOOP | 
| 342 | 
C<===|=| ************************** | 
| 343 | 
C<===|=| | 
| 344 | 
C    | |<A HREF=vdb/names/OZ.htm target=codeBrowserWindow>COST_FINAL</A>       :: Cost function package. ( see pkg/cost ) | 
| 345 | 
C    | | 
| 346 | 
C    |<A HREF=vdb/names/OX.htm target=codeBrowserWindow>WRITE_CHECKPOINT</A> :: Final state storage, for restart. | 
| 347 | 
C    | | 
| 348 | 
C    |<A HREF=vdb/names/P1.htm target=codeBrowserWindow>TIMER_PRINTALL</A> :: Computational timing summary | 
| 349 | 
C    | | 
| 350 | 
C    |<A HREF=vdb/names/P2.htm target=codeBrowserWindow>COMM_STATS</A>     :: Summarise inter-proc and inter-thread communication | 
| 351 | 
C                     :: events. | 
| 352 | 
</PRE> | 
| 353 | 
</BODY> | 
| 354 | 
</HTML> |