mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 09:50:34 +05:00
IPAL53053: Mesh compute with 3D Extrusion algo crashes SALOME
This commit is contained in:
parent
14497e96c0
commit
14534b5557
@ -3298,6 +3298,9 @@ bool StdMeshers_PrismAsBlock::Init(SMESH_MesherHelper* helper,
|
|||||||
if ( !myHelper->LoadNodeColumns( faceColumns, (*quad)->face, quadBot, meshDS ))
|
if ( !myHelper->LoadNodeColumns( faceColumns, (*quad)->face, quadBot, meshDS ))
|
||||||
return error(COMPERR_BAD_INPUT_MESH, TCom("Can't find regular quadrangle mesh ")
|
return error(COMPERR_BAD_INPUT_MESH, TCom("Can't find regular quadrangle mesh ")
|
||||||
<< "on a side face #" << MeshDS()->ShapeToIndex( (*quad)->face ));
|
<< "on a side face #" << MeshDS()->ShapeToIndex( (*quad)->face ));
|
||||||
|
|
||||||
|
if ( !faceColumns.empty() && (int)faceColumns.begin()->second.size() != VerticalSize() )
|
||||||
|
return error(COMPERR_BAD_INPUT_MESH, "Different 'vertical' discretization");
|
||||||
}
|
}
|
||||||
// edge columns
|
// edge columns
|
||||||
int id = MeshDS()->ShapeToIndex( *edgeIt );
|
int id = MeshDS()->ShapeToIndex( *edgeIt );
|
||||||
|
Loading…
Reference in New Issue
Block a user