diff options
author | 2021-04-21 00:27:03 -0700 | |
---|---|---|
committer | 2021-04-21 00:27:03 -0700 | |
commit | 255bffbc283d94197a929d34697acccc416938d1 (patch) | |
tree | 34ac5ad12f6bd2201a2beff45f720e2814ef1a6e /Source/FieldSolver/FiniteDifferenceSolver/ApplySilverMuellerBoundary.cpp | |
parent | 76f889a35203e53530df3be9b3d072cfd35bdd81 (diff) | |
download | WarpX-255bffbc283d94197a929d34697acccc416938d1.tar.gz WarpX-255bffbc283d94197a929d34697acccc416938d1.tar.zst WarpX-255bffbc283d94197a929d34697acccc416938d1.zip |
Fix LoadBalance + MR: Rebuild Particle Masks (#1904)
In MR simulations, particle masks are used to determine if a
fine-patch particle is in the field gather and/or current deposition
buffer regions near the coarse/fine boundaries. This is needed
because some particles deposit to / gather from the coarse level,
since they are near the level boundaries.
On regriding during load-balancing, we can avoid to communicate the
`MultiFab`s for those masks (gather and deposit) if we locally
re-build the mask in the new distribution mapping. We forgot to
trigger the rebuild, which caused illegal memory accesses in the
particle evolve (partition) down the road.
Diffstat (limited to 'Source/FieldSolver/FiniteDifferenceSolver/ApplySilverMuellerBoundary.cpp')
0 files changed, 0 insertions, 0 deletions