mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 17:30:35 +05:00
22313: EDF 2538 SMESH: Face with layers with ViscousLayer3D Hypothesis
Avoid diagonal inversion of trias of different FACEs
This commit is contained in:
parent
9014427e5f
commit
0de979b494
@ -4205,7 +4205,9 @@ void _ViscousBuilder::fixBadFaces(const TopoDS_Face& F,
|
||||
trias [iSide].first = badTrias[iTia];
|
||||
trias [iSide].second = SMESH_MeshAlgos::FindFaceInSet( n1, n2, emptySet, involvedFaces,
|
||||
& i1, & i2 );
|
||||
if ( ! trias[iSide].second || trias[iSide].second->NbCornerNodes() != 3 )
|
||||
if (( ! trias[iSide].second ) ||
|
||||
( trias[iSide].second->NbCornerNodes() != 3 ) ||
|
||||
( ! sm->Contains( trias[iSide].second )))
|
||||
continue;
|
||||
|
||||
// aspect ratio of an adjacent tria
|
||||
|
Loading…
Reference in New Issue
Block a user