mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-26 07:50:34 +05:00
0021153: [CEA] non regression test fails
fix error that pyramids sharing one common node are not checked for intersection
This commit is contained in:
parent
71803bed9f
commit
d9c073c952
@ -1057,7 +1057,11 @@ bool StdMeshers_QuadToTriaAdaptor::Compute2ndPart(SMESH_Mesh&
|
|||||||
PsI[k] = SMESH_TNodeXYZ( n );
|
PsI[k] = SMESH_TNodeXYZ( n );
|
||||||
SMDS_ElemIteratorPtr vIt = n->GetInverseElementIterator( SMDSAbs_Volume );
|
SMDS_ElemIteratorPtr vIt = n->GetInverseElementIterator( SMDSAbs_Volume );
|
||||||
while ( vIt->more() )
|
while ( vIt->more() )
|
||||||
checkedPyrams.insert( vIt->next() );
|
{
|
||||||
|
const SMDS_MeshElement* PrmJ = vIt->next();
|
||||||
|
if ( SMESH_Algo::GetCommonNodes( PrmI, PrmJ ).size() > 1 )
|
||||||
|
checkedPyrams.insert( PrmJ );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// check intersection with distant pyramids
|
// check intersection with distant pyramids
|
||||||
|
Loading…
Reference in New Issue
Block a user