benchmark_initialization module reference

Initialization for the "bench mark" configuration

Functions/Subroutines

benchmark_initialize_topography

This subroutine sets up the benchmark test case topography.

benchmark_initialize_thickness

Initializes layer thicknesses for the benchmark test case, by finding the depths of interfaces in a specified latitude-dependent temperature profile with an exponentially decaying thermocline on top of a linear stratification.

benchmark_init_temperature_salinity

Initializes layer temperatures and salinities for benchmark

Functions/Subroutine Documentation

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

This subroutine sets up the benchmark test case 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 benchmark_initialization::benchmark_initialize_topography calls cluster_benchmark_initialization benchmark_initialization cluster_mom_error_handler MOM_error_handler cluster_mom_file_parser MOM_file_parser benchmark_initialization::benchmark_initialize_topography benchmark_initialize_topography mom_error_handler::mom_mesg MOM_mesg benchmark_initialization::benchmark_initialize_topography->mom_error_handler::mom_mesg mom_file_parser::interface::get_param get_param (interface) benchmark_initialization::benchmark_initialize_topography->mom_file_parser::interface::get_param mom_file_parser::interface::log_version log_version (interface) benchmark_initialization::benchmark_initialize_topography->mom_file_parser::interface::log_version
Text view
Callers call graph
Callers of benchmark_initialization::benchmark_initialize_topography calls cluster_benchmark_initialization benchmark_initialization cluster_mom_fixed_initialization MOM_fixed_initialization benchmark_initialization::benchmark_initialize_topography benchmark_initialize_topography mom_fixed_initialization::mom_initialize_topography MOM_initialize_topography mom_fixed_initialization::mom_initialize_topography->benchmark_initialization::benchmark_initialize_topography
Text view
subroutine benchmark_initialize_thickness(h, depth_tot, G, GV, US, param_file, eqn_of_state, P_Ref, just_read)

Initializes layer thicknesses for the benchmark test case, by finding the depths of interfaces in a specified latitude-dependent temperature profile with an exponentially decaying thermocline on top of a linear stratification.

Parameters
  • G [in]

    The ocean's grid structure.

  • GV [in]

    The ocean's vertical grid structure.

  • US [in]

    A dimensional unit scaling type

  • 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.

  • eqn_of_state [in]

    Equation of state structure

  • P_Ref [in]

    The coordinate-density reference pressure [R L2 T-2 ~> Pa].

  • just_read [in]

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

Callees call graph
Callees of benchmark_initialization::benchmark_initialize_thickness calls cluster_benchmark_initialization benchmark_initialization cluster_mom_eos MOM_EOS cluster_mom_error_handler MOM_error_handler cluster_mom_file_parser MOM_file_parser benchmark_initialization::benchmark_initialize_thickness benchmark_initialize_thickness mom_eos::interface::calculate_density calculate_density (interface) benchmark_initialization::benchmark_initialize_thickness->mom_eos::interface::calculate_density mom_eos::interface::calculate_density_derivs calculate_density_derivs (interface) benchmark_initialization::benchmark_initialize_thickness->mom_eos::interface::calculate_density_derivs mom_error_handler::mom_mesg MOM_mesg benchmark_initialization::benchmark_initialize_thickness->mom_error_handler::mom_mesg mom_file_parser::interface::get_param get_param (interface) benchmark_initialization::benchmark_initialize_thickness->mom_file_parser::interface::get_param mom_file_parser::interface::log_version log_version (interface) benchmark_initialization::benchmark_initialize_thickness->mom_file_parser::interface::log_version
Text view
Callers call graph
Callers of benchmark_initialization::benchmark_initialize_thickness calls cluster_benchmark_initialization benchmark_initialization cluster_mom_state_initialization MOM_state_initialization benchmark_initialization::benchmark_initialize_thickness benchmark_initialize_thickness mom_state_initialization::mom_initialize_state MOM_initialize_state mom_state_initialization::mom_initialize_state->benchmark_initialization::benchmark_initialize_thickness
Text view
subroutine benchmark_init_temperature_salinity(T, S, G, GV, US, param_file, eqn_of_state, P_Ref, just_read)

Initializes layer temperatures and salinities for benchmark

Parameters
  • G [in]

    The ocean's grid structure

  • GV [in]

    The ocean's vertical grid structure

  • T [out]

    The potential temperature that is being initialized [C ~> degC]

  • S [out]

    The salinity that is being initialized [S ~> ppt]

  • US [in]

    A dimensional unit scaling type

  • param_file [in]

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

  • eqn_of_state [in]

    Equation of state structure

  • P_Ref [in]

    The coordinate-density reference pressure [R L2 T-2 ~> Pa]

  • just_read [in]

    If true, this call will only read parameters without changing T & S.

Callees call graph
Callees of benchmark_initialization::benchmark_init_temperature_salinity calls cluster_benchmark_initialization benchmark_initialization cluster_mom_eos MOM_EOS cluster_mom_file_parser MOM_file_parser benchmark_initialization::benchmark_init_temperature_salinity benchmark_init_temperature_salinity mom_eos::interface::calculate_density calculate_density (interface) benchmark_initialization::benchmark_init_temperature_salinity->mom_eos::interface::calculate_density mom_eos::interface::calculate_density_derivs calculate_density_derivs (interface) benchmark_initialization::benchmark_init_temperature_salinity->mom_eos::interface::calculate_density_derivs mom_file_parser::interface::get_param get_param (interface) benchmark_initialization::benchmark_init_temperature_salinity->mom_file_parser::interface::get_param
Text view
Callers call graph
Callers of benchmark_initialization::benchmark_init_temperature_salinity calls cluster_benchmark_initialization benchmark_initialization cluster_mom_state_initialization MOM_state_initialization benchmark_initialization::benchmark_init_temperature_salinity benchmark_init_temperature_salinity mom_state_initialization::mom_initialize_state MOM_initialize_state mom_state_initialization::mom_initialize_state->benchmark_initialization::benchmark_init_temperature_salinity
Text view
API generated with Flint · Rendered from reStructuredText