DOME_initialization module reference

Configures the model for the "DOME" experiment. DOME = Dynamics of Overflows and Mixing Experiment

Functions/Subroutines

DOME_initialize_topography

This subroutine sets up the DOME topography

DOME_initialize_thickness

This subroutine initializes layer thicknesses for the DOME experiment

DOME_initialize_sponges

This subroutine sets the inverse restoration time (Idamp), and the values toward which the interface heights and an arbitrary number of tracers will be restored within the sponges for the DOME configuration. !

register_DOME_OBC

Add DOME to the OBC registry and set up some variables that will be used to guide code setting up the restart fields related to the OBCs.

DOME_set_OBC_data

This subroutine sets the properties of flow at open boundary conditions. This particular example is for the DOME inflow describe in Legg et al. 2006.

Functions/Subroutine Documentation

subroutine DOME_initialize_topography(D, G, param_file, max_depth, US)

This subroutine sets up the DOME topography

Parameters
  • G [in]

    The dynamic horizontal grid type

  • D [out]

    Ocean bottom depth [Z ~> m]

  • param_file [in]

    Parameter file structure

  • max_depth [in]

    Maximum model depth [Z ~> m]

  • US [in]

    A dimensional unit scaling type

Callees call graph
Callees of dome_initialization::dome_initialize_topography calls cluster_dome_initialization DOME_initialization cluster_mom_error_handler MOM_error_handler cluster_mom_file_parser MOM_file_parser dome_initialization::dome_initialize_topography DOME_initialize_topography mom_error_handler::mom_error MOM_error dome_initialization::dome_initialize_topography->mom_error_handler::mom_error mom_error_handler::mom_mesg MOM_mesg dome_initialization::dome_initialize_topography->mom_error_handler::mom_mesg mom_file_parser::interface::get_param get_param (interface) dome_initialization::dome_initialize_topography->mom_file_parser::interface::get_param mom_file_parser::interface::log_version log_version (interface) dome_initialization::dome_initialize_topography->mom_file_parser::interface::log_version
Text view
Callers call graph
Callers of dome_initialization::dome_initialize_topography calls cluster_dome_initialization DOME_initialization cluster_mom_fixed_initialization MOM_fixed_initialization dome_initialization::dome_initialize_topography DOME_initialize_topography mom_fixed_initialization::mom_initialize_topography MOM_initialize_topography mom_fixed_initialization::mom_initialize_topography->dome_initialization::dome_initialize_topography
Text view
subroutine DOME_initialize_thickness(h, depth_tot, G, GV, param_file, just_read)

This subroutine initializes layer thicknesses for the DOME experiment

Parameters
  • G [in]

    The ocean's grid structure.

  • GV [in]

    The ocean's vertical grid structure.

  • h [out]

    The thickness that is being initialized [Z ~> m]

  • depth_tot [in]

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

  • param_file [in]

    A structure indicating the open file to parse for model parameter values.

  • just_read [in]

    If true, this call will only read parameters without changing h.

Callees call graph
Callees of dome_initialization::dome_initialize_thickness calls cluster_dome_initialization DOME_initialization cluster_mom_error_handler MOM_error_handler dome_initialization::dome_initialize_thickness DOME_initialize_thickness mom_error_handler::mom_mesg MOM_mesg dome_initialization::dome_initialize_thickness->mom_error_handler::mom_mesg
Text view
Callers call graph
Callers of dome_initialization::dome_initialize_thickness calls cluster_dome_initialization DOME_initialization cluster_mom_state_initialization MOM_state_initialization dome_initialization::dome_initialize_thickness DOME_initialize_thickness mom_state_initialization::mom_initialize_state MOM_initialize_state mom_state_initialization::mom_initialize_state->dome_initialization::dome_initialize_thickness
Text view
subroutine DOME_initialize_sponges(G, GV, US, tv, depth_tot, PF, CSp)

This subroutine sets the inverse restoration time (Idamp), and the values toward which the interface heights and an arbitrary number of tracers will be restored within the sponges for the DOME configuration. !

Parameters
  • G [in]

    The ocean's grid structure.

  • GV [in]

    The ocean's vertical grid structure.

  • US [in]

    A dimensional unit scaling type

  • tv [in]

    A structure containing any available thermodynamic fields, including potential temperature and salinity or mixed layer density.

  • depth_tot [in]

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

  • PF [in]

    A structure indicating the open file to parse for model parameter values.

  • CSp

    A pointer that is set to point to the control structure for this module.

Callees call graph
Callees of dome_initialization::dome_initialize_sponges calls cluster_dome_initialization DOME_initialization cluster_mom_error_handler MOM_error_handler cluster_mom_file_parser MOM_file_parser cluster_mom_sponge MOM_sponge dome_initialization::dome_initialize_sponges DOME_initialize_sponges mom_error_handler::mom_error MOM_error dome_initialization::dome_initialize_sponges->mom_error_handler::mom_error mom_file_parser::interface::get_param get_param (interface) dome_initialization::dome_initialize_sponges->mom_file_parser::interface::get_param mom_sponge::initialize_sponge initialize_sponge dome_initialization::dome_initialize_sponges->mom_sponge::initialize_sponge mom_sponge::set_up_sponge_field set_up_sponge_field dome_initialization::dome_initialize_sponges->mom_sponge::set_up_sponge_field
Text view
Callers call graph
Callers of dome_initialization::dome_initialize_sponges calls cluster_dome_initialization DOME_initialization cluster_mom_state_initialization MOM_state_initialization dome_initialization::dome_initialize_sponges DOME_initialize_sponges mom_state_initialization::mom_initialize_state MOM_initialize_state mom_state_initialization::mom_initialize_state->dome_initialization::dome_initialize_sponges
Text view
subroutine register_DOME_OBC(param_file, US, OBC, tr_Reg)

Add DOME to the OBC registry and set up some variables that will be used to guide code setting up the restart fields related to the OBCs.

Parameters
  • param_file [in]

    parameter file.

  • US [in]

    A dimensional unit scaling type

  • OBC

    OBC registry.

  • tr_Reg

    Tracer registry.

Callees call graph
Callees of dome_initialization::register_dome_obc calls cluster_dome_initialization DOME_initialization cluster_mom_error_handler MOM_error_handler dome_initialization::register_dome_obc register_DOME_OBC mom_error_handler::mom_error MOM_error dome_initialization::register_dome_obc->mom_error_handler::mom_error
Text view
Callers call graph
Callers of dome_initialization::register_dome_obc calls cluster_dome_initialization DOME_initialization cluster_mom_boundary_update MOM_boundary_update dome_initialization::register_dome_obc register_DOME_OBC mom_boundary_update::call_obc_register call_OBC_register mom_boundary_update::call_obc_register->dome_initialization::register_dome_obc
Text view
subroutine DOME_set_OBC_data(OBC, tv, G, GV, US, PF, tr_Reg)

This subroutine sets the properties of flow at open boundary conditions. This particular example is for the DOME inflow describe in Legg et al. 2006.

Parameters
  • OBC

    This open boundary condition type specifies whether, where, and what open boundary conditions are used.

  • tv [in]

    A structure containing pointers to any available thermodynamic fields, including potential temperature and salinity or mixed layer density. Absent fields have NULL ptrs.

  • G [in]

    The ocean's grid structure.

  • GV [in]

    The ocean's vertical grid structure.

  • US [in]

    A dimensional unit scaling type

  • PF [in]

    A structure indicating the open file to parse for model parameter values.

  • tr_Reg

    Tracer registry.

Callees call graph
Callees of dome_initialization::dome_set_obc_data calls cluster_dome_initialization DOME_initialization cluster_mom_eos MOM_EOS cluster_mom_error_handler MOM_error_handler cluster_mom_file_parser MOM_file_parser cluster_mom_open_boundary MOM_open_boundary cluster_mom_tracer_registry MOM_tracer_registry dome_initialization::dome_set_obc_data DOME_set_OBC_data mom_eos::interface::calculate_density calculate_density (interface) dome_initialization::dome_set_obc_data->mom_eos::interface::calculate_density mom_eos::interface::calculate_density_derivs calculate_density_derivs (interface) dome_initialization::dome_set_obc_data->mom_eos::interface::calculate_density_derivs mom_error_handler::mom_error MOM_error dome_initialization::dome_set_obc_data->mom_error_handler::mom_error mom_file_parser::interface::get_param get_param (interface) dome_initialization::dome_set_obc_data->mom_file_parser::interface::get_param mom_open_boundary::register_segment_tracer register_segment_tracer dome_initialization::dome_set_obc_data->mom_open_boundary::register_segment_tracer mom_tracer_registry::tracer_name_lookup tracer_name_lookup dome_initialization::dome_set_obc_data->mom_tracer_registry::tracer_name_lookup
Text view
Callers call graph
Callers of dome_initialization::dome_set_obc_data calls cluster_dome_initialization DOME_initialization cluster_mom_state_initialization MOM_state_initialization dome_initialization::dome_set_obc_data DOME_set_OBC_data mom_state_initialization::mom_initialize_obcs MOM_initialize_OBCs mom_state_initialization::mom_initialize_obcs->dome_initialization::dome_set_obc_data
Text view
API generated with Flint · Rendered from reStructuredText