From 50af3f06c59a4b8f7830f227a2c8c1b319da1816 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Sun, 27 Nov 2016 08:36:21 +0000
Subject: [PATCH] surface 6 -> surface 1

---
 tutorial/t1.geo | 8 ++++----
 tutorial/t2.geo | 2 +-
 tutorial/t3.geo | 2 +-
 tutorial/t6.geo | 6 +++---
 4 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/tutorial/t1.geo b/tutorial/t1.geo
index bbebfbfc9a..a53f0bd5db 100644
--- a/tutorial/t1.geo
+++ b/tutorial/t1.geo
@@ -44,17 +44,17 @@ Line(4) = {4,1} ;
 // to be defined. A line loop is a list of connected lines, a sign being
 // associated with each line (depending on the orientation of the line):
 
-Line Loop(5) = {4,1,-2,3} ;
+Line Loop(1) = {4,1,-2,3} ;
 
 // We can then define the surface as a list of line loops (only one here, since
 // there are no holes--see `t4.geo'):
 
-Plane Surface(6) = {5} ;
+Plane Surface(1) = {1} ;
 
 // At this level, Gmsh knows everything to display the rectangular surface 6 and
 // to mesh it. An optional step is needed if we want to associate specific
 // region numbers to the various elements in the mesh (e.g. to the line segments
-// discretizing lines 1 to 4 or to the triangles discretizing surface 6). This
+// discretizing lines 1 to 4 or to the triangles discretizing surface 1). This
 // is achieved by the definition of `physical entities'. Physical entities will
 // group elements belonging to several elementary entities by giving them a
 // common number (a region number).
@@ -71,7 +71,7 @@ MY_LINE = 2;
 Physical Line(MY_LINE) = {1,2} ;
 Physical Line("My second line (automatic physical id)") = {3} ;
 Physical Line("My third line (physical id 5)", 5) = {4} ;
-Physical Surface("My surface") = {6} ;
+Physical Surface("My surface") = {1} ;
 
 // All the line elements created during the meshing of lines 1 and 2 will be
 // saved in the output mesh file with the physical id 2. The elements from line
diff --git a/tutorial/t2.geo b/tutorial/t2.geo
index eea1180c79..082fb7670c 100644
--- a/tutorial/t2.geo
+++ b/tutorial/t2.geo
@@ -45,7 +45,7 @@ Plane Surface(11) = {10};
 // entities. For example, we can translate copies of the two surfaces 6 and 11
 // to the right with the following command:
 
-my_new_surfs[] = Translate {0.12, 0, 0} { Duplicata{ Surface{6, 11}; } };
+my_new_surfs[] = Translate {0.12, 0, 0} { Duplicata{ Surface{1, 11}; } };
 
 // my_new_surfs[] (note the square brackets) denotes a list, which in this case
 // contains the ids of the two new surfaces (check `Tools->Message console' to
diff --git a/tutorial/t3.geo b/tutorial/t3.geo
index 114b985323..90a4ad33ae 100644
--- a/tutorial/t3.geo
+++ b/tutorial/t3.geo
@@ -19,7 +19,7 @@ Include "t1.geo";
 h = 0.1;
 
 Extrude {0,0,h} {
-  Surface{6}; Layers{ {8,2}, {0.5,1} };
+  Surface{1}; Layers{ {8,2}, {0.5,1} };
 }
 
 // The extrusion can also be performed with a rotation instead of a translation,
diff --git a/tutorial/t6.geo b/tutorial/t6.geo
index f509f79f09..2d47d580fc 100644
--- a/tutorial/t6.geo
+++ b/tutorial/t6.geo
@@ -10,7 +10,7 @@
 Include "t1.geo";
 
 // Delete the left line and create replace it with 3 new ones
-Delete{ Surface{6}; Line{4}; }
+Delete{ Surface{1}; Line{4}; }
 
 p1 = newp; Point(p1) = {-0.05, 0.05, 0, lc};
 p2 = newp; Point(p2) = {-0.05, 0.1, 0, lc};
@@ -20,8 +20,8 @@ l2 = newl; Line(l2) = {p1, p2};
 l3 = newl; Line(l3) = {p2, 4};
 
 // Create surface
-Line Loop(1) = {2, -1, l1, l2, l3, -3};
-Plane Surface(1) = {-1};
+Line Loop(2) = {2, -1, l1, l2, l3, -3};
+Plane Surface(1) = {-2};
 
 // Put 20 points with a refinement toward the extremities on curve 2
 Transfinite Line{2} = 20 Using Bump 0.05;
-- 
GitLab