From: eap Date: Mon, 16 Feb 2009 14:07:22 +0000 (+0000) Subject: PAL15429 Computation of the mesh, based on "014.brep" via Tetrahedron(NETGEN), is... X-Git-Tag: V4_1_5rc1~43 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=16ce557c6fb9ba2b0e5eee86247b383abae4718c;p=modules%2Fsmesh.git PAL15429 Computation of the mesh, based on "014.brep" via Tetrahedron(NETGEN), is failed. fix case of wires thouching each other --- diff --git a/src/StdMeshers/StdMeshers_MEFISTO_2D.cxx b/src/StdMeshers/StdMeshers_MEFISTO_2D.cxx index bdf5b36aa..453398149 100644 --- a/src/StdMeshers/StdMeshers_MEFISTO_2D.cxx +++ b/src/StdMeshers/StdMeshers_MEFISTO_2D.cxx @@ -24,7 +24,6 @@ // Moved here from SMESH_MEFISTO_2D.cxx // Author : Paul RASCLE, EDF // Module : SMESH -// $Header$ // #include "StdMeshers_MEFISTO_2D.hxx" @@ -492,7 +491,6 @@ bool StdMeshers_MEFISTO_2D::LoadPoints(TWireVector & wires, } int m = 0; - list< int > mOnVertex; for ( int iW = 0; iW < wires.size(); ++iW ) { @@ -507,6 +505,7 @@ bool StdMeshers_MEFISTO_2D::LoadPoints(TWireVector & wires, return error("Internal error"); } + list< int > mOnVertex; vector::const_iterator uvPt = uvPtVec.begin(); for ( ++uvPt; uvPt != uvPtVec.end(); ++uvPt ) {