Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NPAL19656: EDF709: Dump file with ExtrusionAlongPath does not work.
[modules/smesh.git]
/
src
/
StdMeshers
/
StdMeshers_Penta_3D.hxx
diff --git
a/src/StdMeshers/StdMeshers_Penta_3D.hxx
b/src/StdMeshers/StdMeshers_Penta_3D.hxx
index df5aaae0f33928bb26142cc44d8584ec8085668a..90eab4c7433ab9ceafdd68f69ef14e32ae3f8111 100644
(file)
--- a/
src/StdMeshers/StdMeshers_Penta_3D.hxx
+++ b/
src/StdMeshers/StdMeshers_Penta_3D.hxx
@@
-27,6
+27,8
@@
#ifndef StdMeshers_Penta_3D_HeaderFile
#define StdMeshers_Penta_3D_HeaderFile
#ifndef StdMeshers_Penta_3D_HeaderFile
#define StdMeshers_Penta_3D_HeaderFile
+#include "SMESH_StdMeshers.hxx"
+
#include <map>
////////////////////////////////////////////////////////////////////////
#include <map>
////////////////////////////////////////////////////////////////////////
@@
-42,12
+44,12
@@
#include <TColStd_MapOfInteger.hxx>
#include "SMESH_Block.hxx"
#include <TColStd_MapOfInteger.hxx>
#include "SMESH_Block.hxx"
-
+#include "SMESH_ComputeError.hxx"
#include "SMESH_MesherHelper.hxx"
typedef std::map< double, std::vector<const SMDS_MeshNode*> > StdMeshers_IJNodeMap;
#include "SMESH_MesherHelper.hxx"
typedef std::map< double, std::vector<const SMDS_MeshNode*> > StdMeshers_IJNodeMap;
-class StdMeshers_SMESHBlock {
+class S
TDMESHERS_EXPORT S
tdMeshers_SMESHBlock {
public:
//
public:
//
@@
-87,6
+89,8
@@
public:
int ErrorStatus() const;
int ErrorStatus() const;
+ SMESH_ComputeErrorPtr GetError() const;
+
protected:
TopoDS_Shell myShell;
protected:
TopoDS_Shell myShell;
@@
-105,7
+109,7
@@
protected:
////////////////////////////////////////////////////////////////////////
#include "SMDS_MeshNode.hxx"
////////////////////////////////////////////////////////////////////////
#include "SMDS_MeshNode.hxx"
-class StdMeshers_TNode {
+class S
TDMESHERS_EXPORT S
tdMeshers_TNode {
public:
public:
@@
-163,7
+167,7
@@
private:
#include "SMESH_Mesh.hxx"
#include <TopoDS_Shape.hxx>
//
#include "SMESH_Mesh.hxx"
#include <TopoDS_Shape.hxx>
//
-class StdMeshers_Penta_3D {
+class S
TDMESHERS_EXPORT S
tdMeshers_Penta_3D {
//
public: // methods
StdMeshers_Penta_3D();
//
public: // methods
StdMeshers_Penta_3D();
@@
-173,6
+177,12
@@
class StdMeshers_Penta_3D {
bool Compute(SMESH_Mesh& , const TopoDS_Shape& );
int ErrorStatus() const {
bool Compute(SMESH_Mesh& , const TopoDS_Shape& );
int ErrorStatus() const {
+ if (myErrorStatus->IsOK())
+ return 0;
+ return myErrorStatus->myName;
+ }
+
+ SMESH_ComputeErrorPtr GetComputeError() const {
return myErrorStatus;
}
return myErrorStatus;
}
@@
-244,7
+254,7
@@
class StdMeshers_Penta_3D {
TopoDS_Shape myShape;
StdMeshers_SMESHBlock myBlock;
void * myMesh;
TopoDS_Shape myShape;
StdMeshers_SMESHBlock myBlock;
void * myMesh;
-
int
myErrorStatus;
+
SMESH_ComputeErrorPtr
myErrorStatus;
//
vector <StdMeshers_TNode> myTNodes;
int myISize;
//
vector <StdMeshers_TNode> myTNodes;
int myISize;
@@
-256,7
+266,7
@@
class StdMeshers_Penta_3D {
vector<gp_XYZ> myShapeXYZ; // point on each sub-shape
bool myCreateQuadratic;
vector<gp_XYZ> myShapeXYZ; // point on each sub-shape
bool myCreateQuadratic;
- SMESH_MesherHelper* myTool; // to
ll for working with
quadratic elements
+ SMESH_MesherHelper* myTool; // to
ol building
quadratic elements
};
#endif
};
#endif