mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
0021942: [CEA 700] Behavior of the Mesh.Triangle(algo=smesh.NETGEN) command
In checkConformIgnoredAlgos(), report on hiding algo
This commit is contained in:
parent
189efb2518
commit
1df3773296
@ -589,6 +589,8 @@ static bool checkConformIgnoredAlgos(SMESH_Mesh& aMesh,
|
|||||||
|
|
||||||
if ( aLocIgnoAlgo ) // algo is hidden by a local algo of upper dim
|
if ( aLocIgnoAlgo ) // algo is hidden by a local algo of upper dim
|
||||||
{
|
{
|
||||||
|
theErrors.push_back( SMESH_Gen::TAlgoStateError() );
|
||||||
|
theErrors.back().Set( SMESH_Hypothesis::HYP_HIDDEN_ALGO, algo, false );
|
||||||
INFOS( "Local <" << algo->GetName() << "> is hidden by local <"
|
INFOS( "Local <" << algo->GetName() << "> is hidden by local <"
|
||||||
<< aLocIgnoAlgo->GetName() << ">");
|
<< aLocIgnoAlgo->GetName() << ">");
|
||||||
}
|
}
|
||||||
@ -601,6 +603,8 @@ static bool checkConformIgnoredAlgos(SMESH_Mesh& aMesh,
|
|||||||
if ( dim < aMaxGlobIgnoDim )
|
if ( dim < aMaxGlobIgnoDim )
|
||||||
{
|
{
|
||||||
// algo is hidden by a global algo
|
// algo is hidden by a global algo
|
||||||
|
theErrors.push_back( SMESH_Gen::TAlgoStateError() );
|
||||||
|
theErrors.back().Set( SMESH_Hypothesis::HYP_HIDDEN_ALGO, algo, true );
|
||||||
INFOS( ( isGlobal ? "Global" : "Local" )
|
INFOS( ( isGlobal ? "Global" : "Local" )
|
||||||
<< " <" << algo->GetName() << "> is hidden by global <"
|
<< " <" << algo->GetName() << "> is hidden by global <"
|
||||||
<< aGlobIgnoAlgo->GetName() << ">");
|
<< aGlobIgnoAlgo->GetName() << ">");
|
||||||
|
Loading…
Reference in New Issue
Block a user