Interface LaTeX pour gmsh, et gmshVoronoi, résulat dans test
[delaunay.git] / test / maillage.geo
diff --git a/test/maillage.geo b/test/maillage.geo
new file mode 100644 (file)
index 0000000..c1c3dbe
--- /dev/null
@@ -0,0 +1,26 @@
+// http://perso.ensta-paristech.fr/~kielbasi/docs/gmsh.pdf
+lc =0.2; // parametre de taille de maille
+// generation du rectangle
+Point (1) = {0, 0, 0, lc} ;
+Point (2) = {2, 0, 0, lc} ;
+Point (3) = {2, 1, 0, lc} ;
+Point (4) = {0, 1, 0, lc} ;
+Line (1) = {1, 2};
+Line (2) = {2, 3};
+Line (3) = {3, 4};
+Line (4) = {4, 1};
+// generation de l'ellipse
+Point (5) = {1, 0.5, 0, lc} ;
+Point (6) = {1.5, 0.5, 0, lc} ;
+Point (7) = {1, 0.75, 0, lc} ;
+Point (8) = {0.5, 0.5, 0, lc} ;
+Point (9) = {1, 0.25, 0, lc} ;
+Ellipse (5) = {6, 5, 6, 7} ;
+Ellipse (6) = {7, 5, 8, 8} ;
+Ellipse (7) = {8, 5, 8, 9} ;
+Ellipse (8) = {9, 5, 6, 6} ;
+// generation des contour
+Line Loop (1) = { 1 , 2 , 3 , 4 } ;
+Line Loop (2) = { 5 , 6 , 7 , 8 } ;
+// generation de la surface
+Plane Surface (1) = {1 ,2};

Licence Creative Commons Les fichiers de Syracuse sont mis à disposition (sauf mention contraire) selon les termes de la
Licence Creative Commons Attribution - Pas d’Utilisation Commerciale - Partage dans les Mêmes Conditions 4.0 International.