mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 18:30:35 +05:00
0020053: EDF 868 GEOM: Using sub-meshes
This commit is contained in:
parent
4ee952246b
commit
3d14a19f1e
@ -229,8 +229,8 @@ bool SMESH_Gen::Compute(SMESH_Mesh & aMesh,
|
|||||||
if ( SMESH_Algo* subAlgo = (SMESH_Algo*) aMesh.GetHypothesis( aSubShape, filter, true )) {
|
if ( SMESH_Algo* subAlgo = (SMESH_Algo*) aMesh.GetHypothesis( aSubShape, filter, true )) {
|
||||||
SMESH_Hypothesis::Hypothesis_Status status;
|
SMESH_Hypothesis::Hypothesis_Status status;
|
||||||
if ( subAlgo->CheckHypothesis( aMesh, aSubShape, status ))
|
if ( subAlgo->CheckHypothesis( aMesh, aSubShape, status ))
|
||||||
// mesh a lower smToCompute starting from vertices
|
// mesh a lower smToCompute
|
||||||
Compute( aMesh, aSubShape, /*anUpward=*/true );
|
Compute( aMesh, aSubShape );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -241,10 +241,10 @@ bool SMESH_Gen::Compute(SMESH_Mesh & aMesh,
|
|||||||
if ( sm->GetComputeState() == SMESH_subMesh::READY_TO_COMPUTE)
|
if ( sm->GetComputeState() == SMESH_subMesh::READY_TO_COMPUTE)
|
||||||
sm->ComputeStateEngine( SMESH_subMesh::COMPUTE );
|
sm->ComputeStateEngine( SMESH_subMesh::COMPUTE );
|
||||||
|
|
||||||
// ------------------------
|
// -----------------------------------------------
|
||||||
// mesh the rest subshapes
|
// mesh the rest subshapes starting from vertices
|
||||||
// ------------------------
|
// -----------------------------------------------
|
||||||
ret = Compute( aMesh, aShape );
|
ret = Compute( aMesh, aShape, /*anUpward=*/true );
|
||||||
}
|
}
|
||||||
|
|
||||||
MESSAGE( "VSR - SMESH_Gen::Compute() finished, OK = " << ret);
|
MESSAGE( "VSR - SMESH_Gen::Compute() finished, OK = " << ret);
|
||||||
|
Loading…
Reference in New Issue
Block a user