Skip to content

Commit

Permalink
fix bug in EintFromPres
Browse files Browse the repository at this point in the history
  • Loading branch information
psharda committed Jul 28, 2023
1 parent 9dfb12c commit 49c46c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EOS.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE auto EOS<problem_t>::ComputeEintFromPre
estate.p = Pressure;
estate.mu = mean_molecular_weight_ / C::m_u;
eos(eos_input_rp, estate);
Eint = estate.e * rho * boltzmann_constant_ / C::k_B;
Eint = estate.e * rho;
}
#endif
return Eint;
Expand Down

0 comments on commit 49c46c4

Please sign in to comment.