Skip to content
Snippets Groups Projects
Commit bc7d45bd authored by Markus Holzer's avatar Markus Holzer
Browse files

test

parent 82122730
Branches develop
No related tags found
No related merge requests found
Pipeline #68602 canceled
...@@ -151,7 +151,7 @@ int main(int argc, char** argv) ...@@ -151,7 +151,7 @@ int main(int argc, char** argv)
const memory_t totalMemory = memory_t(nCells) * setup.memoryPerCell; const memory_t totalMemory = memory_t(nCells) * setup.memoryPerCell;
WALBERLA_LOG_INFO_ON_ROOT( "Benchmark run data:" WALBERLA_LOG_INFO_ON_ROOT( "Benchmark run data:"
"\n- simulation parameters:" "\n- simulation parameters:" << std::setprecision(16) <<
"\n + collision model: " << infoMap["collisionOperator"] << "\n + collision model: " << infoMap["collisionOperator"] <<
"\n + stencil: " << infoMap["stencil"] << "\n + stencil: " << infoMap["stencil"] <<
"\n + streaming: " << infoMap["streamingPattern"] << "\n + streaming: " << infoMap["streamingPattern"] <<
...@@ -504,7 +504,7 @@ int main(int argc, char** argv) ...@@ -504,7 +504,7 @@ int main(int argc, char** argv)
} }
WALBERLA_LOG_INFO_ON_ROOT( "Benchmark run data:" WALBERLA_LOG_INFO_ON_ROOT( "Benchmark run data:"
"\n- simulation parameters:" "\n- simulation parameters:" << std::setprecision(16) <<
"\n + collision model: " << infoMap["collisionOperator"] << "\n + collision model: " << infoMap["collisionOperator"] <<
"\n + stencil: " << infoMap["stencil"] << "\n + stencil: " << infoMap["stencil"] <<
"\n + streaming: " << infoMap["streamingPattern"] << "\n + streaming: " << infoMap["streamingPattern"] <<
......
...@@ -121,6 +121,8 @@ class SphereRefinementSelection ...@@ -121,6 +121,8 @@ class SphereRefinementSelection
void operator()(SetupBlockForest& forest) void operator()(SetupBlockForest& forest)
{ {
if(level_ == 0)
return;
for (auto block = forest.begin(); block != forest.end(); ++block) for (auto block = forest.begin(); block != forest.end(); ++block)
{ {
const AABB& aabb = block->getAABB(); const AABB& aabb = block->getAABB();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment