From 7e0702cdf49746e3d4f461040c8664408b454fa2 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Mon, 27 Nov 2006 22:32:01 +0000 Subject: [PATCH] set tol=1e-12 --- Mesh/meshGFaceExtruded.cpp | 4 ++-- Mesh/meshGRegionExtruded.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Mesh/meshGFaceExtruded.cpp b/Mesh/meshGFaceExtruded.cpp index ad89af3553..9743de2fff 100644 --- a/Mesh/meshGFaceExtruded.cpp +++ b/Mesh/meshGFaceExtruded.cpp @@ -1,4 +1,4 @@ -// $Id: meshGFaceExtruded.cpp,v 1.10 2006-11-27 22:22:17 geuzaine Exp $ +// $Id: meshGFaceExtruded.cpp,v 1.11 2006-11-27 22:32:01 geuzaine Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -153,7 +153,7 @@ int MeshExtrudedSurface(GFace *gf) // build a set with all the vertices on the boundary of gf double old_tol = MVertexLessThanLexicographic::tolerance; - MVertexLessThanLexicographic::tolerance = 1.e-14; + MVertexLessThanLexicographic::tolerance = 1.e-12; std::set<MVertex*, MVertexLessThanLexicographic> pos; std::list<GEdge*> edges = gf->edges(); std::list<GEdge*>::iterator it = edges.begin(); diff --git a/Mesh/meshGRegionExtruded.cpp b/Mesh/meshGRegionExtruded.cpp index 193df35b8f..d1ad3add75 100644 --- a/Mesh/meshGRegionExtruded.cpp +++ b/Mesh/meshGRegionExtruded.cpp @@ -1,4 +1,4 @@ -// $Id: meshGRegionExtruded.cpp,v 1.3 2006-11-27 22:22:17 geuzaine Exp $ +// $Id: meshGRegionExtruded.cpp,v 1.4 2006-11-27 22:32:01 geuzaine Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -177,7 +177,7 @@ int MeshExtrudedVolume(GRegion *gr) // build a set with all the vertices on the boundary of gr double old_tol = MVertexLessThanLexicographic::tolerance; - MVertexLessThanLexicographic::tolerance = 1.e-14; + MVertexLessThanLexicographic::tolerance = 1.e-12; std::set<MVertex*, MVertexLessThanLexicographic> pos; std::list<GFace*> faces = gr->faces(); std::list<GFace*>::iterator it = faces.begin(); -- GitLab