PAL10013: Mesh with coincident nodes after NETGEN applying

This commit is contained in:
jfa 2005-09-22 06:54:23 +00:00
parent e339065f45
commit a4b2b52ce5

View 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 )
{