mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
0020431: EDF 1020 SMESH : Radial Mesh of a cylinder
pb: only the 1st algo is applied // apply the algos that do not require descretized boundaries // ---------------------------------------------------------- for ( subIt = smWithAlgoSupportingSubmeshes.rbegin(); subIt != subEnd; ++subIt ) + { + sm = *subIt; if ( sm->GetComputeState() == SMESH_subMesh::READY_TO_COMPUTE) {
This commit is contained in:
parent
a89c4cb333
commit
a269dcbbdf
@ -265,6 +265,8 @@ bool SMESH_Gen::Compute(SMESH_Mesh & aMesh,
|
|||||||
// apply the algos that do not require descretized boundaries
|
// apply the algos that do not require descretized boundaries
|
||||||
// ----------------------------------------------------------
|
// ----------------------------------------------------------
|
||||||
for ( subIt = smWithAlgoSupportingSubmeshes.rbegin(); subIt != subEnd; ++subIt )
|
for ( subIt = smWithAlgoSupportingSubmeshes.rbegin(); subIt != subEnd; ++subIt )
|
||||||
|
{
|
||||||
|
sm = *subIt;
|
||||||
if ( sm->GetComputeState() == SMESH_subMesh::READY_TO_COMPUTE)
|
if ( sm->GetComputeState() == SMESH_subMesh::READY_TO_COMPUTE)
|
||||||
{
|
{
|
||||||
const TopAbs_ShapeEnum aShType = sm->GetSubShape().ShapeType();
|
const TopAbs_ShapeEnum aShType = sm->GetSubShape().ShapeType();
|
||||||
@ -276,7 +278,7 @@ bool SMESH_Gen::Compute(SMESH_Mesh & aMesh,
|
|||||||
if ( aShapesId )
|
if ( aShapesId )
|
||||||
aShapesId->insert( sm->GetId() );
|
aShapesId->insert( sm->GetId() );
|
||||||
}
|
}
|
||||||
|
}
|
||||||
// -----------------------------------------------
|
// -----------------------------------------------
|
||||||
// mesh the rest subshapes starting from vertices
|
// mesh the rest subshapes starting from vertices
|
||||||
// -----------------------------------------------
|
// -----------------------------------------------
|
||||||
@ -403,7 +405,9 @@ bool SMESH_Gen::Evaluate(SMESH_Mesh & aMesh,
|
|||||||
// ----------------------------------------------------------
|
// ----------------------------------------------------------
|
||||||
// apply the algos that do not require descretized boundaries
|
// apply the algos that do not require descretized boundaries
|
||||||
// ----------------------------------------------------------
|
// ----------------------------------------------------------
|
||||||
for ( subIt = smWithAlgoSupportingSubmeshes.rbegin(); subIt != subEnd; ++subIt ) {
|
for ( subIt = smWithAlgoSupportingSubmeshes.rbegin(); subIt != subEnd; ++subIt )
|
||||||
|
{
|
||||||
|
sm = *subIt;
|
||||||
sm->Evaluate(aResMap);
|
sm->Evaluate(aResMap);
|
||||||
if ( aShapesId )
|
if ( aShapesId )
|
||||||
aShapesId->insert( sm->GetId() );
|
aShapesId->insert( sm->GetId() );
|
||||||
|
Loading…
Reference in New Issue
Block a user