Skip to content

Commit

Permalink
Merge branch 'development' into SubstepMoist
Browse files Browse the repository at this point in the history
  • Loading branch information
AMLattanzi authored Nov 6, 2024
2 parents cc6436e + 4bc4950 commit 82c0ab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Utils/ERF_EOS.H
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ amrex::Real getThgivenPandT(const amrex::Real T, const amrex::Real P, const amre
* @params[ out] temperature
*/
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
amrex::Real getTgivenPandTh(const amrex::Real th, const amrex::Real P, const amrex::Real rdOcp)
amrex::Real getTgivenPandTh(const amrex::Real P, const amrex::Real th, const amrex::Real rdOcp)
{
return th / std::pow(p_0/P, rdOcp);
}
Expand Down

0 comments on commit 82c0ab3

Please sign in to comment.