Skip to content
Snippets Groups Projects
Commit 7e0702cd authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

set tol=1e-12

parent 30965a97
No related branches found
No related tags found
No related merge requests found
// $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 // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
// //
...@@ -153,7 +153,7 @@ int MeshExtrudedSurface(GFace *gf) ...@@ -153,7 +153,7 @@ int MeshExtrudedSurface(GFace *gf)
// build a set with all the vertices on the boundary of gf // build a set with all the vertices on the boundary of gf
double old_tol = MVertexLessThanLexicographic::tolerance; double old_tol = MVertexLessThanLexicographic::tolerance;
MVertexLessThanLexicographic::tolerance = 1.e-14; MVertexLessThanLexicographic::tolerance = 1.e-12;
std::set<MVertex*, MVertexLessThanLexicographic> pos; std::set<MVertex*, MVertexLessThanLexicographic> pos;
std::list<GEdge*> edges = gf->edges(); std::list<GEdge*> edges = gf->edges();
std::list<GEdge*>::iterator it = edges.begin(); std::list<GEdge*>::iterator it = edges.begin();
......
// $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 // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
// //
...@@ -177,7 +177,7 @@ int MeshExtrudedVolume(GRegion *gr) ...@@ -177,7 +177,7 @@ int MeshExtrudedVolume(GRegion *gr)
// build a set with all the vertices on the boundary of gr // build a set with all the vertices on the boundary of gr
double old_tol = MVertexLessThanLexicographic::tolerance; double old_tol = MVertexLessThanLexicographic::tolerance;
MVertexLessThanLexicographic::tolerance = 1.e-14; MVertexLessThanLexicographic::tolerance = 1.e-12;
std::set<MVertex*, MVertexLessThanLexicographic> pos; std::set<MVertex*, MVertexLessThanLexicographic> pos;
std::list<GFace*> faces = gr->faces(); std::list<GFace*> faces = gr->faces();
std::list<GFace*>::iterator it = faces.begin(); std::list<GFace*>::iterator it = faces.begin();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment