Skip to content

Commit

Permalink
fix typo in EOS
Browse files Browse the repository at this point in the history
  • Loading branch information
asalmgren committed Nov 6, 2024
1 parent 72bf212 commit f720684
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 f720684

Please sign in to comment.