From 74d8771d3b30fed3f0e668a1d9052c96df6d3e54 Mon Sep 17 00:00:00 2001 From: Michael Zingale Date: Wed, 20 Nov 2024 12:45:09 -0500 Subject: [PATCH] use narrower eos_extra_t variants in the NSE table routines this should reduce memory --- nse_tabular/nse_eos.H | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nse_tabular/nse_eos.H b/nse_tabular/nse_eos.H index 003e15e32c..b067025ebb 100644 --- a/nse_tabular/nse_eos.H +++ b/nse_tabular/nse_eos.H @@ -65,7 +65,7 @@ nse_T_abar_from_e(const Real rho, const Real e_in, const Real Ye, Real abar_old = nse_state.abar; // call the EOS with the initial guess for T - eos_extra_t eos_state; + eos_re_extra_t eos_state; eos_state.rho = rho; eos_state.T = T; eos_state.aux[iye] = Ye; @@ -156,7 +156,7 @@ nse_rho_abar_from_e(const Real T, const Real e_in, const Real Ye, Real abar_old = nse_state.abar; // call the EOS with the initial guess for rho - eos_extra_t eos_state; + eos_re_extra_t eos_state; eos_state.rho = rho; eos_state.T = T; eos_state.aux[iye] = Ye; @@ -247,7 +247,7 @@ nse_T_abar_from_p(const Real rho, const Real p_in, const Real Ye, Real abar_old = nse_state.abar; // call the EOS with the initial guess for T - eos_extra_t eos_state; + eos_rep_extra_t eos_state; eos_state.rho = rho; eos_state.T = T; eos_state.aux[iye] = Ye; @@ -338,7 +338,7 @@ nse_rho_abar_from_p(const Real T, const Real p_in, const Real Ye, Real abar_old = nse_state.abar; // call the EOS with the initial guess for rho - eos_extra_t eos_state; + eos_rep_extra_t eos_state; eos_state.rho = rho; eos_state.T = T; eos_state.aux[iye] = Ye;