mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-12 00:29:17 +05:00
Fix a regression introduced by IMP 22316: EDF 2719 SMESH: Split hexas into prisms
This commit is contained in:
parent
d58cd4792a
commit
375935ef89
@ -567,7 +567,7 @@ int SMDS_VtkVolume::NbCornerNodes() const
|
|||||||
case VTK_TRIQUADRATIC_HEXAHEDRON: return 8;
|
case VTK_TRIQUADRATIC_HEXAHEDRON: return 8;
|
||||||
default:;
|
default:;
|
||||||
}
|
}
|
||||||
return grid->GetCell(myVtkID)->GetNumberOfPoints();
|
return NbNodes();
|
||||||
}
|
}
|
||||||
|
|
||||||
SMDSAbs_EntityType SMDS_VtkVolume::GetEntityType() const
|
SMDSAbs_EntityType SMDS_VtkVolume::GetEntityType() const
|
||||||
|
@ -2157,7 +2157,7 @@ void SMESH_MeshEditor::SplitVolumes (const TFacetOfElem & theElems,
|
|||||||
helper.SetIsQuadratic( false );
|
helper.SetIsQuadratic( false );
|
||||||
}
|
}
|
||||||
vector<const SMDS_MeshNode*> nodes( volTool.GetNodes(),
|
vector<const SMDS_MeshNode*> nodes( volTool.GetNodes(),
|
||||||
volTool.GetNodes() + elem->NbCornerNodes() );
|
volTool.GetNodes() + elem->NbNodes() );
|
||||||
helper.SetElementsOnShape( true );
|
helper.SetElementsOnShape( true );
|
||||||
if ( splitMethod._baryNode )
|
if ( splitMethod._baryNode )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user