Skip to content

Commit

Permalink
Handled ng_FieldGather when bilinear filtering of E/B is used
Browse files Browse the repository at this point in the history
  • Loading branch information
oshapoval committed Dec 19, 2024
1 parent 29e5292 commit 5a5f901
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/Parallelization/GuardCellManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,9 @@ guardCellManager::Init (
// separately.
ng_FieldGather = ng_FieldGather_noNCI + ng_NCIFilter;

if (use_filter) {
ng_FieldGather += bilinear_filter_stencil_length - amrex::IntVect(1);
}
// Guard cells for auxiliary grid.
// Not sure why there is a 2* here...
ng_UpdateAux = 2*ng_FieldGather_noNCI + ng_NCIFilter;
Expand Down

0 comments on commit 5a5f901

Please sign in to comment.