From d909191484e8c10631926893cc0bbea401665b55 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Thu, 2 Aug 2007 16:16:19 +0000 Subject: [PATCH] fix some of the demos + clarify some comments --- Mesh/meshGFaceExtruded.cpp | 8 ++++---- Mesh/meshGRegion.cpp | 4 ++-- benchmarks/3d/coil_crack/Piece1_4z1b.geo | 4 ++-- benchmarks/3d/fil.geo | 16 ++++++++-------- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Mesh/meshGFaceExtruded.cpp b/Mesh/meshGFaceExtruded.cpp index b29c958b15..f374952d35 100644 --- a/Mesh/meshGFaceExtruded.cpp +++ b/Mesh/meshGFaceExtruded.cpp @@ -1,4 +1,4 @@ -// $Id: meshGFaceExtruded.cpp,v 1.21 2007-07-31 22:09:11 geuzaine Exp $ +// $Id: meshGFaceExtruded.cpp,v 1.22 2007-08-02 16:16:19 geuzaine Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -193,7 +193,7 @@ int MeshExtrudedSurface(GFace *gf, Msg(STATUS2, "Meshing surface %d (extruded)", gf->tag()); - // build a set with all the vertices on the boundary of gf + // build a set with all the vertices on the boundary of the face gf double old_tol = MVertexLessThanLexicographic::tolerance; MVertexLessThanLexicographic::tolerance = 1.e-12 * CTX.lc; @@ -209,8 +209,8 @@ int MeshExtrudedSurface(GFace *gf, ++it; } - // if the edges are constrained, the vertices already exist on the - // face--so we add them to the set + // if the edges of the mesh are constrained, the vertices already + // exist on the face--so we add them to the set if(constrainedEdges) pos.insert(gf->mesh_vertices.begin(), gf->mesh_vertices.end()); diff --git a/Mesh/meshGRegion.cpp b/Mesh/meshGRegion.cpp index a5eae53298..b48c19d4bf 100644 --- a/Mesh/meshGRegion.cpp +++ b/Mesh/meshGRegion.cpp @@ -1,4 +1,4 @@ -// $Id: meshGRegion.cpp,v 1.31 2007-05-24 17:34:04 geuzaine Exp $ +// $Id: meshGRegion.cpp,v 1.32 2007-08-02 16:16:19 geuzaine Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -192,7 +192,7 @@ void MeshDelaunayVolume(std::vector<GRegion*> ®ions) #else for(unsigned int i = 0; i < regions.size(); i++) - Msg(STATUS2, "Meshing volume %d (Delaunay)", regions[i]->tag()); + Msg(STATUS2, "Meshing volume %d (Tetgen+Delaunay)", regions[i]->tag()); // put all the faces in the same model GRegion *gr = regions[0]; diff --git a/benchmarks/3d/coil_crack/Piece1_4z1b.geo b/benchmarks/3d/coil_crack/Piece1_4z1b.geo index 870366724d..28ce2061d1 100644 --- a/benchmarks/3d/coil_crack/Piece1_4z1b.geo +++ b/benchmarks/3d/coil_crack/Piece1_4z1b.geo @@ -227,8 +227,8 @@ Volume(vAir) = {news-2,news-1,surftotprobe};//Rest Air Characteristic Length{10,11,28,32}= pflaw ;//Watch out! Changing characteristic lenths of the flaw at the end //Characteristic Length{66,93}= ph3 ; -//Transfinite Line{cd[0],cd[1],cd[2]} = 5 ; -//Transfinite Line{15,6} = nDefect+1 ; +Transfinite Line{cd[0],cd[1],cd[2]} = 5 ; +Transfinite Line{15,6} = nDefect+1 ; //------------------------------------------------------------------- diff --git a/benchmarks/3d/fil.geo b/benchmarks/3d/fil.geo index 3e8135b6c0..ea2eb9e993 100644 --- a/benchmarks/3d/fil.geo +++ b/benchmarks/3d/fil.geo @@ -38,28 +38,28 @@ Line Loop(14) = {5,6,7,8,9,10,11,12}; Plane Surface(15) = {13,14}; Extrude Line {8, {0,-1,0}, {0,0,0}, Pi/2}{ - Layers {{R*Pi/2/mafil},{1},{1.0}}; + Layers {{R*Pi/2/mafil},{1.0}}; }; Extrude Line {9, {0,-1,0}, {0,0,0}, Pi/2}{ - Layers {{R*Pi/2/mafil},{1},{1.0}}; + Layers {{R*Pi/2/mafil},{1.0}}; }; Extrude Line {10, {0,-1,0}, {0,0,0}, Pi/2}{ - Layers {{R*Pi/2/mafil},{1},{1.0}}; + Layers {{R*Pi/2/mafil},{1.0}}; }; Extrude Line {7, {0,-1,0}, {0,0,0}, Pi/2}{ - Layers {{R*Pi/2/mafil},{1},{1.0}}; + Layers {{R*Pi/2/mafil},{1.0}}; }; Extrude Line {6, {0,-1,0}, {0,0,0}, Pi/2}{ - Layers {{R*Pi/2/mafil},{1},{1.0}}; + Layers {{R*Pi/2/mafil},{1.0}}; }; Extrude Line {5, {0,-1,0}, {0,0,0}, Pi/2}{ - Layers {{R*Pi/2/mafil},{1},{1.0}}; + Layers {{R*Pi/2/mafil},{1.0}}; }; Extrude Line {12, {0,-1,0}, {0,0,0}, Pi/2}{ - Layers {{R*Pi/2/mafil},{1},{1.0}}; + Layers {{R*Pi/2/mafil},{1.0}}; }; Extrude Line {11, {0,-1,0}, {0,0,0}, Pi/2}{ - Layers {{R*Pi/2/mafil},{1},{1.0}}; + Layers {{R*Pi/2/mafil},{1.0}}; }; Point(51) = {0,-wsubstrat/2,0,maboite}; -- GitLab