mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-22 13:35:38 +05:00
0021676: EDF 2283 NETGENPLUGIN: Improve Netgen 1D-2D-3D to generate pyramids in case where input 2D mesh includes quadrangles
+ const TopoDS_Shape& GetShape() const { return myShape; }
This commit is contained in:
parent
85abc582be
commit
187dac541f
@ -715,6 +715,8 @@ bool StdMeshers_QuadToTriaAdaptor::Compute(SMESH_Mesh& aMesh,
|
|||||||
aShape.ShapeType() != TopAbs_SHELL )
|
aShape.ShapeType() != TopAbs_SHELL )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
myShape = aShape;
|
||||||
|
|
||||||
vector<const SMDS_MeshElement*> myPyramids;
|
vector<const SMDS_MeshElement*> myPyramids;
|
||||||
|
|
||||||
SMESHDS_Mesh * meshDS = aMesh.GetMeshDS();
|
SMESHDS_Mesh * meshDS = aMesh.GetMeshDS();
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||||
//
|
//
|
||||||
|
|
||||||
// SMESH SMESH : implementaion of SMESH idl descriptions
|
|
||||||
// File : StdMeshers_QuadToTriaAdaptor.hxx
|
// File : StdMeshers_QuadToTriaAdaptor.hxx
|
||||||
// Module : SMESH
|
// Module : SMESH
|
||||||
//
|
//
|
||||||
@ -61,6 +60,8 @@ public:
|
|||||||
|
|
||||||
bool Compute(SMESH_Mesh& aMesh);
|
bool Compute(SMESH_Mesh& aMesh);
|
||||||
|
|
||||||
|
const TopoDS_Shape& GetShape() const { return myShape; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
int Preparation(const SMDS_MeshElement* face,
|
int Preparation(const SMDS_MeshElement* face,
|
||||||
@ -87,10 +88,9 @@ protected:
|
|||||||
std::set<const SMDS_MeshNode*>& nodesToMove);
|
std::set<const SMDS_MeshNode*>& nodesToMove);
|
||||||
|
|
||||||
|
|
||||||
|
TopoDS_Shape myShape;
|
||||||
std::set<const SMDS_MeshElement*> myRemovedTrias;
|
std::set<const SMDS_MeshElement*> myRemovedTrias;
|
||||||
|
|
||||||
std::list< const SMDS_MeshNode* > myDegNodes;
|
std::list< const SMDS_MeshNode* > myDegNodes;
|
||||||
|
|
||||||
const SMESH_ElementSearcher* myElemSearcher;
|
const SMESH_ElementSearcher* myElemSearcher;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user