diff --git a/src/HLLC.hpp b/src/HLLC.hpp index 42b5dfcd2..dea20e578 100644 --- a/src/HLLC.hpp +++ b/src/HLLC.hpp @@ -18,9 +18,9 @@ namespace quokka::Riemann // Minoshima & Miyoshi, "A low-dissipation HLLD approximate Riemann solver // for a very wide range of Mach numbers," JCP (2021).] // -template -AMREX_FORCE_INLINE AMREX_GPU_DEVICE auto HLLC(quokka::HydroState const &sL, quokka::HydroState const &sR, const double gamma, - const double du, const double dw) -> quokka::valarray +template +AMREX_FORCE_INLINE AMREX_GPU_DEVICE auto HLLC(quokka::HydroState const &sL, quokka::HydroState const &sR, + const double gamma, const double du, const double dw) -> quokka::valarray { // compute Roe averages diff --git a/src/HydroState.hpp b/src/HydroState.hpp index 1518ac005..7efbcbfa9 100644 --- a/src/HydroState.hpp +++ b/src/HydroState.hpp @@ -6,15 +6,15 @@ namespace quokka { template struct HydroState { - double rho; // density - double u; // normal velocity component - double v; // transverse velocity component - double w; // 2nd transverse velocity component - double P; // pressure - double cs; // adiabatic sound speed - double E; // total energy density - double Eint; // internal energy density - std::array scalar; // passive scalars + double rho; // density + double u; // normal velocity component + double v; // transverse velocity component + double w; // 2nd transverse velocity component + double P; // pressure + double cs; // adiabatic sound speed + double E; // total energy density + double Eint; // internal energy density + std::array scalar; // passive scalars amrex::GpuArray massScalar; // mass scalars };