1
// define a layer variable
6
// define a len variable
9
Point(1) = {0.0, 0.0, 0.0, 1.0};
11
Extrude {len, 0.0, 0.0} {
12
Point{1}; Layers{lay_x};
15
Extrude {0.0, len, 0.0} {
16
Line{1}; Layers{lay_y};
19
Extrude {0.0, 0.0, len} {
20
Surface{5}; Layers{lay_z};
24
Physical Surface(1) = {5};
27
Physical Surface(2) = {27};
30
Physical Surface(3) = {26};
33
Physical Surface(4) = {18};
36
Physical Surface(5) = {14};
39
Physical Surface(6) = {22};
41
Physical Volume(1) = {1};