Five conserved variables: (rho, rhou, rhov, rhotheta, Phi), where Phi = gy is the geopotential. Phi has zero flux (volume and surface) so its tendency is identically zero; it is carried in the state vector solely so that the Souza et al. (2023) non-conservative gravity flux differencing in SourceMethod can read it node-locally.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ESAtmo2D_t), | intent(inout) | :: | this |
subroutine SetNumberOfVariables_ESAtmo2D_t(this)
!! Five conserved variables: (rho, rho*u, rho*v, rho*theta, Phi),
!! where Phi = g*y is the geopotential. Phi has zero flux (volume
!! and surface) so its tendency is identically zero; it is carried
!! in the state vector solely so that the Souza et al. (2023)
!! non-conservative gravity flux differencing in SourceMethod can
!! read it node-locally.
implicit none
class(ESAtmo2D_t),intent(inout) :: this
this%nvar = 5
endsubroutine SetNumberOfVariables_ESAtmo2D_t