theta_by_poisson_equation Function

public pure elemental function theta_by_poisson_equation(constant_cpd, constant_p0, constant_rd, t, p) result(theta)

Uses

  • proc~~theta_by_poisson_equation~~UsesGraph proc~theta_by_poisson_equation theta_by_poisson_equation iso_fortran_env iso_fortran_env proc~theta_by_poisson_equation->iso_fortran_env

Compute the potential temperature theta at reference pressure p0 from the temperature t at pressure p by Poisson equation. Essentially, . (KCW, 2024-07-02)

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: constant_cpd
real(kind=real64), intent(in) :: constant_p0
real(kind=real64), intent(in) :: constant_rd
real(kind=real64), intent(in) :: t
real(kind=real64), intent(in) :: p

Return Value real(kind=real64)


Called by

proc~~theta_by_poisson_equation~~CalledByGraph proc~theta_by_poisson_equation theta_by_poisson_equation none~set_mpas_state_rho_base_theta_base set_mpas_state_rho_base_theta_base none~set_mpas_state_rho_base_theta_base->proc~theta_by_poisson_equation none~set_mpas_state_rho_theta set_mpas_state_rho_theta none~set_mpas_state_rho_theta->proc~theta_by_poisson_equation proc~set_analytic_initial_condition set_analytic_initial_condition proc~set_analytic_initial_condition->none~set_mpas_state_rho_base_theta_base proc~set_analytic_initial_condition->none~set_mpas_state_rho_theta proc~dyn_init dyn_init proc~dyn_init->proc~set_analytic_initial_condition interface~dyn_init dyn_init interface~dyn_init->proc~dyn_init

Source Code

    pure elemental function theta_by_poisson_equation(constant_cpd, constant_p0, constant_rd, t, p) result(theta)
        use, intrinsic :: iso_fortran_env, only: real64

        real(real64), intent(in) :: constant_cpd, constant_p0, constant_rd, t, p
        real(real64) :: theta

        theta = t * ((constant_p0 / p) ** (constant_rd / constant_cpd))
    end function theta_by_poisson_equation