]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
PAL10013: Mesh with coincident nodes after NETGEN applying
authorjfa <jfa@opencascade.com>
Thu, 22 Sep 2005 06:54:23 +0000 (06:54 +0000)
committerjfa <jfa@opencascade.com>
Thu, 22 Sep 2005 06:54:23 +0000 (06:54 +0000)
src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx

index c6c23a1fffb1257e54683d63e55f028e25e2684f..281e08ee530d762aedaf40059803cc10f018db49 100644 (file)
@@ -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 )
     {