From af2d0951c63899f63eda070d7183c9d2578268b1 Mon Sep 17 00:00:00 2001
From: Samuel Kemmler <samuel.kemmler@fau.de>
Date: Wed, 12 Feb 2025 09:49:33 +0100
Subject: [PATCH] Remove gui

---
 apps/example_app/CMakeLists.txt         | 2 +-
 apps/example_app/ExampleApp.cpp         | 4 +---
 apps/example_app_codegen/CMakeLists.txt | 3 +--
 apps/example_app_codegen/ExampleApp.cpp | 4 +---
 4 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/apps/example_app/CMakeLists.txt b/apps/example_app/CMakeLists.txt
index bd54c51..1d450c1 100644
--- a/apps/example_app/CMakeLists.txt
+++ b/apps/example_app/CMakeLists.txt
@@ -2,5 +2,5 @@ waLBerla_link_files_to_builddir( *.prm  *.py)
 
 waLBerla_add_executable ( NAME ExampleApp
                           FILES ExampleApp.cpp
-                          DEPENDS blockforest core field lbm geometry timeloop gui )
+                          DEPENDS blockforest core field lbm geometry timeloop )
 
diff --git a/apps/example_app/ExampleApp.cpp b/apps/example_app/ExampleApp.cpp
index 3cdda97..dff109e 100644
--- a/apps/example_app/ExampleApp.cpp
+++ b/apps/example_app/ExampleApp.cpp
@@ -21,7 +21,6 @@
 #include "blockforest/Initialization.h"
 #include "core/Environment.h"
 #include "field/Field.h"
-#include "gui/Gui.h"
 #include "timeloop/SweepTimeloop.h"
 
 namespace walberla {
@@ -48,8 +47,7 @@ int main( int argc, char ** argv )
 
    
    SweepTimeloop timeloop( blocks, uint_c(1) );
-   GUI gui( timeloop, blocks, argc, argv );
-   gui.run();
+   timeloop.run();
 
    return EXIT_SUCCESS;
 }
diff --git a/apps/example_app_codegen/CMakeLists.txt b/apps/example_app_codegen/CMakeLists.txt
index 3ba77d8..fd53a8a 100644
--- a/apps/example_app_codegen/CMakeLists.txt
+++ b/apps/example_app_codegen/CMakeLists.txt
@@ -7,6 +7,5 @@ waLBerla_generate_target_from_python(NAME LatticeModelGenerated FILE LatticeMode
 
 waLBerla_add_executable ( NAME ExampleAppCodegen
                           FILES ExampleApp.cpp
-                          DEPENDS blockforest core field lbm geometry timeloop gui
-                                  LatticeModelGenerated)
+                          DEPENDS blockforest core field lbm geometry timeloop LatticeModelGenerated)
 
diff --git a/apps/example_app_codegen/ExampleApp.cpp b/apps/example_app_codegen/ExampleApp.cpp
index 3cdda97..dff109e 100644
--- a/apps/example_app_codegen/ExampleApp.cpp
+++ b/apps/example_app_codegen/ExampleApp.cpp
@@ -21,7 +21,6 @@
 #include "blockforest/Initialization.h"
 #include "core/Environment.h"
 #include "field/Field.h"
-#include "gui/Gui.h"
 #include "timeloop/SweepTimeloop.h"
 
 namespace walberla {
@@ -48,8 +47,7 @@ int main( int argc, char ** argv )
 
    
    SweepTimeloop timeloop( blocks, uint_c(1) );
-   GUI gui( timeloop, blocks, argc, argv );
-   gui.run();
+   timeloop.run();
 
    return EXIT_SUCCESS;
 }
-- 
GitLab