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
#17336 [CEA 17333] Mesh offset generates a segmentation violation
[modules/smesh.git]
/
src
/
SMESH
/
SMESH_Gen.hxx
diff --git
a/src/SMESH/SMESH_Gen.hxx
b/src/SMESH/SMESH_Gen.hxx
index eb6934595dc0802d9590853d50533b190ec97f66..28d9dc8d1f5b2fe42ea8b576fb8c60fa36214968 100644
(file)
--- a/
src/SMESH/SMESH_Gen.hxx
+++ b/
src/SMESH/SMESH_Gen.hxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
6
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
9
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-20,7
+20,7
@@
// 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
+// SMESH SMESH : implementa
t
ion of SMESH idl descriptions
// File : SMESH_Gen.hxx
// Author : Paul RASCLE, EDF
// Module : SMESH
// File : SMESH_Gen.hxx
// Author : Paul RASCLE, EDF
// Module : SMESH
@@
-60,13
+60,13
@@
typedef struct studyContextStruct
typedef std::set<int> TSetOfInt;
typedef std::set<int> TSetOfInt;
-class SMESH_EXPORT
SMESH_Gen
+class SMESH_EXPORT SMESH_Gen
{
public:
SMESH_Gen();
~SMESH_Gen();
{
public:
SMESH_Gen();
~SMESH_Gen();
- SMESH_Mesh* CreateMesh(
int theStudyId,
bool theIsEmbeddedMode)
+ SMESH_Mesh* CreateMesh(bool theIsEmbeddedMode)
throw(SALOME_Exception);
enum ComputeFlags
throw(SALOME_Exception);
enum ComputeFlags
@@
-147,7
+147,7
@@
public:
// if Compute() would fail because of some algo bad state
// theErrors list contains problems description
// if Compute() would fail because of some algo bad state
// theErrors list contains problems description
- StudyContextStruct *GetStudyContext(
int studyId
);
+ StudyContextStruct *GetStudyContext();
static int GetShapeDim(const TopAbs_ShapeEnum & aShapeType);
static int GetShapeDim(const TopoDS_Shape & aShape)
static int GetShapeDim(const TopAbs_ShapeEnum & aShapeType);
static int GetShapeDim(const TopoDS_Shape & aShape)
@@
-165,7
+165,7
@@
public:
private:
int _localId; // unique Id of created objects, within SMESH_Gen entity
private:
int _localId; // unique Id of created objects, within SMESH_Gen entity
-
std::map < int, StudyContextStruct * >_mapS
tudyContext;
+
StudyContextStruct* _s
tudyContext;
// hypotheses managing
int _hypId;
// hypotheses managing
int _hypId;