/**********************************************************************
 *
 * cube.geo
 *
 * Copyright (C) 2012 Idesbald Van den Bosch
 *
lc = 0.3;
lxx = 3.0;
lyy = 3.0;
lzz = 5.0;

Point(1) = {0.0, 0.0, 0.0, lc};
Point(2) = {0.0, -lyy, 0.0, lc};
Point(3) = {-lxx, -lyy, 0.0, lc};
Point(4) = {-lxx, 0.0, 0.0, lc};
Point(5) = {0.0, 0.0, lzz, lc};
Point(6) = {0.0, -lyy, lzz, lc};
Point(7) = {-lxx, -lyy, lzz, lc};
Point(8) = {-lxx, 0.0, lzz, lc};

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};

Line Loop (21) = {1, 2, 3, 4};
Plane Surface (21) = {21};
Line Loop (22) = {5, 6, 7, 8};
Plane Surface (22) = {22};
Line Loop (23) = {1, 10, -5, -9};
Plane Surface (23) = {23};
Line Loop (24) = {2, 11, -6, -10};
Plane Surface (24) = {24};
Line Loop (25) = {3, 12, -7, -11};
Plane Surface (25) = {25};
Line Loop (26) = {4, 9, -8, -12};
Plane Surface (26) = {26};
Mesh.Partitioner = 2;
Mesh.MetisAlgorithm = 1;
Mesh.MetisEdgeMatching = 3;
Mesh.NbPartitions = 10;
