MOM_hybgen_remap module reference
This module contains the hybgen remapping routines from HYCOM, with minor modifications to follow the MOM6 coding conventions
Functions/Subroutines
Set up the coefficients for PLM remapping of a set of scalars |
|
Set up the coefficients for PPM remapping of a set of scalars |
|
Set up the coefficients for PPM remapping of a set of scalars |
Functions/Subroutine Documentation
- subroutine hybgen_plm_coefs(si, dpi, slope, nk, ns, thin, PCM_lay)
Set up the coefficients for PLM remapping of a set of scalars
- Parameters
nk [in]
The number of input layers
ns [in]
The number of scalar fields to work on
si [in]
The cell-averaged input scalar fields [A]
dpi [in]
The input grid layer thicknesses [H ~> m or kg m-2]
slope [out]
The PLM slope times cell width [A]
thin [in]
A negligible layer thickness that can be ignored [H ~> m or kg m-2]
PCM_lay [in]
If true for a layer, use PCM remapping for that layer
Callers call graph
- subroutine hybgen_ppm_coefs(s, h_src, edges, nk, ns, thin, PCM_lay)
Set up the coefficients for PPM remapping of a set of scalars
- Parameters
nk [in]
The number of input layers
ns [in]
The scalar fields to work on
s [in]
The input scalar fields [A]
h_src [in]
The input grid layer thicknesses [H ~> m or kg m-2]
edges [out]
The PPM interpolation edge values of the scalar fields [A]
thin [in]
A negligible layer thickness that can be ignored [H ~> m or kg m-2]
PCM_lay [in]
If true for a layer, use PCM remapping for that layer
Callers call graph
- subroutine hybgen_weno_coefs(s, h_src, edges, nk, ns, thin, PCM_lay)
Set up the coefficients for PPM remapping of a set of scalars
- Parameters
nk [in]
The number of input layers
ns [in]
The number of scalar fields to work on
s [in]
The input scalar fields [A]
h_src [in]
The input grid layer thicknesses [H ~> m or kg m-2]
edges [out]
The WENO interpolation edge values of the scalar fields [A]
thin [in]
A negligible layer thickness that can be ignored [H ~> m or kg m-2]
PCM_lay [in]
If true for a layer, use PCM remapping for that layer