From 3092dba585ded10298aa99f445fbb4ef0656b9c3 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Fri, 11 Oct 2013 20:26:21 +0000 Subject: [PATCH] --- demos/cube.geo | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/demos/cube.geo b/demos/cube.geo index 387347cf2a..930e3d5735 100644 --- a/demos/cube.geo +++ b/demos/cube.geo @@ -9,7 +9,9 @@ Line(3) = {2,1}; Line(4) = {1,4}; Line Loop(5) = {2,3,4,1}; Plane Surface(6) = {5}; -Extrude {0,0.0,1} { +tmp[] = Extrude {0,0.0,1} { Surface{6}; -} -Show "*"; +}; +Physical Volume(1) = tmp[1]; + + -- GitLab