Skip to content
Snippets Groups Projects
Commit 105697dd authored by Sebastian Eibl's avatar Sebastian Eibl
Browse files

[IMPROVEMENT] removed reinitialization of BufferSystem

parent 5193cae1
No related merge requests found
...@@ -51,7 +51,8 @@ void SyncNextNeighborsBlockForest::operator()(data::ParticleStorage& ps, ...@@ -51,7 +51,8 @@ void SyncNextNeighborsBlockForest::operator()(data::ParticleStorage& ps,
{ {
if (numProcesses_ == 1) return; if (numProcesses_ == 1) return;
bs = walberla::mpi::BufferSystem( walberla::mpi::MPIManager::instance()->comm() ); WALBERLA_CHECK(!bs.isCommunicationRunning());
WALBERLA_CHECK_EQUAL(bs.size(), 0);
for (auto& blk : bf->getBlockMap()) for (auto& blk : bf->getBlockMap())
{ {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment