mom_transcribe_grid module reference

Module with routines for copying information from a shared dynamic horizontal grid to an ocean-specific horizontal grid and the reverse.

More…

Functions/Subroutines

copy_dyngrid_to_mom_grid()

Copies information from a dynamic (shared) horizontal grid type into an ocean_grid_type.

copy_mom_grid_to_dyngrid()

Copies information from an ocean_grid_type into a dynamic (shared) horizontal grid type.

Detailed Description

Module with routines for copying information from a shared dynamic horizontal grid to an ocean-specific horizontal grid and the reverse.

Function/Subroutine Documentation

subroutine mom_transcribe_grid/copy_dyngrid_to_mom_grid(dG, oG, US)

Copies information from a dynamic (shared) horizontal grid type into an ocean_grid_type. There may also be a change in the reference height for topography between the two grids.

Parameters:
  • dg :: [in] Common horizontal grid type

  • og :: [inout] Ocean grid type

  • us :: [in] A dimensional unit scaling type

Call to:

mom_error_handler::mom_error mom_grid::set_derived_metrics

Called from:

mom_oda_driver_mod::init_oda mom::initialize_mom

subroutine mom_transcribe_grid/copy_mom_grid_to_dyngrid(oG, dG, US)

Copies information from an ocean_grid_type into a dynamic (shared) horizontal grid type. There may also be a change in the reference height for topography between the two grids.

Parameters:
  • og :: [in] Ocean grid type

  • dg :: [inout] Common horizontal grid type

  • us :: [in] A dimensional unit scaling type

Call to:

mom_error_handler::mom_error

Called from:

mom::initialize_mom