Skip to content

Commit

Permalink
Fix assert
Browse files Browse the repository at this point in the history
  • Loading branch information
cgilet committed Mar 11, 2024
1 parent 3dc2d95 commit f6e5b0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Projections/hydro_MacProjector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ MacProjector::setLevelBC (int amrlev, const MultiFab* levelbcdata, const MultiFa
AMREX_ALWAYS_ASSERT_WITH_MESSAGE(!m_needs_domain_bcs,
"setDomainBC must be called before setLevelBC");
AMREX_ALWAYS_ASSERT_WITH_MESSAGE(
!robin_a || (robin_a && m_eb_abeclap),
!robin_a || (robin_a && !m_abeclap),
"MacProjector::setLevelBC(): Projection only tested for case of EB separated mixed BC.");
m_linop->setLevelBC(amrlev, levelbcdata, robin_a, robin_b, robin_f);
m_needs_level_bcs[amrlev] = false;
Expand Down

0 comments on commit f6e5b0d

Please sign in to comment.