aboutsummaryrefslogtreecommitdiff
path: root/Source/Parallelization/WarpXRegrid.cpp
diff options
context:
space:
mode:
authorGravatar MaxThevenet <mthevenet@lbl.gov> 2019-09-11 12:20:06 -0600
committerGravatar GitHub <noreply@github.com> 2019-09-11 12:20:06 -0600
commit321a2c763a741c9674bdf7b28332271324221dde (patch)
tree9f81ea5e8475ab5bd1e769d7865fc7fd492d06eb /Source/Parallelization/WarpXRegrid.cpp
parentf6ccb0e34fd2125fd0d933604efc5ed23eb18a71 (diff)
parentfd848331f2fd6af8c56a0027cc5f088286e347c4 (diff)
downloadWarpX-321a2c763a741c9674bdf7b28332271324221dde.tar.gz
WarpX-321a2c763a741c9674bdf7b28332271324221dde.tar.zst
WarpX-321a2c763a741c9674bdf7b28332271324221dde.zip
Merge pull request #333 from ax3l/topic-eolWhitespaceSource
Source & Tools: No EOL Whitespaces
Diffstat (limited to 'Source/Parallelization/WarpXRegrid.cpp')
-rw-r--r--Source/Parallelization/WarpXRegrid.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Parallelization/WarpXRegrid.cpp b/Source/Parallelization/WarpXRegrid.cpp
index 9b3baafe1..c737591c7 100644
--- a/Source/Parallelization/WarpXRegrid.cpp
+++ b/Source/Parallelization/WarpXRegrid.cpp
@@ -33,11 +33,11 @@ WarpX::RemakeLevel (int lev, Real time, const BoxArray& ba, const DistributionMa
{
if (ParallelDescriptor::NProcs() == 1) return;
-#ifdef WARPX_DO_ELECTROSTATIC
+#ifdef WARPX_DO_ELECTROSTATIC
AMREX_ALWAYS_ASSERT(masks[lev] == nullptr);
AMREX_ALWAYS_ASSERT(gather_masks[lev] == nullptr);
#endif // WARPX_DO_ELECTROSTATIC
-
+
// Fine patch
const auto& period = Geom(lev).periodicity();
@@ -203,7 +203,7 @@ WarpX::RemakeLevel (int lev, Real time, const BoxArray& ba, const DistributionMa
auto pmf = std::unique_ptr<iMultiFab>(new iMultiFab(current_buffer_masks[lev]->boxArray(),
dm, current_buffer_masks[lev]->nComp(), ng));
// pmf->ParallelCopy(*current_buffer_masks[lev], 0, 0, current_buffer_masks[lev]->nComp(), ng, ng);
- current_buffer_masks[lev] = std::move(pmf);
+ current_buffer_masks[lev] = std::move(pmf);
}
if (gather_buffer_masks[lev])
{
@@ -211,7 +211,7 @@ WarpX::RemakeLevel (int lev, Real time, const BoxArray& ba, const DistributionMa
auto pmf = std::unique_ptr<iMultiFab>(new iMultiFab(gather_buffer_masks[lev]->boxArray(),
dm, gather_buffer_masks[lev]->nComp(), ng));
// pmf->ParallelCopy(*gather_buffer_masks[lev], 0, 0, gather_buffer_masks[lev]->nComp(), ng, ng);
- gather_buffer_masks[lev] = std::move(pmf);
+ gather_buffer_masks[lev] = std::move(pmf);
}
}