cl = 0.1;
Point ( 1) = {0,0,0,cl};
Point ( 2) = {6,0,0,cl};
Point ( 3) = {6,6,0,cl};
Point ( 4) = {0,6,0,cl};

Point ( 5) = {2,1,0,cl};
Point ( 6) = {4,1,0,cl};
Point ( 7) = {4,2,0,cl};
Point ( 8) = {2,2,0,cl};

Point ( 9) = {1,4,0,cl};
Point (10) = {5,4,0,cl};
Point (11) = {5,5,0,cl};
Point (12) = {1,5,0,cl};

BSpline (30) = {1,2,3,4,1};
BSpline (31) = {5,6,7,8,5};
BSpline (32) = {9,10,11,12,9};
Line Loop (33) = {30};
Line Loop (34) = {31};
Line Loop (35) = {32};
Plane Surface(28) = {33,34,35};

Field[1] = Attractor;
Field[1].EdgesList = {30,31,32};
Field[1].NNodesByEdge = 250;

Field[2] = Threshold;
Field[2].IField  = 1;
Field[2].LcMin   = 0.025;
Field[2].LcMax   = 0.25;
Field[2].DistMin = 0.1;
Field[2].DistMax = 2.0;
Field[2].Sigmoid = 0;

Field[3] = Attractor;
Field[3].EdgesList = {30};
Field[3].NNodesByEdge = 100;

Field[4] = Threshold;
Field[4].IField  = 3;
Field[4].LcMin   = 0.025;
Field[4].LcMax   = 0.25;
Field[4].DistMin = 0.1;
Field[4].DistMax = 2.0;
Field[4].Sigmoid = 0;

Field[5] = Attractor;
Field[5].EdgesList = {31};
Field[5].NNodesByEdge = 100;

Field[6] = Threshold;
Field[6].IField  = 5;
Field[6].LcMin   = 0.025;
Field[6].LcMax   = 0.25;
Field[6].DistMin = 0.1;
Field[6].DistMax = 2.0;
Field[6].Sigmoid = 0;

Field[7] = Attractor;
Field[7].EdgesList = {32};
Field[7].NNodesByEdge = 100;

Field[8] = Threshold;
Field[8].IField  = 7;
Field[8].LcMin   = 0.025;
Field[8].LcMax   = 0.25;
Field[8].DistMin = 0.1;
Field[8].DistMax = 2.0;
Field[8].Sigmoid = 0;

Field[9] = Min; 
Field[9].FieldsList = {2,4,6,8};

Background Field = 9;
