diff options
author | 2019-10-21 13:55:18 -0400 | |
---|---|---|
committer | 2019-10-21 13:55:18 -0400 | |
commit | 40a05a827bc553e99157ac5cab3fb343ea832004 (patch) | |
tree | b6d668e62a38028b30c604ac3c7e8e028e500401 /Source/Particles/MultiParticleContainer.cpp | |
parent | afd397c38c8e79dbb5939a67438af5a519866f11 (diff) | |
download | WarpX-40a05a827bc553e99157ac5cab3fb343ea832004.tar.gz WarpX-40a05a827bc553e99157ac5cab3fb343ea832004.tar.zst WarpX-40a05a827bc553e99157ac5cab3fb343ea832004.zip |
use RedistributeCPU to avoid issue with runtime components on GPU
Diffstat (limited to '')
-rw-r--r-- | Source/Particles/MultiParticleContainer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Particles/MultiParticleContainer.cpp b/Source/Particles/MultiParticleContainer.cpp index 5d898c11a..7d4081def 100644 --- a/Source/Particles/MultiParticleContainer.cpp +++ b/Source/Particles/MultiParticleContainer.cpp @@ -310,7 +310,7 @@ void MultiParticleContainer::Redistribute () { for (auto& pc : allcontainers) { - pc->Redistribute(); + pc->RedistributeCPU(); } } @@ -318,7 +318,7 @@ void MultiParticleContainer::RedistributeLocal (const int num_ghost) { for (auto& pc : allcontainers) { - pc->Redistribute(0, 0, 0, num_ghost); + pc->RedistributeCPU(0, 0, 0, num_ghost); } } |