Skip to content

Commit

Permalink
MAC projector with Robin BCs needs initialization every time. The
Browse files Browse the repository at this point in the history
underlying solver, (EB)MLABecLaplacian, is not save for reuse with
Robin BCs.
  • Loading branch information
cgilet committed Mar 4, 2024
1 parent 6f77e32 commit c566f72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Projections/hydro_MacProjector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ MacProjector::setLevelBC (int amrlev, const MultiFab* levelbcdata, const MultiFa
"setDomainBC must be called before setLevelBC");
m_linop->setLevelBC(amrlev, levelbcdata, robin_a, robin_b, robin_f);
m_needs_level_bcs[amrlev] = false;
m_needs_init = true; // Solver is not safe for reuse with Robin BC
}


Expand Down

0 comments on commit c566f72

Please sign in to comment.