MOM6
MOM_grid.F90 File Reference
#include <MOM_memory.h>
#include "version_variable.h"
Include dependency graph for MOM_grid.F90:

Go to the source code of this file.

Data Types

type  mom_grid::ocean_grid_type
 Ocean grid type. See mom_grid for details. More...
 

Modules

module  mom_grid
 Provides the ocean grid type.
 

Functions/Subroutines

subroutine, public mom_grid::mom_grid_init (G, param_file, US, HI, global_indexing, bathymetry_at_vel)
 MOM_grid_init initializes the ocean grid array sizes and grid memory. More...
 
subroutine, public mom_grid::rescale_grid_bathymetry (G, m_in_new_units)
 rescale_grid_bathymetry permits a change in the internal units for the bathymetry on the grid, both rescaling the depths and recording the new internal units. More...
 
subroutine, public mom_grid::set_derived_metrics (G, US)
 set_derived_metrics calculates metric terms that are derived from other metrics. More...
 
real function mom_grid::adcroft_reciprocal (val)
 Adcroft_reciprocal(x) = 1/x for |x|>0 or 0 for x=0. More...
 
logical function, public mom_grid::ispointincell (G, i, j, x, y)
 Returns true if the coordinates (x,y) are within the h-cell (i,j) More...
 
subroutine, public mom_grid::set_first_direction (G, y_first)
 Store an integer indicating which direction to work on first. More...
 
subroutine, public mom_grid::get_global_grid_size (G, niglobal, njglobal)
 Return global shape of horizontal grid. More...
 
subroutine mom_grid::allocate_metrics (G)
 Allocate memory used by the ocean_grid_type and related structures. More...
 
subroutine, public mom_grid::mom_grid_end (G)
 Release memory used by the ocean_grid_type and related structures. More...