Home Contact Us Site Map  
 
       
    next up previous contents
Next: 2.10.5 Horizontal grid Up: 2.10 Spatial discretization of Previous: 2.10.3 C grid staggering   Contents

2.10.4 Grid initialization and data

Initialization of grid data is controlled by subroutine INI_GRID which in calls INI_VERTICAL_GRID to initialize the vertical grid, and then either of INI_CARTESIAN_GRID, INI_SPHERICAL_POLAR_GRID or INI_CURVILINEAR_GRID to initialize the horizontal grid for cartesian, spherical-polar or curvilinear coordinates respectively.

The reciprocals of all grid quantities are pre-calculated and this is done in subroutine INI_MASKS_ETC which is called later by subroutine INITIALIZE_FIXED.

All grid descriptors are global arrays and stored in common blocks in GRID.h and a generally declared as _RS.

\fbox{ \begin{minipage}{4.75in}
{\em S/R INI\_GRID} ({\em model/src/ini\_grid.F}...
...rc/ini\_masks\_etc.F})
\par
grid data: ({\em model/inc/GRID.h})
\end{minipage} }



mitgcm-support@dev.mitgcm.org
Copyright © 2002 Massachusetts Institute of Technology