diff --git a/apps/showcases/FlowAroundSphere/FlowAroundSphere.cpp b/apps/showcases/FlowAroundSphere/FlowAroundSphere.cpp index 9d3ddaf064f21d10286c7923becb71069d999768..303a60d0942173548c19fd2d375737d7c9d6d83c 100644 --- a/apps/showcases/FlowAroundSphere/FlowAroundSphere.cpp +++ b/apps/showcases/FlowAroundSphere/FlowAroundSphere.cpp @@ -151,7 +151,7 @@ int main(int argc, char** argv) const memory_t totalMemory = memory_t(nCells) * setup.memoryPerCell; WALBERLA_LOG_INFO_ON_ROOT( "Benchmark run data:" - "\n- simulation parameters:" + "\n- simulation parameters:" << std::setprecision(16) << "\n + collision model: " << infoMap["collisionOperator"] << "\n + stencil: " << infoMap["stencil"] << "\n + streaming: " << infoMap["streamingPattern"] << @@ -504,7 +504,7 @@ int main(int argc, char** argv) } WALBERLA_LOG_INFO_ON_ROOT( "Benchmark run data:" - "\n- simulation parameters:" + "\n- simulation parameters:" << std::setprecision(16) << "\n + collision model: " << infoMap["collisionOperator"] << "\n + stencil: " << infoMap["stencil"] << "\n + streaming: " << infoMap["streamingPattern"] << diff --git a/apps/showcases/FlowAroundSphere/Sphere.h b/apps/showcases/FlowAroundSphere/Sphere.h index bbd1560dc3bd8a0c21528561e6c49c1247e401ed..1ebb802a94561a0b35c0e7b226428be338dd2076 100644 --- a/apps/showcases/FlowAroundSphere/Sphere.h +++ b/apps/showcases/FlowAroundSphere/Sphere.h @@ -121,6 +121,8 @@ class SphereRefinementSelection void operator()(SetupBlockForest& forest) { + if(level_ == 0) + return; for (auto block = forest.begin(); block != forest.end(); ++block) { const AABB& aabb = block->getAABB();