Skip to content

Commit

Permalink
FillPatch for Face Data: Fix Geometry used in creating mask (AMReX-Co…
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiqunZhang authored Jul 19, 2024
1 parent d2b8ea9 commit cdacc4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Src/AmrCore/AMReX_FillPatchUtil_I.H
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ namespace detail {

const FabArrayBase::CPC mask_cpc( mf_solution, IntVect::TheZeroVector(),
mf_known, IntVect::TheZeroVector(),
fgeom.periodicity());
cgeom.periodicity());

solve_mask.setVal(1); // Values to solve.
solve_mask.setVal(0, mask_cpc, 0, 1); // Known values.
Expand Down Expand Up @@ -681,7 +681,7 @@ namespace detail {

const FabArrayBase::CPC mask_cpc( mf_solution, IntVect::TheZeroVector(),
mf_known, IntVect::TheZeroVector(),
fgeom.periodicity() );
cgeom.periodicity() );

solve_mask[d].setVal(1); // Values to solve.
solve_mask[d].setVal(0, mask_cpc, 0, 1); // Known values.
Expand Down

0 comments on commit cdacc4d

Please sign in to comment.