CCPP Scientific Documentation
v4.1.0
elemental subroutine, public funcphys::stma ( real(krealfp), intent(in)  the,
real(krealfp), intent(in)  pk,
real(krealfp), intent(out)  tma,
real(krealfp), intent(out)  qma 
)
Parameters
[in]thereal, equivalent potential temperature in Kelvin
[in]pkreal, pressure over 1e5 Pa to the kappa power
[out]tmareal, parcel temperature in Kelvin
[out]qmareal, parcel specific humidity in kg/kg

References c1xma, c1yma, c2xma, c2yma, nxma, nyma, tbqma, and tbtma.

Referenced by calpreciptype(), and stmax().