MOM6
|
Regrid columns for a z-like coordinate (z-star, z-level)
Data Types | |
type | zlike_cs |
Control structure containing required parameters for a z-like coordinate. More... | |
Functions/Subroutines | |
subroutine, public | init_coord_zlike (CS, nk, coordinateResolution) |
Initialise a zlike_CS with pointers to parameters. More... | |
subroutine, public | end_coord_zlike (CS) |
Deallocates the zlike control structure. More... | |
subroutine, public | set_zlike_params (CS, min_thickness) |
Set parameters in the zlike structure. More... | |
subroutine, public | build_zstar_column (CS, depth, total_thickness, zInterface, z_rigid_top, eta_orig, zScale) |
Builds a z* coordinate with a minimum thickness. More... | |
subroutine, public coord_zlike::build_zstar_column | ( | type(zlike_cs), intent(in) | CS, |
real, intent(in) | depth, | ||
real, intent(in) | total_thickness, | ||
real, dimension(cs%nk+1), intent(inout) | zInterface, | ||
real, intent(in), optional | z_rigid_top, | ||
real, intent(in), optional | eta_orig, | ||
real, intent(in), optional | zScale | ||
) |
Builds a z* coordinate with a minimum thickness.
[in] | cs | Coordinate control structure |
[in] | depth | Depth of ocean bottom (positive in the output units) |
[in] | total_thickness | Column thickness (positive in the same units as depth) |
[in,out] | zinterface | Absolute positions of interfaces |
[in] | z_rigid_top | The height of a rigid top (negative in the same units as depth) |
[in] | eta_orig | The actual original height of the top in the same units as depth |
[in] | zscale | Scaling factor from the target coordinate resolution in Z to desired units for zInterface, perhaps Z_to_H |
Definition at line 65 of file coord_zlike.F90.
Referenced by mom_regridding::build_zstar_grid(), and mom_diag_remap::diag_remap_update().
subroutine, public coord_zlike::end_coord_zlike | ( | type(zlike_cs), pointer | CS | ) |
Deallocates the zlike control structure.
cs | Coordinate control structure |
Definition at line 44 of file coord_zlike.F90.
Referenced by mom_regridding::end_regridding().
subroutine, public coord_zlike::init_coord_zlike | ( | type(zlike_cs), pointer | CS, |
integer, intent(in) | nk, | ||
real, dimension(:), intent(in) | coordinateResolution | ||
) |
Initialise a zlike_CS with pointers to parameters.
cs | Unassociated pointer to hold the control structure | |
[in] | nk | Number of levels in the grid |
[in] | coordinateresolution | Target coordinate resolution [Z ~> m] |
Definition at line 30 of file coord_zlike.F90.
References mom_error_handler::mom_error().
Referenced by mom_regridding::initcoord().
subroutine, public coord_zlike::set_zlike_params | ( | type(zlike_cs), pointer | CS, |
real, intent(in), optional | min_thickness | ||
) |
Set parameters in the zlike structure.
cs | Coordinate control structure | |
[in] | min_thickness | Minimum allowed thickness [H ~> m or kg m-2] |
Definition at line 54 of file coord_zlike.F90.
References mom_error_handler::mom_error().
Referenced by mom_regridding::set_regrid_params().