Skip to content

Commit

Permalink
make disable_shock_burning = 1 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Nov 6, 2024
1 parent ee78fcd commit 7a11a30
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Exec/Make.Castro
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Source/driver/_cpp_parameters
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7a11a30

Please sign in to comment.