From 2234606d317bbd5b70fff9bfffc7ba5be099abf8 Mon Sep 17 00:00:00 2001
From: Oliver Sander <oliver.sander@tu-dresden.de>
Date: Fri, 3 May 2019 10:54:21 +0200
Subject: [PATCH] 'structuredGrid'-parameter has to be 'cube' now

This used to be a yes/no, parameter, now we require 'cube'
rather that 'yes' or 'true'.
---
 src/cosserat-continuum.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/cosserat-continuum.cc b/src/cosserat-continuum.cc
index 02a98b9f..74f82010 100644
--- a/src/cosserat-continuum.cc
+++ b/src/cosserat-continuum.cc
@@ -158,7 +158,8 @@ int main (int argc, char *argv[]) try
 
     FieldVector<double,dimworld> lower(0), upper(1);
 
-    if (parameterSet.get<bool>("structuredGrid")) {
+    std::string structuredGridType = parameterSet["structuredGrid"];
+    if (structuredGridType == "cube") {
 
         lower = parameterSet.get<FieldVector<double,dimworld> >("lower");
         upper = parameterSet.get<FieldVector<double,dimworld> >("upper");
-- 
GitLab