cl = 0.25;

// 8 cube points
Point(1) = { -0.5, -0.5, -0.5, cl };
Point(2) = { -0.5, -0.5,  0.5, cl };
Point(3) = { -0.5,  0.5,  0.5, cl };
Point(4) = { -0.5,  0.5, -0.5, cl };
Point(5) = {  0.5, -0.5, -0.5, cl };
Point(6) = {  0.5, -0.5,  0.5, cl };
Point(7) = {  0.5,  0.5,  0.5, cl };
Point(8) = {  0.5,  0.5, -0.5, cl };

// 12 cube lines
Line( 1) = { 1, 2 };
Line( 2) = { 2, 3 };
Line( 3) = { 3, 4 };
Line( 4) = { 4, 1 };
Line( 5) = { 5, 6 };
Line( 6) = { 6, 7 };
Line( 7) = { 7, 8 };
Line( 8) = { 8, 5 };
Line( 9) = { 1, 5 };
Line(10) = { 2, 6 };
Line(11) = { 3, 7 };
Line(12) = { 4, 8 };

// 6 line loops and surfaces
Line Loop(1) = {  -1,  -4,  -3,  -2 };
Line Loop(2) = {   5,   6,   7,   8 };
Line Loop(3) = {   1,  10,  -5,  -9 };
Line Loop(4) = {   3,  12,  -7, -11 };
Line Loop(5) = {   2,  11,  -6, -10 };
Line Loop(6) = {   4,   9,  -8, -12 };

Plane Surface(1) = {1};
Plane Surface(2) = {2};
Plane Surface(3) = {3};
Plane Surface(4) = {4};
Plane Surface(5) = {5};
Plane Surface(6) = {6};

// 1 surface and volume
Surface Loop(1) = {1, 2, 3, 4, 5, 6};
Volume(1) = {1};

Physical Volume(1) = {1};
