From: jfa Date: Thu, 22 Sep 2005 06:54:23 +0000 (+0000) Subject: PAL10013: Mesh with coincident nodes after NETGEN applying X-Git-Tag: ForTest_3_1_0a2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a4b2b52ce548fc0fdbcd23ad6085f42d56471af1;p=plugins%2Fnetgenplugin.git PAL10013: Mesh with coincident nodes after NETGEN applying --- 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 ) {