BFB_initialization module reference

Initialization of the boundary-forced-basing configuration

Functions/Subroutines

BFB_set_coord

This subroutine specifies the vertical coordinate in terms of temperature at the surface and at the bottom. This case is set up in such a way that the temperature of the topmost layer is equal to the SST at the southern edge of the domain. The temperatures are then converted to densities of the top and bottom layers and linearly interpolated for the intermediate layers.

BFB_initialize_sponges_southonly

This subroutine sets up the sponges for the southern boundary of the domain. Maximum damping occurs within 2 degrees lat of the boundary. The damping linearly decreases northward over the next 2 degrees.

Functions/Subroutine Documentation

subroutine BFB_set_coord(Rlay, g_prime, GV, US, param_file)

This subroutine specifies the vertical coordinate in terms of temperature at the surface and at the bottom. This case is set up in such a way that the temperature of the topmost layer is equal to the SST at the southern edge of the domain. The temperatures are then converted to densities of the top and bottom layers and linearly interpolated for the intermediate layers.

Parameters
  • GV [in]

    The ocean's vertical grid structure

  • Rlay [out]

    Layer potential density [R ~> kg m-3].

  • g_prime [out]

    The reduced gravity at each interface [L2 Z-1 T-2 ~> m s-2].

  • US [in]

    A dimensional unit scaling type

  • param_file [in]

    A structure to parse for run-time parameters

Callees call graph
Callees of bfb_initialization::bfb_set_coord calls cluster_bfb_initialization BFB_initialization cluster_mom_file_parser MOM_file_parser bfb_initialization::bfb_set_coord BFB_set_coord mom_file_parser::interface::get_param get_param (interface) bfb_initialization::bfb_set_coord->mom_file_parser::interface::get_param mom_file_parser::interface::log_version log_version (interface) bfb_initialization::bfb_set_coord->mom_file_parser::interface::log_version
Text view
Callers call graph
Callers of bfb_initialization::bfb_set_coord calls cluster_bfb_initialization BFB_initialization cluster_mom_coord_initialization MOM_coord_initialization bfb_initialization::bfb_set_coord BFB_set_coord mom_coord_initialization::mom_initialize_coord MOM_initialize_coord mom_coord_initialization::mom_initialize_coord->bfb_initialization::bfb_set_coord
Text view
subroutine BFB_initialize_sponges_southonly(G, GV, US, use_temperature, tv, depth_tot, param_file, CSp, h)

This subroutine sets up the sponges for the southern boundary of the domain. Maximum damping occurs within 2 degrees lat of the boundary. The damping linearly decreases northward over the next 2 degrees.

Parameters
  • G [in]

    The ocean's grid structure

  • GV [in]

    The ocean's vertical grid structure.

  • US [in]

    A dimensional unit scaling type

  • use_temperature [in]

    If true, temperature and salinity are used as state variables.

  • tv [in]

    A structure pointing to various thermodynamic variables

  • depth_tot [in]

    The nominal total depth of the ocean [Z ~> m]

  • param_file [in]

    A structure to parse for run-time parameters

  • CSp

    A pointer to the sponge control structure

  • h [in]

    Layer thicknesses [H ~> m or kg m-2]

Callees call graph
Callees of bfb_initialization::bfb_initialize_sponges_southonly calls cluster_bfb_initialization BFB_initialization cluster_mom_sponge MOM_sponge bfb_initialization::bfb_initialize_sponges_southonly BFB_initialize_sponges_southonly mom_sponge::initialize_sponge initialize_sponge bfb_initialization::bfb_initialize_sponges_southonly->mom_sponge::initialize_sponge
Text view
Callers call graph
Callers of bfb_initialization::bfb_initialize_sponges_southonly calls cluster_bfb_initialization BFB_initialization cluster_mom_state_initialization MOM_state_initialization bfb_initialization::bfb_initialize_sponges_southonly BFB_initialize_sponges_southonly mom_state_initialization::mom_initialize_state MOM_initialize_state mom_state_initialization::mom_initialize_state->bfb_initialization::bfb_initialize_sponges_southonly
Text view
API generated with Flint · Rendered from reStructuredText