mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-19 08:50:32 +05:00
0021988: EDF 2484 SMESH : NETGEN and GDHS3D/BLSURF mixed meshes
In checkMissing(), avoid reporting "global 1D algorithm is missing" with a local GHS3D and a global NETGEN 1D-2D.
This commit is contained in:
parent
c60dfba99e
commit
cc4d17c75b
@ -670,7 +670,7 @@ static bool checkMissing(SMESH_Gen* aGen,
|
||||
}
|
||||
case SMESH_subMesh::MISSING_HYP: {
|
||||
// notify if an algo missing hyp is attached to aSubMesh
|
||||
algo = aGen->GetAlgo( aMesh, aSubMesh->GetSubShape() );
|
||||
algo = aSubMesh->GetAlgo();
|
||||
ASSERT( algo );
|
||||
bool IsGlobalHypothesis = aGen->IsGlobalHypothesis( algo, aMesh );
|
||||
if (!IsGlobalHypothesis || !globalChecked[ algo->GetDim() ])
|
||||
@ -721,7 +721,7 @@ static bool checkMissing(SMESH_Gen* aGen,
|
||||
{
|
||||
bool checkNoAlgo2 = ( algo->NeedDiscreteBoundary() );
|
||||
SMESH_subMeshIteratorPtr itsub = aSubMesh->getDependsOnIterator( /*includeSelf=*/false,
|
||||
/*complexShapeFirst=*/false);
|
||||
/*complexShapeFirst=*/true);
|
||||
while ( itsub->more() )
|
||||
{
|
||||
// sub-meshes should not be checked further more
|
||||
|
Loading…
Reference in New Issue
Block a user