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. |
Detailed Description¶
Initialization for the “bench mark” configuration.
Function/Subroutine Documentation¶
-
subroutine
benchmark_initialization/
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 in m or [Z ~> m] if US is present
param_file :: [in] Parameter file structure
max_depth :: [in] Maximum model depth in the units of D
us :: [in] A dimensional unit scaling type
- Call to
- Called from
-
subroutine
benchmark_initialization/
benchmark_initialize_thickness
(h, G, GV, US, param_file, eqn_of_state, P_Ref, just_read_params)¶ 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 [H ~> m or kg m-2].
param_file :: [in] A structure indicating the open file to parse for model parameter values.
eqn_of_state :: Equation of state structure
p_ref :: [in] The coordinate-density reference pressure [R L2 T-2 ~> Pa].
just_read_params :: [in] If present and true, this call will only read parameters without changing h.
- Call to
-
subroutine
benchmark_initialization/
benchmark_init_temperature_salinity
(T, S, G, GV, US, param_file, eqn_of_state, P_Ref, just_read_params)¶ 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.
s :: [out] The salinity that is being initialized.
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 :: Equation of state structure
p_ref :: [in] The coordinate-density reference pressure [R L2 T-2 ~> Pa].
just_read_params :: [in] If present and true, this call will only read parameters without changing h.
- Called from