Skip to content

Commit

Permalink
highlight an error too
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed May 17, 2024
1 parent acd2038 commit 078eb95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/MaestroBurner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ void Maestro::Burner(const Vector<MultiFab>& s_in, Vector<MultiFab>& s_out,

if (std::abs(sumX - 1.0) > reaction_sum_tol) {
#ifndef AMREX_USE_GPU
amrex::Print() << "ERROR: abundances do not sum to 1";
amrex::Print() << amrex::Font::Bold << amrex::FGColor::Green
<< "ERROR: abundances do not sum to 1" << amrex::ResetDisplay;
#endif
burn_failed = 1.0_rt;
}
Expand Down

0 comments on commit 078eb95

Please sign in to comment.