From 9f314de4791adcbc1a6de04c48b0479c48db60a3 Mon Sep 17 00:00:00 2001 From: Michael Zingale Date: Thu, 16 Jan 2025 18:58:48 -0500 Subject: [PATCH] remove use_raw_inputs this is never used anywhere --- interfaces/eos.H | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/interfaces/eos.H b/interfaces/eos.H index c5ecfd7cf4..3abccc2c77 100644 --- a/interfaces/eos.H +++ b/interfaces/eos.H @@ -394,14 +394,13 @@ void check_inputs (const I input, T& state) template AMREX_GPU_HOST_DEVICE AMREX_INLINE -void eos (const I input, T& state, bool use_raw_inputs = false) +void eos (const I input, T& state) { static_assert(std::is_same_v, "input must be an eos_input_t"); // Input arguments bool has_been_reset = false; - bool use_composition_routine = true; // Local variables @@ -411,15 +410,9 @@ void eos (const I input, T& state, bool use_raw_inputs = false) } #endif - if (use_raw_inputs) { - use_composition_routine = false; - } - if constexpr (has_xn::value) { - if (use_composition_routine) { - // Get abar, zbar, etc. - composition(state); - } + // Get abar, zbar, etc. + composition(state); } // Force the inputs to be valid.