MOM6
|
Calculates energy input to the internal tides.
Data Types | |
type | int_tide_input_cs |
This control structure holds parameters that regulate internal tide energy inputs. More... | |
type | int_tide_input_type |
This type is used to exchange fields related to the internal tides. More... | |
Functions/Subroutines | |
subroutine, public | set_int_tide_input (u, v, h, tv, fluxes, itide, dt, G, GV, US, CS) |
Sets the model-state dependent internal tide energy sources. More... | |
subroutine | find_n2_bottom (h, tv, T_f, S_f, h2, fluxes, G, GV, US, N2_bot) |
Estimates the near-bottom buoyancy frequency (N^2). More... | |
subroutine, public | int_tide_input_init (Time, G, GV, US, param_file, diag, CS, itide) |
Initializes the data related to the internal tide input module. More... | |
subroutine, public | int_tide_input_end (CS) |
Deallocates any memory related to the internal tide input module. More... | |
|
private |
Estimates the near-bottom buoyancy frequency (N^2).
[in] | g | The ocean's grid structure |
[in] | gv | The ocean's vertical grid structure |
[in] | us | A dimensional unit scaling type |
[in] | h | Layer thicknesses [H ~> m or kg m-2] |
[in] | tv | A structure containing pointers to the thermodynamic fields |
[in] | t_f | Temperature after vertical filtering to smooth out the values in thin layers [degC]. |
[in] | s_f | Salinity after vertical filtering to smooth out the values in thin layers [ppt]. |
[in] | h2 | Bottom topographic roughness [Z2 ~> m2]. |
[in] | fluxes | A structure of thermodynamic surface fluxes |
[out] | n2_bot | The squared buoyancy freqency at the ocean bottom [T-2 ~> s-2]. |
Definition at line 151 of file MOM_internal_tide_input.F90.
Referenced by set_int_tide_input().
subroutine, public mom_int_tide_input::int_tide_input_end | ( | type(int_tide_input_cs), pointer | CS | ) |
Deallocates any memory related to the internal tide input module.
cs | This module's control structure, which is deallocated here. |
Definition at line 424 of file MOM_internal_tide_input.F90.
subroutine, public mom_int_tide_input::int_tide_input_init | ( | type(time_type), intent(in) | Time, |
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(diag_ctrl), intent(inout), target | diag, | ||
type(int_tide_input_cs), pointer | CS, | ||
type(int_tide_input_type), pointer | itide | ||
) |
Initializes the data related to the internal tide input module.
[in] | time | The current model time |
[in] | g | The ocean's grid structure |
[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 |
[in,out] | diag | structure used to regulate diagnostic output. |
cs | This module's control structure, which is initialized here. | |
itide | A structure containing fields related to the internal tide sources. |
Definition at line 267 of file MOM_internal_tide_input.F90.
References mom_error_handler::mom_error(), and mom_diag_mediator::register_diag_field().
subroutine, public mom_int_tide_input::set_int_tide_input | ( | real, dimension( g %isdb: g %iedb, g %jsd: g %jed, g %ke), intent(in) | u, |
real, dimension( g %isd: g %ied, g %jsdb: g %jedb, g %ke), intent(in) | v, | ||
real, dimension( g %isd: g %ied, g %jsd: g %jed, g %ke), intent(in) | h, | ||
type(thermo_var_ptrs), intent(in) | tv, | ||
type(forcing), intent(in) | fluxes, | ||
type(int_tide_input_type), intent(inout) | itide, | ||
real, intent(in) | dt, | ||
type(ocean_grid_type), intent(in) | G, | ||
type(verticalgrid_type), intent(in) | GV, | ||
type(unit_scale_type), intent(in) | US, | ||
type(int_tide_input_cs), pointer | CS | ||
) |
Sets the model-state dependent internal tide energy sources.
[in] | g | The ocean's grid structure |
[in] | gv | The ocean's vertical grid structure |
[in] | us | A dimensional unit scaling type |
[in] | u | The zonal velocity [L T-1 ~> m s-1] |
[in] | v | The meridional velocity [L T-1 ~> m s-1] |
[in] | h | Layer thicknesses [H ~> m or kg m-2] |
[in] | tv | A structure containing pointers to the thermodynamic fields |
[in] | fluxes | A structure of thermodynamic surface fluxes |
[in,out] | itide | A structure containing fields related to the internal tide sources. |
[in] | dt | The time increment [T ~> s]. |
cs | This module's control structure. |
Definition at line 75 of file MOM_internal_tide_input.F90.
References find_n2_bottom(), mom_error_handler::mom_error(), and mom_isopycnal_slopes::vert_fill_ts().