l= 1.;
la=2.;

ml=l/10.;

Point(1)= {0,0,0 ,ml};
Point(2)= {la,0,0 ,ml};
Point(3)= {la+l,0,0 ,ml};
Point(4)= {2*la+l,0,0 ,ml};

Line(10)={1,2};
Line(11)={2,3};
Line(12)={3,4};

Transfinite Line{10,11,12}=10 Using Progression 1.0;
//Transfinite Line{10}=10 Using Progression 0.9;
Extrude {0,la,0} {
  Line{10,11,12};
  Recombine;
}

Transfinite Line{13,17,21}=10 Using Progression 1.0;
Extrude {0,l,0} {
  Line{13,17,21};
  Recombine;
}

Transfinite Line{25,29,33}=10 Using Progression 1.0;
Extrude {0,la,0} {
  Line{25,29,33};
  Recombine;
}

Transfinite Line{37,41,45}=10 Using Progression 1.0;






Transfinite Surface {16} = {1,2,6,5};
Transfinite Surface {20} = {2,3,8,6};
Transfinite Surface {24} = {3,4,10,8};
Recombine Surface{16,20,24};

Transfinite Surface {28} = {5,6,12,11};
Transfinite Surface {32} = {6,8,14,12};
Transfinite Surface {36} = {8,10,16,14};
Recombine Surface{28,32,36};

Transfinite Surface {40} = {11,12,18,17};
Transfinite Surface {44} = {12,14,20,18};
Transfinite Surface {48} = {14,16,22,20};
Recombine Surface{40,44,48};


Extrude  {0,0,5*l}{
	Surface{16,20,24};
	Surface{28,32,36};
	Surface{40,44,48};
  Layers { {40}, {1.0} };
  Recombine;
}


Physical Surface(1247) = {158};
Physical Surface(1248) = {32};
Physical Surface(1249) = {70,92,114,180,246,136,202,224};
Physical Surface(1250) = {40,28,16,20,24,36,48,44};
Physical Surface(1251) = {197,219,241};
Physical Surface(1252) = {237,171,105};
Physical Surface(1253) = {101,79,57};
Physical Surface(1254) = {69,135,201};
Physical Volume(2255) = {5};
Physical Volume(2256) = {6,3,2,1,4,7,8,9};
