/* Définition des paramètres */
s       = 1.;
dxCore  = 50.e-3;
dyCore  = 75.e-3;
pCore   = 4.e-3*s;

xInd    = 75.e-3;
dxInd   = 25.e-3;
dyInd   = 50.e-3;
pIndx   = 5.e-3*s;
pIndy   = 5.e-3*s;

xExt    = 100.e-3;
yExt    = 150.e-3;
dxExt   = 50.e-3;
dyExt   = 50.e-3;
pExt    = 12.e-3*s;

/*Définition des points */
Point(1) 	= {0, 0, 0, pCore};
Point(2) 	= {dxCore, 0, 0, pCore};
Point(3) 	= {dxCore, dyCore, 0, pCore};
Point(4) 	= {0, dyCore, 0, pCore};
Point(5) 	= {xInd, 0, 0, pIndx};
Point(6) 	= {xInd+dxInd, 0, 0, pIndx};
Point(7) 	= {xInd+dxInd, dyInd, 0, pIndy};
Point(8)	= {xInd, dyInd, 0, pIndy};
Point(10) = {xExt+dxExt, 0, 0, pExt};
Point(12) = {0, yExt, 0, pExt};
Point(13) = {xInd+dxInd, yExt-dyExt, 0, pExt}; 
Point(14) = {xExt+dxExt, yExt, 0, pExt};
Point(15) = {dxCore, yExt-dyExt, 0, pExt};

/* Définition des lignes */
Line (1)	= {1, 2};
Line (2)	= {2, 5};
Line (3)	= {5, 6};
Line (5)	= {6, 10};
Line (6)	= {1, 4};
Line (8)	= {4, 12};
Line (9)	= {2, 3};
Line (10)	= {3, 4};
Line (11)	= {6, 7};
Line (12)	= {7, 8};
Line (13)	= {8, 5};
Line (14)	= {7, 13};
Line (15)	= {13, 15};
Line (16)	= {15, 3};
Line (17)	= {10, 14};
Line (18)	= {14, 12};

/* Définition des surfaces */
Line Loop (16)	= {-6, 1, 9, 10};                       //Core
Plane Surface (17)	= {16};                             //Core 

Line Loop (18)	= {11, 12, 13, 3};                      //Ind
Plane Surface (19)	= {18};                             //Ind

Line Loop (20)	= {-16, -15, -14, 12, 13, -2, 9};       //Air
Plane Surface (21)	= {20};                             //Air

Line Loop (22)	= {8, -18, -17, -5, 11, 14, 15, 16, 10};  //AirInf
Plane Surface (23)	= {22};                               //AirInf

/* Définition des entités physiques */
Physical Surface (101)	= {21};						//Air
Physical Surface (102)	= {17};						//Core
Physical Surface (103)	= {19};						//Ind
Physical Surface (111)	= {23};						//AirInf

Physical Line (1100)	= {1, 2, 3, 5};			//SurfaceGh0
Physical Line (1101)	= {6, 8};			 			//SurfaceGe0
Physical Line (1102)	= {17, 18};					//SurfaceGInf
