PAL10013: Mesh with coincident nodes after NETGEN applying

This commit is contained in:
jfa 2005-09-22 06:52:04 +00:00
parent 22ef55acc3
commit fabc466591

View File

@ -276,7 +276,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;
for ( ; nodeIndex <= Netgen_NbOfNodesNew; ++nodeIndex )
{
Ng_GetPoint( Netgen_mesh, nodeIndex, Netgen_point );