benchmark_initialization module reference
Initialization for the "bench mark" configuration
Functions/Subroutines
This subroutine sets up the benchmark test case topography. |
|
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. |
|
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
Callers call graph
- 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
Text view
benchmark_initialization::benchmark_initialize_thickness → mom_eos::interface::calculate_density
benchmark_initialization::benchmark_initialize_thickness → mom_eos::interface::calculate_density_derivs
benchmark_initialization::benchmark_initialize_thickness → mom_error_handler::mom_mesg
benchmark_initialization::benchmark_initialize_thickness → mom_file_parser::interface::get_param
benchmark_initialization::benchmark_initialize_thickness → mom_file_parser::interface::log_version
Callers call graph
- 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
Text view
benchmark_initialization::benchmark_init_temperature_salinity → mom_eos::interface::calculate_density
benchmark_initialization::benchmark_init_temperature_salinity → mom_eos::interface::calculate_density_derivs
benchmark_initialization::benchmark_init_temperature_salinity → mom_file_parser::interface::get_param