aboutsummaryrefslogtreecommitdiff
path: root/Source/Parallelization/GuardCellManager.H
diff options
context:
space:
mode:
authorGravatar Andrew Myers <atmyers@lbl.gov> 2021-10-25 14:20:15 -0700
committerGravatar GitHub <noreply@github.com> 2021-10-25 14:20:15 -0700
commit3ef89c687399c2724ceba1841e35bb6acbca9b00 (patch)
treecaceddf710b5435aa5164b19dce54547fa978b71 /Source/Parallelization/GuardCellManager.H
parenta247bd0091d8f188d6ff40695688c3e2fc64ba84 (diff)
downloadWarpX-3ef89c687399c2724ceba1841e35bb6acbca9b00.tar.gz
WarpX-3ef89c687399c2724ceba1841e35bb6acbca9b00.tar.zst
WarpX-3ef89c687399c2724ceba1841e35bb6acbca9b00.zip
Bugfixes for ref_ratio = 4 in the moving window direction. (#2452)
* Bugfixes for ref_ratio = 4 in the moving window direction. * == should be <= * only adjust guard cells for moving window by ref_ratio if nlevs > 1 * restore logic to always have at least 2 grow cells if moving window is on * remove comment about this not being needed on level 0 - it does.
Diffstat (limited to 'Source/Parallelization/GuardCellManager.H')
-rw-r--r--Source/Parallelization/GuardCellManager.H3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Parallelization/GuardCellManager.H b/Source/Parallelization/GuardCellManager.H
index 0567a4162..34ac4eba8 100644
--- a/Source/Parallelization/GuardCellManager.H
+++ b/Source/Parallelization/GuardCellManager.H
@@ -55,7 +55,8 @@ public:
const bool safe_guard_cells,
const int do_electrostatic,
const int do_multi_J,
- const bool fft_do_time_averaging);
+ const bool fft_do_time_averaging,
+ const amrex::Vector<amrex::IntVect>& ref_ratios);
// Guard cells allocated for MultiFabs E and B
amrex::IntVect ng_alloc_EB = amrex::IntVect::TheZeroVector();