Skip to content
Snippets Groups Projects
Commit 3941c6d2 authored by Henrik Asmuth's avatar Henrik Asmuth
Browse files

switch off streams and reducedComm in BoundaryLayer

parent a16005b8
No related branches found
No related tags found
1 merge request!160Do not add empty entries to sendProcessNeighbors (MultiGPU)
...@@ -180,7 +180,8 @@ void multipleLevel(const std::string& configPath) ...@@ -180,7 +180,8 @@ void multipleLevel(const std::string& configPath)
para->setDensityRatio( 1.0 ); para->setDensityRatio( 1.0 );
bool useStreams = (nProcs > 1 ? true: false); bool useStreams = (nProcs > 1 ? true: false);
para->setUseStreams(true); para->setUseStreams(false);
para->useReducedCommunicationAfterFtoC = false;
para->setMainKernel("CumulantK17CompChimRedesigned"); para->setMainKernel("CumulantK17CompChimRedesigned");
para->setIsBodyForce( config.getValue<bool>("bodyForce") ); para->setIsBodyForce( config.getValue<bool>("bodyForce") );
para->setTimestepStartOut(uint(tStartOut/dt) ); para->setTimestepStartOut(uint(tStartOut/dt) );
...@@ -227,7 +228,7 @@ void multipleLevel(const std::string& configPath) ...@@ -227,7 +228,7 @@ void multipleLevel(const std::string& configPath)
if(true)// Add refinement if(true)// Add refinement
{ {
gridBuilder->setNumberOfLayers(12, 8); gridBuilder->setNumberOfLayers(12, 8);
gridBuilder->addGrid( new Cuboid( xGridMin, 0.0, 0.0, xGridMax, L_y, L_z*0.2) , 1 ); gridBuilder->addGrid( new Cuboid( xGridMin+500.f, 0.0, 0.0, xGridMax-500.f, L_y, L_z*0.2) , 1 );
para->setMaxLevel(2); para->setMaxLevel(2);
scalingFactory.setScalingFactory(GridScalingFactory::GridScaling::ScaleCompressible); scalingFactory.setScalingFactory(GridScalingFactory::GridScaling::ScaleCompressible);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment