MOM6
|
Regrid columns for the continuous isopycnal (rho) coordinate.
Data Types | |
type | rho_cs |
Control structure containing required parameters for the rho coordinate. More... | |
Functions/Subroutines | |
subroutine, public | init_coord_rho (CS, nk, ref_pressure, target_density, interp_CS) |
Initialise a rho_CS with pointers to parameters. More... | |
subroutine, public | end_coord_rho (CS) |
subroutine, public | set_rho_params (CS, min_thickness, integrate_downward_for_e, interp_CS) |
subroutine, public | build_rho_column (CS, remapCS, nz, depth, h, T, S, eqn_of_state, zInterface) |
subroutine, public | old_inflate_layers_1d (minThickness, N, h) |
Variables | |
integer, parameter | nb_regridding_iterations = 1 |
Maximum number of regridding iterations. More... | |
real, parameter | deviation_tolerance = 1e-10 |
Deviation tolerance between succesive grids in regridding iterations. More... | |
subroutine, public coord_rho::build_rho_column | ( | type(rho_cs), intent(in) | CS, |
type(remapping_cs), intent(in) | remapCS, | ||
integer, intent(in) | nz, | ||
real, intent(in) | depth, | ||
real, dimension(nz), intent(in) | h, | ||
real, dimension(nz), intent(in) | T, | ||
real, dimension(nz), intent(in) | S, | ||
type(eos_type), pointer | eqn_of_state, | ||
real, dimension(nz+1), intent(inout) | zInterface | ||
) |
[in] | cs | Regridding control structure |
[in] | remapcs | Remapping parameters and options |
[in] | nz | Number of levels |
[in] | depth | Depth of ocean bottom (positive in m) |
[in] | h | Layer thicknesses, in m |
[in] | s | T and S for column |
eqn_of_state | Equation of state structure | |
[in,out] | zinterface | Absolute positions of interfaces |
Definition at line 86 of file coord_rho.F90.
References regrid_interp::build_and_interpolate_grid(), deviation_tolerance, nb_regridding_iterations, old_inflate_layers_1d(), and mom_remapping::remapping_core_h().
Referenced by mom_diag_remap::diag_remap_update().
subroutine, public coord_rho::end_coord_rho | ( | type(rho_cs), pointer | CS | ) |
Definition at line 64 of file coord_rho.F90.
subroutine, public coord_rho::init_coord_rho | ( | type(rho_cs), pointer | CS, |
integer, intent(in) | nk, | ||
real, intent(in) | ref_pressure, | ||
real, dimension(:), intent(in) | target_density, | ||
type(interp_cs_type), intent(in) | interp_CS | ||
) |
Initialise a rho_CS with pointers to parameters.
cs | Unassociated pointer to hold the control structure |
Definition at line 47 of file coord_rho.F90.
References mom_error_handler::mom_error().
subroutine, public coord_rho::old_inflate_layers_1d | ( | real, intent(in) | minThickness, |
integer, intent(in) | N, | ||
real, dimension(:), intent(inout) | h | ||
) |
Definition at line 248 of file coord_rho.F90.
Referenced by build_rho_column().
subroutine, public coord_rho::set_rho_params | ( | type(rho_cs), pointer | CS, |
real, intent(in), optional | min_thickness, | ||
logical, intent(in), optional | integrate_downward_for_e, | ||
type(interp_cs_type), intent(in), optional | interp_CS | ||
) |
Definition at line 73 of file coord_rho.F90.
References mom_error_handler::mom_error().
|
private |
Deviation tolerance between succesive grids in regridding iterations.
Definition at line 38 of file coord_rho.F90.
Referenced by build_rho_column().
integer, parameter coord_rho::nb_regridding_iterations = 1 |
Maximum number of regridding iterations.
Definition at line 36 of file coord_rho.F90.
Referenced by build_rho_column().