From dedbcb6299aa93354bc3e24dc61c19782370cadb Mon Sep 17 00:00:00 2001
From: Anna Wellmann <a.wellmann@tu-bs.de>
Date: Wed, 15 Jun 2022 08:41:08 +0000
Subject: [PATCH] Add hasGeometryValues to geo bc again

---
 src/gpu/GridGenerator/grid/GridBuilder/LevelGridBuilder.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gpu/GridGenerator/grid/GridBuilder/LevelGridBuilder.cpp b/src/gpu/GridGenerator/grid/GridBuilder/LevelGridBuilder.cpp
index 4dee776a6..aa593ad7f 100644
--- a/src/gpu/GridGenerator/grid/GridBuilder/LevelGridBuilder.cpp
+++ b/src/gpu/GridGenerator/grid/GridBuilder/LevelGridBuilder.cpp
@@ -113,6 +113,8 @@ void LevelGridBuilder::setVelocityBoundaryCondition(SideType sideType, real vx,
 
 void LevelGridBuilder::setVelocityGeometryBoundaryCondition(real vx, real vy, real vz)
 {
+    geometryHasValues = true;
+    
     for (uint level = 0; level < getNumberOfGridLevels(); level++)
     {
         if (boundaryConditions[level]->geometryBoundaryCondition != nullptr)
-- 
GitLab