diff --git a/demos/cube.geo b/demos/cube.geo index 387347cf2ab0e31b63f12c306497ddf45649a04b..930e3d5735a1fc2e085498e06cd66e1252a0874e 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]; + +