coord_sigma module reference
Regrid columns for the sigma coordinate
Data Types
Control structure containing required parameters for the sigma coordinate |
Functions/Subroutines
Initialise a sigma_CS with pointers to parameters |
|
This subroutine deallocates memory in the control structure for the coord_sigma module |
|
This subroutine can be used to set the parameters for the coord_sigma module |
|
Build a sigma coordinate column |
Type Documentation
- type, public :: sigma_CS
Control structure containing required parameters for the sigma coordinate
- Parameters
nk
Minimum thickness allowed for layers [H ~> m or kg m-2]
min_thickness
Target coordinate resolution [nondim]
Functions/Subroutine Documentation
- subroutine init_coord_sigma(CS, nk, coordinateResolution)
Initialise a sigma_CS with pointers to parameters
- Parameters
CS
Unassociated pointer to hold the control structure
nk [in]
Number of layers in the grid
coordinateResolution [in]
Nominal coordinate resolution [nondim]
- subroutine end_coord_sigma(CS)
This subroutine deallocates memory in the control structure for the coord_sigma module
- Parameters
CS
Coordinate control structure
- subroutine set_sigma_params(CS, min_thickness)
This subroutine can be used to set the parameters for the coord_sigma module
- Parameters
CS
Coordinate control structure
min_thickness [in]
Minimum allowed thickness [H ~> m or kg m-2]
- subroutine build_sigma_column(CS, depth, totalThickness, zInterface)
Build a sigma coordinate column
- Parameters
CS [in]
Coordinate control structure
depth [in]
Depth of ocean bottom (positive [H ~> m or kg m-2])
totalThickness [in]
Column thickness (positive [H ~> m or kg m-2])
zInterface [inout]
Absolute positions of interfaces [H ~> m or kg m-2]