mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-21 00:09:41 +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
@ -705,9 +705,9 @@ int StdMeshers_QuadToTriaAdaptor::Preparation(const SMDS_MeshElement* face
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
bool StdMeshers_QuadToTriaAdaptor::Compute(SMESH_Mesh& aMesh,
|
||||
const TopoDS_Shape& aShape,
|
||||
SMESH_ProxyMesh* aProxyMesh)
|
||||
bool StdMeshers_QuadToTriaAdaptor::Compute(SMESH_Mesh& aMesh,
|
||||
const TopoDS_Shape& aShape,
|
||||
SMESH_ProxyMesh* aProxyMesh)
|
||||
{
|
||||
SMESH_ProxyMesh::setMesh( aMesh );
|
||||
|
||||
@ -715,6 +715,8 @@ bool StdMeshers_QuadToTriaAdaptor::Compute(SMESH_Mesh& aMesh,
|
||||
aShape.ShapeType() != TopAbs_SHELL )
|
||||
return false;
|
||||
|
||||
myShape = aShape;
|
||||
|
||||
vector<const SMDS_MeshElement*> myPyramids;
|
||||
|
||||
SMESHDS_Mesh * meshDS = aMesh.GetMeshDS();
|
||||
|
@ -17,7 +17,6 @@
|
||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||
//
|
||||
|
||||
// SMESH SMESH : implementaion of SMESH idl descriptions
|
||||
// File : StdMeshers_QuadToTriaAdaptor.hxx
|
||||
// Module : SMESH
|
||||
//
|
||||
@ -61,6 +60,8 @@ public:
|
||||
|
||||
bool Compute(SMESH_Mesh& aMesh);
|
||||
|
||||
const TopoDS_Shape& GetShape() const { return myShape; }
|
||||
|
||||
protected:
|
||||
|
||||
int Preparation(const SMDS_MeshElement* face,
|
||||
@ -87,11 +88,10 @@ protected:
|
||||
std::set<const SMDS_MeshNode*>& nodesToMove);
|
||||
|
||||
|
||||
TopoDS_Shape myShape;
|
||||
std::set<const SMDS_MeshElement*> myRemovedTrias;
|
||||
|
||||
std::list< const SMDS_MeshNode* > myDegNodes;
|
||||
|
||||
const SMESH_ElementSearcher* myElemSearcher;
|
||||
const SMESH_ElementSearcher* myElemSearcher;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user