MOM6
|
Initialization for the "Neverland" configuration.
Functions/Subroutines | |
subroutine, public | neverland_initialize_topography (D, G, param_file, max_depth) |
This subroutine sets up the Neverland test case topography. More... | |
real function | cosbell (x, L) |
Returns the value of a cosine-bell function evaluated at x/L. More... | |
real function | spike (x, L) |
Returns the value of a sin-spike function evaluated at x/L. More... | |
subroutine, public | neverland_initialize_thickness (h, G, GV, US, param_file, eqn_of_state, P_ref) |
This subroutine initializes layer thicknesses for the Neverland 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. More... | |
|
private |
Returns the value of a cosine-bell function evaluated at x/L.
[in] | x | non-dimensional position |
[in] | l | non-dimensional width |
Definition at line 90 of file Neverland_initialization.F90.
Referenced by neverland_initialize_topography().
subroutine, public neverland_initialization::neverland_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, | ||
type(eos_type), pointer | eqn_of_state, | ||
real, intent(in) | P_ref | ||
) |
This subroutine initializes layer thicknesses for the Neverland 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.
[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. |
eqn_of_state | integer that selects the equation of state. | |
[in] | p_ref | The coordinate-density reference pressure [Pa]. |
Definition at line 114 of file Neverland_initialization.F90.
References mom_error_handler::mom_mesg(), and spike().
Referenced by mom_state_initialization::mom_initialize_state().
subroutine, public neverland_initialization::neverland_initialize_topography | ( | real, dimension(g%isd:g%ied,g%jsd:g%jed), intent(out) | D, |
type(dyn_horgrid_type), intent(in) | G, | ||
type(param_file_type), intent(in) | param_file, | ||
real, intent(in) | max_depth | ||
) |
This subroutine sets up the Neverland test case topography.
[in] | g | The dynamic horizontal grid type |
[out] | d | Ocean bottom depth in the units of depth_max |
[in] | param_file | Parameter file structure |
[in] | max_depth | Maximum ocean depth in arbitrary units |
Definition at line 36 of file Neverland_initialization.F90.
References cosbell(), mom_error_handler::mom_mesg(), and spike().
Referenced by mom_fixed_initialization::mom_initialize_topography().
|
private |
Returns the value of a sin-spike function evaluated at x/L.
[in] | x | non-dimensional position |
[in] | l | non-dimensional width |
Definition at line 100 of file Neverland_initialization.F90.
Referenced by neverland_initialize_thickness(), and neverland_initialize_topography().