MOM6
|
Configures the model for the geostrophic adjustment test case.
Functions/Subroutines | |
subroutine, public | adjustment_initialize_thickness (h, G, GV, US, param_file, just_read_params) |
Initializes the layer thicknesses in the adjustment test case. More... | |
subroutine, public | adjustment_initialize_temperature_salinity (T, S, h, G, GV, param_file, eqn_of_state, just_read_params) |
Initialization of temperature and salinity in the adjustment test case. More... | |
Variables | |
character(len=40) | mdl = "adjustment_initialization" |
This module's name. More... | |
subroutine, public adjustment_initialization::adjustment_initialize_temperature_salinity | ( | real, dimension(szi_(g),szj_(g), szk_(g)), intent(out) | T, |
real, dimension(szi_(g),szj_(g), szk_(g)), intent(out) | S, | ||
real, dimension(szi_(g),szj_(g), szk_(g)), intent(in) | h, | ||
type(ocean_grid_type), intent(in) | G, | ||
type(verticalgrid_type), intent(in) | GV, | ||
type(param_file_type), intent(in) | param_file, | ||
type(eos_type), pointer | eqn_of_state, | ||
logical, intent(in), optional | just_read_params | ||
) |
Initialization of temperature and salinity in the adjustment test case.
[in] | g | The ocean's grid structure. |
[in] | gv | The ocean's vertical grid structure. |
[out] | t | The temperature that is being initialized. |
[out] | s | The salinity that is being initialized. |
[in] | h | The model thicknesses [H ~> m or kg m-2]. |
[in] | param_file | A structure indicating the open file to parse for model parameter values. |
eqn_of_state | Equation of state. | |
[in] | just_read_params | If present and true, this call will only read parameters without changing T & S. |
Definition at line 192 of file adjustment_initialization.F90.
References mdl, mom_error_handler::mom_error(), regrid_consts::regridding_rho, and regrid_consts::regridding_sigma.
Referenced by mom_state_initialization::mom_initialize_state().
subroutine, public adjustment_initialization::adjustment_initialize_thickness | ( | real, dimension(szi_(g),szj_(g),szk_(gv)), intent(out) | h, |
type(ocean_grid_type), intent(in) | G, | ||
type(verticalgrid_type), intent(in) | GV, | ||
type(unit_scale_type), intent(in) | US, | ||
type(param_file_type), intent(in) | param_file, | ||
logical, intent(in), optional | just_read_params | ||
) |
Initializes the layer thicknesses in the adjustment test case.
[in] | g | The ocean's grid structure. |
[in] | gv | The ocean's vertical grid structure. |
[in] | us | A dimensional unit scaling type |
[out] | h | The thickness that is being initialized [H ~> m or kg m-2]. |
[in] | param_file | A structure indicating the open file to parse for model parameter values. |
[in] | just_read_params | If present and true, this call will only read parameters without changing h. |
Definition at line 36 of file adjustment_initialization.F90.
References mdl, mom_error_handler::mom_error(), mom_error_handler::mom_mesg(), regrid_consts::regridding_rho, and regrid_consts::regridding_sigma.
|
private |
This module's name.
Definition at line 20 of file adjustment_initialization.F90.
Referenced by adjustment_initialize_temperature_salinity(), and adjustment_initialize_thickness().