aboutsummaryrefslogtreecommitdiff
path: root/Source/Parallelization/GuardCellManager.H
diff options
context:
space:
mode:
authorGravatar Edoardo Zoni <59625522+EZoni@users.noreply.github.com> 2020-12-02 06:50:03 -0800
committerGravatar GitHub <noreply@github.com> 2020-12-02 06:50:03 -0800
commit16c404ec6918e8264b1def78e0ba3969d96cafad (patch)
treec0e512d4ab75c66dbd669c09c9325f604865bbac /Source/Parallelization/GuardCellManager.H
parent2fbb92dca17e624c6d3c4f51caa412a585b10c32 (diff)
downloadWarpX-16c404ec6918e8264b1def78e0ba3969d96cafad.tar.gz
WarpX-16c404ec6918e8264b1def78e0ba3969d96cafad.tar.zst
WarpX-16c404ec6918e8264b1def78e0ba3969d96cafad.zip
Improve spectral solver on staggered grids (#1468)
* Implement Galilean PSATD equations on staggered grids * Implement high-order interpolation in 2D/3D * Include missing header file and small clean-up * Fix bug for FDTD build * Small clean-up * Modify current correction for staggered grids * Implement comoving PSATD scheme (formulation with rho) * Fix single-precision builds * Do not implement rho-free formulation for comoving PSATD yet * Invert sign of comoving velocity to match Galilean convention * Fix two bugs in comoving PSATD algorithm * Update benchmark of CI test momentum-conserving-gather * Update benchmark of CI test PlasmaAccelerationMR * Update documentation * Clean up comoving PSATD class * Clean up comoving PSATD class (more) * Clean up comoving PSATD class (more) * Implement changes requested in PR review * Add 2D regression test for staggered Galilean PSATD * Add 2D regression test for staggered comoving PSATD * Unify input files for new CI tests to avoid duplication * Fully rebase benchmarks changes on development * Update benchmark of Galilean hybrid test after #1536
Diffstat (limited to 'Source/Parallelization/GuardCellManager.H')
-rw-r--r--Source/Parallelization/GuardCellManager.H1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Parallelization/GuardCellManager.H b/Source/Parallelization/GuardCellManager.H
index 5e9971544..d2f764fbb 100644
--- a/Source/Parallelization/GuardCellManager.H
+++ b/Source/Parallelization/GuardCellManager.H
@@ -47,6 +47,7 @@ public:
const int maxwell_solver_id,
const int max_level,
const amrex::Array<amrex::Real,3> v_galilean,
+ const amrex::Array<amrex::Real,3> v_comoving,
const bool safe_guard_cells);
// Guard cells allocated for MultiFabs E and B