From f42fa474380f65813044f82687a44ee2eb05ef07 Mon Sep 17 00:00:00 2001 From: Michael Zingale Date: Thu, 5 Oct 2023 19:39:12 -0400 Subject: [PATCH] undo a "fix" --- Source/sdc/sdc_newton_solve.H | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/sdc/sdc_newton_solve.H b/Source/sdc/sdc_newton_solve.H index 8df20b38bd..ef30b3b76b 100644 --- a/Source/sdc/sdc_newton_solve.H +++ b/Source/sdc/sdc_newton_solve.H @@ -51,7 +51,8 @@ f_sdc_jac(const Real dt_m, // normalize the species auto sum_rhoX = 0.0_rt; for (int n = 0; n < NumSpec; ++n) { - burn_state.y[SFS+n] = amrex::max(burn_state.y[SRHO] * network_rp::small_x, burn_state.y[SFS+n]); + // TODO: this should have a rho weighting on small_x + burn_state.y[SFS+n] = amrex::max(network_rp::small_x, burn_state.y[SFS+n]); sum_rhoX += burn_state.y[SFS+n]; }