Skip to content

Commit

Permalink
add a burning_cutoff_temperature_lo parameter (#465)
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale authored May 17, 2024
1 parent 74e11b5 commit db142fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions Source/MaestroBurner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ void Maestro::Burner(const Vector<MultiFab>& s_in, Vector<MultiFab>& s_out,
// fraction is above the cutoff.
if ((rho > burning_cutoff_density_lo &&
rho < burning_cutoff_density_hi) &&
(T_in > burning_cutoff_temperature_lo) &&
(ispec_threshold < 0 ||
(ispec_threshold > 0 && x_test > burner_threshold_cutoff))) {

Expand Down
3 changes: 3 additions & 0 deletions Source/param/_cpp_parameters
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,9 @@ anelastic_cutoff_density Real -1.0
# Refer to Section \ref{Sec:Base Cutoff Density}
base_cutoff_density Real -1.0

# The temperature below which we disable burning
burning_cutoff_temperature_lo Real -1.0

# The density below which we disable burning
burning_cutoff_density_lo Real -1.0

Expand Down

0 comments on commit db142fd

Please sign in to comment.