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, HI, global_indexing, bathymetry_at_vel)
 MOM_grid_init initializes the ocean grid array sizes and grid memory. More...
 
subroutine, public mom_grid::set_derived_metrics (G)
 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)
 
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...