From 0d07385292dd4084c190ff1df377d27ae9e89448 Mon Sep 17 00:00:00 2001
From: Sebastian Eibl <sebastian.eibl@fau.de>
Date: Fri, 30 Aug 2019 10:28:22 +0200
Subject: [PATCH] added missing currentBlock property

---
 apps/benchmarks/GranularGas/GenerateModule.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/apps/benchmarks/GranularGas/GenerateModule.py b/apps/benchmarks/GranularGas/GenerateModule.py
index 750dc339f..a6b7696b1 100755
--- a/apps/benchmarks/GranularGas/GenerateModule.py
+++ b/apps/benchmarks/GranularGas/GenerateModule.py
@@ -49,6 +49,9 @@ if __name__ == '__main__':
    ps.addProperty("flags",            "walberla::mesa_pd::data::particle_flags::FlagT", defValue="", syncMode="COPY")
    ps.addProperty("nextParticle",     "int",                     defValue="-1",        syncMode="NEVER")
 
+   ps.addInclude("blockforest/BlockForest.h")
+   ps.addProperty("currentBlock",     "blockforest::Block*",     defValue="nullptr",   syncMode="NEVER")
+
    kernels = []
    kernels.append( kernel.DoubleCast(shapes) )
    kernels.append( kernel.ExplicitEuler() )
-- 
GitLab