diff options
author | 2022-08-12 14:04:54 -0700 | |
---|---|---|
committer | 2022-08-12 14:04:54 -0700 | |
commit | 1ed58acbee55bfa93918e89d7dd618177fb314e8 (patch) | |
tree | cb4a0c7d3eed6780a1ec6a810e7c1a87c2181f5c /Source/FieldSolver/SpectralSolver/SpectralFieldData.cpp | |
parent | 7545b3c28acfa9d5ea8d3b8c600020a5bf4f3008 (diff) | |
download | WarpX-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.cpp | 4 |
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()); |