From bc7d45bd169e24c5bdec61b1d245c9700eaac6d5 Mon Sep 17 00:00:00 2001
From: Markus Holzer <markus.holzer@fau.de>
Date: Wed, 21 Aug 2024 08:52:02 +0200
Subject: [PATCH] test

---
 apps/showcases/FlowAroundSphere/FlowAroundSphere.cpp | 4 ++--
 apps/showcases/FlowAroundSphere/Sphere.h             | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/apps/showcases/FlowAroundSphere/FlowAroundSphere.cpp b/apps/showcases/FlowAroundSphere/FlowAroundSphere.cpp
index 9d3ddaf06..303a60d09 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 bbd1560dc..1ebb802a9 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();
-- 
GitLab