Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a burning_cutoff_temperature_lo parameter #465

Merged
merged 2 commits into from
May 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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