Skip to content

Commit 495dc49

Browse files
authored
remove use_raw_inputs (#1721)
this is never used anywhere
1 parent 0919278 commit 495dc49

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

interfaces/eos.H

+3-10
Original file line numberDiff line numberDiff line change
@@ -394,14 +394,13 @@ void check_inputs (const I input, T& state)
394394

395395
template <typename I, typename T>
396396
AMREX_GPU_HOST_DEVICE AMREX_INLINE
397-
void eos (const I input, T& state, bool use_raw_inputs = false)
397+
void eos (const I input, T& state)
398398
{
399399
static_assert(std::is_same_v<I, eos_input_t>, "input must be an eos_input_t");
400400

401401
// Input arguments
402402

403403
bool has_been_reset = false;
404-
bool use_composition_routine = true;
405404

406405
// Local variables
407406

@@ -411,15 +410,9 @@ void eos (const I input, T& state, bool use_raw_inputs = false)
411410
}
412411
#endif
413412

414-
if (use_raw_inputs) {
415-
use_composition_routine = false;
416-
}
417-
418413
if constexpr (has_xn<T>::value) {
419-
if (use_composition_routine) {
420-
// Get abar, zbar, etc.
421-
composition(state);
422-
}
414+
// Get abar, zbar, etc.
415+
composition(state);
423416
}
424417

425418
// Force the inputs to be valid.

0 commit comments

Comments
 (0)