Skip to content

Commit

Permalink
fix reflect
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Jan 21, 2024
1 parent 42a43f7 commit 3cb8a49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/radiation/MGRadBndry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,12 @@ void MGRadBndry::setBndryConds(const BCRec& bc,
bloc[i] = 0.;
}
else if (p_bc == amrex::BCType::reflect_odd) {
bctag[i] = AMREX_LO_amrex::BCType::reflect_odd;
bctag[i] = AMREX_LO_REFLECT_ODD;
bloc[i] = 0.;
}
*/
if (p_bc == AMREX_LO_DIRICHLET || p_bc == AMREX_LO_NEUMANN ||
p_bc == AMREX_LO_amrex::BCType::reflect_odd) {
p_bc == AMREX_LO_REFLECT_ODD) {
bctag[i] = p_bc;
bloc[i] = 0.;
}
Expand Down

0 comments on commit 3cb8a49

Please sign in to comment.