diff --git a/tutorial/t2.geo b/tutorial/t2.geo index 894dc82a3daa5845ed88a4c300d2748409f4515f..bb32000c44c752d818fcfd959a77454895f31f0e 100644 --- a/tutorial/t2.geo +++ b/tutorial/t2.geo @@ -27,7 +27,7 @@ Translate {-0.05,0,0} { Point{3}; } // The resulting point can also be duplicated and translated by 0.1 // along the y axis: -newpt[] = Translate {0,0.1,0} { Duplicata{ Point{3}; } } ; +tmp[] = Translate {0,0.1,0} { Duplicata{ Point{3}; } } ; // In this case, we assign the result of the Translate command to a // list, so that we can retrieve the number of the newly created point @@ -41,8 +41,8 @@ newpt[] = Translate {0,0.1,0} { Duplicata{ Point{3}; } } ; h = 0.12; Extrude Surface { 6, {0, 0, h} }; -Line(7) = {3,newpt[0]}; -Line(8) = {newpt[0],5}; +Line(7) = {3,tmp[0]}; +Line(8) = {tmp[0],5}; Line Loop(10) = {5,-8,-7,3}; Plane Surface(11) = {10}; @@ -53,7 +53,7 @@ Extrude Surface { 11, {0, 0, h} }; // elementary entities. The following command permits to manually // specify a characteristic length for some of the new points: -Characteristic Length {newpt[0], 22, 2, 3, 16, 12} = lc * 2; +Characteristic Length {tmp[0], 22, 2, 3, 16, 12} = lc * 2; // Note that, if the transformation tools are handy to create complex // geometries, it is also sometimes useful to generate the `flat'