diff --git a/src/HLLC.hpp b/src/HLLC.hpp index 25a7050ac..afbbcd5d1 100644 --- a/src/HLLC.hpp +++ b/src/HLLC.hpp @@ -36,10 +36,16 @@ AMREX_FORCE_INLINE AMREX_GPU_DEVICE auto HLLC(quokka::HydroState::ComputeOtherDerivatives(sL.rho, sL.P, sL.massScalar); - auto [dedr_R, dedp_R, drdp_R] = quokka::EOS::ComputeOtherDerivatives(sR.rho, sR.P, sR.massScalar); + auto [dedr_L, dedp_L, drdp_L, G_gamma_L] = quokka::EOS::ComputeOtherDerivatives(sL.rho, sL.P, sL.massScalar); + auto [dedr_R, dedp_R, drdp_R, G_gamma_R] = quokka::EOS::ComputeOtherDerivatives(sR.rho, sR.P, sR.massScalar); // equation A.5a of Kershaw+1998 // need specific internal energy here @@ -51,21 +57,45 @@ AMREX_FORCE_INLINE AMREX_GPU_DEVICE auto HLLC(quokka::HydroState