From 7a11a30ccadae778ef980f1058e99171de98c177 Mon Sep 17 00:00:00 2001 From: Michael Zingale Date: Wed, 6 Nov 2024 13:53:32 -0500 Subject: [PATCH] make disable_shock_burning = 1 by default --- Exec/Make.Castro | 4 ++++ Source/driver/_cpp_parameters | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Exec/Make.Castro b/Exec/Make.Castro index 106ef51cc0..b0dadd359c 100644 --- a/Exec/Make.Castro +++ b/Exec/Make.Castro @@ -235,6 +235,10 @@ ifeq ($(USE_HYBRID_MOMENTUM), TRUE) endif endif +ifeq ($(USE_REACT), TRUE) + USE_SHOCK_VAR = TRUE +endif + ifeq ($(USE_SHOCK_VAR), TRUE) DEFINES += -DSHOCK_VAR endif diff --git a/Source/driver/_cpp_parameters b/Source/driver/_cpp_parameters index 4983d32b86..e8b9269919 100644 --- a/Source/driver/_cpp_parameters +++ b/Source/driver/_cpp_parameters @@ -413,7 +413,7 @@ react_rho_max Real 1.e200 # disable burning inside hydrodynamic shock regions # note: requires compiling with `USE_SHOCK_VAR=TRUE` -disable_shock_burning bool 0 +disable_shock_burning bool 1 # shock detection threshold for grad{P} / P shock_detection_threshold Real 0.6666666666666666666666_rt