1 // radius, height in nanometers
9 Point(1) = { 0, 0, h/2.,l};
10 Point(2) = { 0, 0, -h/2.,l};
12 // Upper circle arc limits
13 Point(3) = { R, 0, h/2.,l};
14 Point(4) = { 0, R, h/2.,l};
15 Point(5) = {-R, 0, h/2.,l};
16 Point(6) = { 0, -R, h/2.,l};
19 Circle(1) = {3, 1, 4};
20 Circle(2) = {4, 1, 5};
21 Circle(3) = {5, 1, 6};
22 Circle(4) = {6, 1, 3};
24 // Lower circle arc limits
25 Point(7) = { R, 0, -h/2.,l};
26 Point(8) = { 0, R, -h/2.,l};
27 Point(9) = {-R, 0, -h/2.,l};
28 Point(10) = { 0, -R, -h/2.,l};
31 Circle(5) = { 7, 2, 8};
32 Circle(6) = { 8, 2, 9};
33 Circle(7) = { 9, 2, 10};
34 Circle(8) = {10, 2, 7};
41 Line Loop(13) = {1, 2, 3, 4};
42 Line Loop(14) = {5, 6, 7, 8};
44 Line Loop(15) = {1, 10, -5, -9};
45 Line Loop(16) = {2, 11, -6, -10};
46 Line Loop(17) = {3, 12, -7, -11};
47 Line Loop(18) = {4, 9, -8, -12};
49 Ruled Surface(19) = {13};
50 Ruled Surface(20) = {14};
51 Ruled Surface(21) = {15};
52 Ruled Surface(22) = {16};
53 Ruled Surface(23) = {17};
54 Ruled Surface(24) = {18};
58 Physical Surface(1) = {19,20,21,22,23,24};