From d1f7f1477d05f2d91169777a59cd8b0791de4b54 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Thu, 25 Feb 2016 19:49:33 +0000
Subject: [PATCH] nicer

---
 tutorial/t13.geo | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tutorial/t13.geo b/tutorial/t13.geo
index feebcb7c32..61edda77b7 100644
--- a/tutorial/t13.geo
+++ b/tutorial/t13.geo
@@ -47,17 +47,17 @@ Field[1].F = "2.5";
 Background Field = 1;
 
 DefineConstant[
-  funny = {0, Choices{0,1}, Name "Apply funny mesh size field?"},
-  hide = {0, Choices{0,1}, Name "Hide compound sub-entities"}
+  funny = {0, Choices{0,1},
+    Name "Parameters/Apply funny mesh size field?"},
+  hide = {Geometry.HideCompounds, Choices{0,1},
+    AutoCheck 0, GmshOption "Geometry.HideCompounds",
+    Name "Parameters/Hide compound sub-entities"}
 ];
 
 If(funny)
   Field[1].F = "2*Sin((x+y)/5) + 3";
 EndIf
 
-DefineConstant[  ];
-
 Mesh.RemeshAlgorithm = 1; // automatic
 Mesh.RemeshParametrization = 7; // conformal finite element
-Geometry.HideCompounds = hide; // hide the compound sub-entities?
 Mesh.Algorithm = 6; // Frontal
-- 
GitLab