From 5157159686292bd06c8768114c2fc164e700c15f Mon Sep 17 00:00:00 2001 From: psharda Date: Mon, 31 Jul 2023 14:02:52 +0200 Subject: [PATCH] rename to match other variables --- src/HLLC.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/HLLC.hpp b/src/HLLC.hpp index fc7c37e3b..25fb236a9 100644 --- a/src/HLLC.hpp +++ b/src/HLLC.hpp @@ -36,10 +36,10 @@ AMREX_FORCE_INLINE AMREX_GPU_DEVICE auto HLLC(quokka::HydroState cons double cs_tilde = NAN; if (gamma != 1.0) { // TODO(ben): implement Roe average for general EOS - const double C_star_P = 1.0 / (gamma - 1.0); - const double C_star_rho = 0.0; + const double C_tilde_P = 1.0 / (gamma - 1.0); + const double C_tilde_rho = 0.0; // equation 4.12 of Kershaw+1998 - cs_tilde = std::sqrt((1.0 / C_star_P) * (H_tilde - 0.5 * vsq_tilde - C_star_rho)); + cs_tilde = std::sqrt((1.0 / C_tilde_P) * (H_tilde - 0.5 * vsq_tilde - C_tilde_rho)); } else { cs_tilde = 0.5 * (sL.cs + sR.cs); }