aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/SpectralSolver/SpectralFieldData.cpp
diff options
context:
space:
mode:
authorGravatar Edoardo Zoni <59625522+EZoni@users.noreply.github.com> 2022-08-12 14:04:54 -0700
committerGravatar GitHub <noreply@github.com> 2022-08-12 14:04:54 -0700
commit1ed58acbee55bfa93918e89d7dd618177fb314e8 (patch)
treecb4a0c7d3eed6780a1ec6a810e7c1a87c2181f5c /Source/FieldSolver/SpectralSolver/SpectralFieldData.cpp
parent7545b3c28acfa9d5ea8d3b8c600020a5bf4f3008 (diff)
downloadWarpX-1ed58acbee55bfa93918e89d7dd618177fb314e8.tar.gz
WarpX-1ed58acbee55bfa93918e89d7dd618177fb314e8.tar.zst
WarpX-1ed58acbee55bfa93918e89d7dd618177fb314e8.zip
Fill Guard Cells of Fields and Currents Independently (#3302)
* Fill Guard Cells of Fields and Currents Independently * Fill Guard Cells of Averaged Fields as Regular Fields
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralFieldData.cpp')
-rw-r--r--Source/FieldSolver/SpectralSolver/SpectralFieldData.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/FieldSolver/SpectralSolver/SpectralFieldData.cpp b/Source/FieldSolver/SpectralSolver/SpectralFieldData.cpp
index 460e2cc3b..00346a2c7 100644
--- a/Source/FieldSolver/SpectralSolver/SpectralFieldData.cpp
+++ b/Source/FieldSolver/SpectralSolver/SpectralFieldData.cpp
@@ -310,8 +310,8 @@ void
SpectralFieldData::BackwardTransform (const int lev,
MultiFab& mf,
const int field_index,
- const int i_comp,
- const amrex::IntVect& fill_guards)
+ const amrex::IntVect& fill_guards,
+ const int i_comp)
{
amrex::LayoutData<amrex::Real>* cost = WarpX::getCosts(lev);
bool do_costs = WarpXUtilLoadBalance::doCosts(cost, mf.boxArray(), mf.DistributionMap());