MOM6
|
Initializes fixed aspects of the related to its vertical coordinate.
Functions/Subroutines | |
subroutine, public | mom_initialize_coord (GV, PF, write_geom, output_dir, tv, max_depth) |
MOM_initialize_coord sets up time-invariant quantities related to MOM6's vertical coordinate. More... | |
subroutine | set_coord_from_gprime (Rlay, g_prime, GV, param_file) |
subroutine | set_coord_from_layer_density (Rlay, g_prime, GV, param_file) |
subroutine | set_coord_from_ts_ref (Rlay, g_prime, GV, param_file, eqn_of_state, P_Ref) |
subroutine | set_coord_from_ts_profile (Rlay, g_prime, GV, param_file, eqn_of_state, P_Ref) |
subroutine | set_coord_from_ts_range (Rlay, g_prime, GV, param_file, eqn_of_state, P_Ref) |
subroutine | set_coord_from_file (Rlay, g_prime, GV, param_file) |
subroutine | set_coord_linear (Rlay, g_prime, GV, param_file) |
subroutine | write_vertgrid_file (GV, param_file, directory) |
This subroutine writes out a file containing any available data related to the vertical grid used by the MOM ocean model. More... | |
Variables | |
character(len=40) | mdl = "MOM_coord_initialization" |
subroutine, public mom_coord_initialization::mom_initialize_coord | ( | type(verticalgrid_type), intent(inout) | GV, |
type(param_file_type), intent(in) | PF, | ||
logical, intent(in) | write_geom, | ||
character(len=*), intent(in) | output_dir, | ||
type(thermo_var_ptrs), intent(inout) | tv, | ||
real, intent(in) | max_depth | ||
) |
MOM_initialize_coord sets up time-invariant quantities related to MOM6's vertical coordinate.
[in,out] | gv | Ocean vertical grid structure. |
[in] | pf | A structure indicating the open file to parse for model parameter values. |
[in] | write_geom | If true, write grid geometry files. |
[in] | output_dir | The directory into which to write files. |
[in,out] | tv | The thermodynamic variable structure. |
[in] | max_depth | The ocean's maximum depth, in m. |
Definition at line 35 of file MOM_coord_initialization.F90.
References bfb_initialization::bfb_set_coord(), mom_error_handler::calltree_enter(), mom_error_handler::calltree_leave(), mdl, set_coord_from_file(), set_coord_from_gprime(), set_coord_from_layer_density(), set_coord_from_ts_profile(), set_coord_from_ts_range(), set_coord_from_ts_ref(), set_coord_linear(), mom_verticalgrid::setverticalgridaxes(), user_initialization::user_set_coord(), and write_vertgrid_file().
Referenced by mom::initialize_mom().
|
private |
[out] | rlay | The layers' target coordinate values (potential density). |
[out] | g_prime | The reduced gravity across the interfaces, in m s-2. |
[in] | gv | The ocean's vertical grid structure. |
[in] | param_file | A structure to parse for run-time parameters |
Definition at line 420 of file MOM_coord_initialization.F90.
References mom_error_handler::calltree_enter(), and mom_error_handler::calltree_leave().
Referenced by mom_initialize_coord().
|
private |
[out] | rlay | The layers' target coordinate values (potential density). |
[out] | g_prime | A structure indicating the open file to parse for model parameter values. |
[in] | gv | The ocean's vertical grid structure. |
[in] | param_file | A structure to parse for run-time parameters |
Definition at line 118 of file MOM_coord_initialization.F90.
References mom_error_handler::calltree_enter(), and mom_error_handler::calltree_leave().
Referenced by mom_initialize_coord().
|
private |
[out] | rlay | The layers' target coordinate values (potential density). |
[out] | g_prime | The reduced gravity across the interfaces, in m s-2. |
[in] | gv | The ocean's vertical grid structure |
[in] | param_file | A structure to parse for run-time parameters |
Definition at line 159 of file MOM_coord_initialization.F90.
References mom_error_handler::calltree_enter(), and mom_error_handler::calltree_leave().
Referenced by mom_initialize_coord().
|
private |
[out] | rlay | The layers' target coordinate values (potential density). |
[out] | g_prime | The reduced gravity across the interfaces, in m s-2. |
[in] | gv | The ocean's vertical grid structure. |
[in] | param_file | A structure to parse for run-time parameters |
eqn_of_state | integer that selects equation of state. | |
[in] | p_ref | The coordinate-density reference pressure in Pa. |
Definition at line 270 of file MOM_coord_initialization.F90.
References mom_error_handler::calltree_enter(), and mom_error_handler::calltree_leave().
Referenced by mom_initialize_coord().
|
private |
[out] | rlay | The layers' target coordinate values (potential density). |
[out] | g_prime | The reduced gravity across the interfaces, in m s-2. |
[in] | gv | The ocean's vertical grid structure. |
[in] | param_file | A structure to parse for run-time parameters |
eqn_of_state | integer that selects equation of state | |
[in] | p_ref | The coordinate-density reference pressure in Pa. |
Definition at line 328 of file MOM_coord_initialization.F90.
References mom_error_handler::calltree_enter(), and mom_error_handler::calltree_leave().
Referenced by mom_initialize_coord().
|
private |
[out] | rlay | The layers' target coordinate values (potential density). |
[out] | g_prime | the reduced gravity across the interfaces, in m s-2. |
[in] | gv | The ocean's vertical grid structure. |
[in] | param_file | A structure to parse for run-time parameters |
eqn_of_state | integer selecting the equation of state. | |
[in] | p_ref | The coordinate-density reference pressure in Pa. |
Definition at line 209 of file MOM_coord_initialization.F90.
References mom_error_handler::calltree_enter(), and mom_error_handler::calltree_leave().
Referenced by mom_initialize_coord().
|
private |
[out] | rlay | The layers' target coordinate values (potential density). |
[out] | g_prime | The reduced gravity across the interfaces, in m s-2. |
[in] | gv | The ocean's vertical grid structure. |
[in] | param_file | A structure to parse for run-time parameters |
Definition at line 474 of file MOM_coord_initialization.F90.
References mom_error_handler::calltree_enter(), and mom_error_handler::calltree_leave().
Referenced by mom_initialize_coord().
|
private |
This subroutine writes out a file containing any available data related to the vertical grid used by the MOM ocean model.
[in] | gv | The ocean's vertical grid structure |
[in] | param_file | A structure to parse for run-time parameters |
[in] | directory | The directory into which to place the file. |
Definition at line 528 of file MOM_coord_initialization.F90.
References mom_io::var_desc().
Referenced by mom_initialize_coord().
|
private |
Definition at line 27 of file MOM_coord_initialization.F90.
Referenced by mom_initialize_coord().