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

default parameters now use buffer processes

parent 74c2c5d7
No related merge requests found
......@@ -65,7 +65,7 @@ shared_ptr<BlockForest> createBlockForest(const math::AABB simulationDomain,
WALBERLA_LOG_INFO_ON_ROOT( "Balancing for " << numberOfProcesses << " processes...");
sforest.balanceLoad( blockforest::StaticLevelwiseCurveBalance(true), numberOfProcesses );
sforest.balanceLoad( blockforest::StaticLevelwiseCurveBalance(true), numberOfProcesses, real_t(0), memory_t(0), false, true );
return shared_ptr< BlockForest >( new BlockForest( uint_c( MPIManager::instance()->rank() ), sforest, false ) );
}
......@@ -117,7 +117,7 @@ shared_ptr<BlockForest> createBlockForest(const math::AABB simulationDomain,
sforest.init( simulationDomain, blocks[0], blocks[1], blocks[2], isPeriodic[0], isPeriodic[1], isPeriodic[2] );
// calculate process distribution
sforest.balanceLoad( blockforest::StaticLevelwiseCurveBalance(true), numberOfProcesses );
sforest.balanceLoad( blockforest::StaticLevelwiseCurveBalance(true), numberOfProcesses, real_t(0), memory_t(0), false, true );
sforest.saveToFile( sbffile.c_str() );
......
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