For performing geopotential calculations.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=p), | intent(in) | :: | t(mx,nx,kx) | Spectral temperature |
||
| complex(kind=p), | intent(in) | :: | phis(mx,nx) | Spectral surface geopotential |
||
| real(kind=p), | intent(in) | :: | xgeop1(kx) | Constants for hydrostatic equation |
||
| real(kind=p), | intent(in) | :: | xgeop2(kx) | Constants for hydrostatic equation |
||
| real(kind=p), | intent(in) | :: | hsg(kx+1) | Half sigma levels |
||
| real(kind=p), | intent(in) | :: | fsg(kx) | Full sigma levels |
Spectral geopotential
Initializes the arrays used for geopotential calculations
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(ModelState_t), | intent(inout), | target | :: | state |
Computes spectral geopotential from spectral temperature T and spectral topography phis, as in GFDL Climate Group GCM. The result is updated in the state%phi variable.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(ModelState_t), | intent(inout) | :: | state | |||
| integer, | intent(in) | :: | time_level |