| subroutine, public funcphys::stmaxg | ( | real(krealfp), intent(in) | tg, |
| real(krealfp), intent(in) | the, | ||
| real(krealfp), intent(in) | pk, | ||
| real(krealfp), intent(out) | tma, | ||
| real(krealfp), intent(out) | qma | ||
| ) |
| [in] | tg | real, guess parcel temperature in Kelvin |
| [in] | the | real, equivalent potential temperature in Kelvin |
| [in] | pk | real, pressure over 1e5 Pa to the kappa power |
| [out] | tma | real, parcel temperature in Kelvin |
| [out] | qma | real, parcel specific humidity in kg/kg |