From 75cb227f2519496e386958eda693c7ca8dd3d12c Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sat, 28 Mar 2015 13:41:27 +0000 Subject: [PATCH] don't change options that could affect other tutorials in weird ways --- tutorial/t10.geo | 7 ++++--- tutorial/t11.geo | 3 +-- tutorial/t3.geo | 9 ++++----- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/tutorial/t10.geo b/tutorial/t10.geo index f09b71fd81..1a92888a22 100644 --- a/tutorial/t10.geo +++ b/tutorial/t10.geo @@ -29,7 +29,7 @@ Line Loop(5) = {1,2,3,4}; Plane Surface(6) = {5}; Field[1] = Attractor; Field[1].NodesList = {5}; Field[1].NNodesByEdge = 100; -Field[1].EdgesList = {1}; +Field[1].EdgesList = {2}; // We then define a Threshold field, which uses the return value of // the Attractor Field[1] in order to define a simple change in @@ -89,5 +89,6 @@ Field[7] = Min; Field[7].FieldsList = {2, 3, 5, 6}; Background Field = 7; -// Don't extend the elements sizes from the boundary inside the domain -Mesh.CharacteristicLengthExtendFromBoundary = 0; +// If the boundary mesh size was too small, we could ask not to extend the +// elements sizes from the boundary inside the domain: +// Mesh.CharacteristicLengthExtendFromBoundary = 0; diff --git a/tutorial/t11.geo b/tutorial/t11.geo index 34a0bb8574..58a4d01a9a 100644 --- a/tutorial/t11.geo +++ b/tutorial/t11.geo @@ -44,5 +44,4 @@ Recombine Surface{100}; // "Delaunay for quads" (DelQuad) meshing algorithm: DelQuad is a // triangulation algorithm that enables to create right triangles // almost everywhere. Uncomment the following line to try DelQuad: - -Mesh.Algorithm = 8; // DelQuad (experimental) +// Mesh.Algorithm = 8; diff --git a/tutorial/t3.geo b/tutorial/t3.geo index 521d861021..6b7363e2f8 100644 --- a/tutorial/t3.geo +++ b/tutorial/t3.geo @@ -58,13 +58,12 @@ out[] = Extrude { {-2*h,0,0}, {1,0,0} , {0,0.15,0.25} , angle * Pi / 180 } { Physical Volume(101) = {1, 2, out[1]}; // Let us now change some options... Since all interactive options are -// accessible in Gmsh's scripting language, we can for example define -// a global characteristic length factor or redefine some colors -// directly in the input file: +// accessible in Gmsh's scripting language, we can for example make point tags +// visible or redefine some colors directly in the input file: -Mesh.CharacteristicLengthFactor = 4; -General.Color.Text = White; +Geometry.PointNumbers = 1; Geometry.Color.Points = Orange; +General.Color.Text = White; Mesh.Color.Points = {255,0,0}; // Note that all colors can be defined literally or numerically, i.e. -- GitLab