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.

rotate_dyngrid()

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

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 mom_dyn_horgrid::set_derived_dyn_horgrid

subroutine mom_transcribe_grid/rotate_dyngrid(G_in, G, US, turns)
Parameters
  • g_in :: [in] Common horizontal grid type

  • g :: [inout] Ocean grid type

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

  • turns :: [in] Number of quarter turns

Call to

mom_dyn_horgrid::set_derived_dyn_horgrid