From a4b2b52ce548fc0fdbcd23ad6085f42d56471af1 Mon Sep 17 00:00:00 2001 From: jfa Date: Thu, 22 Sep 2005 06:54:23 +0000 Subject: [PATCH] PAL10013: Mesh with coincident nodes after NETGEN applying --- src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx index c6c23a1..281e08e 100644 --- a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx +++ b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx @@ -260,7 +260,7 @@ bool NETGENPlugin_NETGEN_3D::Compute(SMESH_Mesh& aMesh, for ( n_id = nodeToNetgenID.begin(); n_id != nodeToNetgenID.end(); ++n_id ) nodeVec[ n_id->second ] = n_id->first; // create and insert new nodes into nodeVec - int nodeIndex = Netgen_NbOfNodes; + int nodeIndex = Netgen_NbOfNodes + 1; int shapeID = meshDS->ShapeToIndex( aShape ); for ( ; nodeIndex <= Netgen_NbOfNodesNew; ++nodeIndex ) { -- 2.39.2