5 #include <AMReX_IntVect.H>
6 #include <AMReX_MFIter.H>
17 AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
20 return T * std::pow(
p_0/P, rdOcp);
31 AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
34 return th / std::pow(
p_0/P, rdOcp);
45 AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
63 AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
70 return T * std::pow((
p_0/p_loc),rdOcp);
80 AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
95 AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
112 AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
126 AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
140 AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
144 return std::pow(P *
ip_0, rdOcp);
155 AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
171 AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
180 AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
constexpr amrex::Real R_v
Definition: ERF_Constants.H:11
constexpr amrex::Real iR_d
Definition: ERF_Constants.H:25
constexpr amrex::Real ip_0
Definition: ERF_Constants.H:24
constexpr amrex::Real p_0
Definition: ERF_Constants.H:18
constexpr amrex::Real iGamma
Definition: ERF_Constants.H:26
constexpr amrex::Real R_d
Definition: ERF_Constants.H:10
constexpr amrex::Real Gamma
Definition: ERF_Constants.H:19
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real getPgivenRTh(const amrex::Real rhotheta, const amrex::Real qv=0.)
Definition: ERF_EOS.H:81
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real getExnergivenRTh(const amrex::Real rhotheta, const amrex::Real rdOcp, const amrex::Real qv=0.0)
Definition: ERF_EOS.H:156
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real compute_vapor_pressure(const amrex::Real p_s, const amrex::Real RH)
Definition: ERF_EOS.H:181
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real getRhoThetagivenP(const amrex::Real p, const amrex::Real qv=0.0)
Definition: ERF_EOS.H:172
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real getRhogivenThetaPress(const amrex::Real th, const amrex::Real p, const amrex::Real rdOcp, const amrex::Real qv=0.0)
Definition: ERF_EOS.H:96
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real getTgivenRandRTh(const amrex::Real rho, const amrex::Real rhotheta, const amrex::Real qv=0.0)
Definition: ERF_EOS.H:46
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real getThgivenTandP(const amrex::Real T, const amrex::Real P, const amrex::Real rdOcp)
Definition: ERF_EOS.H:18
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real getdPdRgivenConstantTheta(const amrex::Real rho, const amrex::Real theta, const amrex::Real qv=0.0)
Definition: ERF_EOS.H:127
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real getExnergivenP(const amrex::Real P, const amrex::Real rdOcp)
Definition: ERF_EOS.H:141
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real getThgivenRandT(const amrex::Real rho, const amrex::Real T, const amrex::Real rdOcp, const amrex::Real qv=0.0)
Definition: ERF_EOS.H:64
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real getRhogivenTandPress(const amrex::Real T, const amrex::Real p, const amrex::Real qv=0.0)
Definition: ERF_EOS.H:113
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real getTgivenPandTh(const amrex::Real P, const amrex::Real th, const amrex::Real rdOcp)
Definition: ERF_EOS.H:32
amrex::Real Real
Definition: ERF_ShocInterface.H:16
@ theta
Definition: ERF_MM5.H:20
@ rho
Definition: ERF_Kessler.H:22
@ qv
Definition: ERF_Kessler.H:28
@ T
Definition: ERF_IndexDefines.H:110