aboutsummaryrefslogtreecommitdiff
path: root/Source/Parallelization/WarpXRegrid.cpp
diff options
context:
space:
mode:
authorGravatar Andrew Myers <atmyers@lbl.gov> 2021-01-29 13:13:14 -0800
committerGravatar GitHub <noreply@github.com> 2021-01-29 13:13:14 -0800
commitdb1f84048453b7f6fabaf2385cae2424f7f86284 (patch)
tree604da3534a3c2f655bdf1e542912615c4e48da1b /Source/Parallelization/WarpXRegrid.cpp
parentec91521ebcab564566e688eb3e1f3bdae580c298 (diff)
downloadWarpX-db1f84048453b7f6fabaf2385cae2424f7f86284.tar.gz
WarpX-db1f84048453b7f6fabaf2385cae2424f7f86284.tar.zst
WarpX-db1f84048453b7f6fabaf2385cae2424f7f86284.zip
make sure we redefine the tmp particle tiles when we load balance. (#1658)
Diffstat (limited to 'Source/Parallelization/WarpXRegrid.cpp')
-rw-r--r--Source/Parallelization/WarpXRegrid.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Parallelization/WarpXRegrid.cpp b/Source/Parallelization/WarpXRegrid.cpp
index b5fd96fb3..c89aa2946 100644
--- a/Source/Parallelization/WarpXRegrid.cpp
+++ b/Source/Parallelization/WarpXRegrid.cpp
@@ -93,6 +93,7 @@ WarpX::LoadBalance ()
if (doLoadBalance)
{
mypc->Redistribute();
+ mypc->defineAllParticleTiles();
}
#endif
}