Source https://salome-platform.org/forum/forum_10/
633516704
{
int nodesInFace = ptIds[id];
if ( ind < nbPoints + nodesInFace )
- return GetMesh()->FindNodeVtk( ptIds[ ind + i ]);
+ return GetMesh()->FindNodeVtk( ptIds[ 1 + ind + i ]);
nbPoints += nodesInFace;
id += (nodesInFace + 1);
}
SMESH::long_array_var nodes = mesh->GetElemFaceNodes( id, iF );
for ( CORBA::ULong iN = 0; iN < nodes->length(); ++iN )
{
- connectivity[ iF ] << nodes[iN];
+ connectivity[ iF+1 ] << nodes[iN];
nodeSet << nodes[iN];
}
}