MOM6
|
Initialization of the boundary-forced-basing configuration.
Functions/Subroutines | |
subroutine, public | bfb_set_coord (Rlay, g_prime, GV, US, param_file, eqn_of_state) |
This subroutine specifies the vertical coordinate in terms of temperature at the surface and at the bottom. This case is set up in such a way that the temperature of the topmost layer is equal to the SST at the southern edge of the domain. The temperatures are then converted to densities of the top and bottom layers and linearly interpolated for the intermediate layers. More... | |
subroutine, public | bfb_initialize_sponges_southonly (G, GV, US, use_temperature, tv, param_file, CSp, h) |
This subroutine sets up the sponges for the southern bouundary of the domain. Maximum damping occurs within 2 degrees lat of the boundary. The damping linearly decreases northward over the next 2 degrees. More... | |
subroutine | write_bfb_log (param_file) |
Write output about the parameter values being used. More... | |
Variables | |
logical | first_call = .true. |
Unsafe model variable. More... | |
subroutine, public bfb_initialization::bfb_initialize_sponges_southonly | ( | type(ocean_grid_type), intent(in) | G, |
type(verticalgrid_type), intent(in) | GV, | ||
type(unit_scale_type), intent(in) | US, | ||
logical, intent(in) | use_temperature, | ||
type(thermo_var_ptrs), intent(in) | tv, | ||
type(param_file_type), intent(in) | param_file, | ||
type(sponge_cs), pointer | CSp, | ||
real, dimension( : , : , : ), intent(in) | h | ||
) |
This subroutine sets up the sponges for the southern bouundary of the domain. Maximum damping occurs within 2 degrees lat of the boundary. The damping linearly decreases northward over the next 2 degrees.
[in] | g | The ocean's grid structure |
[in] | gv | The ocean's vertical grid structure. |
[in] | us | A dimensional unit scaling type |
[in] | use_temperature | If true, temperature and salinity are used as state variables. |
[in] | tv | A structure pointing to various thermodynamic variables |
[in] | param_file | A structure to parse for run-time parameters |
csp | A pointer to the sponge control structure | |
[in] | h | Layer thicknesses [H ~> m or kg m-2] |
Definition at line 81 of file BFB_initialization.F90.
References first_call, mom_sponge::initialize_sponge(), and write_bfb_log().
Referenced by mom_state_initialization::mom_initialize_state().
subroutine, public bfb_initialization::bfb_set_coord | ( | real, dimension( : ), intent(out) | Rlay, |
real, dimension( : ), intent(out) | g_prime, | ||
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 | ||
) |
This subroutine specifies the vertical coordinate in terms of temperature at the surface and at the bottom. This case is set up in such a way that the temperature of the topmost layer is equal to the SST at the southern edge of the domain. The temperatures are then converted to densities of the top and bottom layers and linearly interpolated for the intermediate layers.
[out] | rlay | Layer potential density [R ~> kg m-3]. |
[out] | g_prime | The reduced gravity at each interface [L2 Z-1 T-2 ~> m s-2]. |
[in] | gv | The ocean's vertical grid structure |
[in] | us | A dimensional unit scaling type |
[in] | param_file | A structure to parse for run-time parameters |
eqn_of_state | Integer that selects the equation of state. |
Definition at line 39 of file BFB_initialization.F90.
References first_call, and write_bfb_log().
Referenced by mom_coord_initialization::mom_initialize_coord().
|
private |
Write output about the parameter values being used.
[in] | param_file | A structure indicating the open file to parse for model parameter values. |
Definition at line 175 of file BFB_initialization.F90.
References first_call.
Referenced by bfb_initialize_sponges_southonly(), and bfb_set_coord().
|
private |
Unsafe model variable.
Definition at line 30 of file BFB_initialization.F90.
Referenced by bfb_initialize_sponges_southonly(), bfb_set_coord(), and write_bfb_log().