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
mise en place des tests
[modules/smesh.git]
/
src
/
SMDS
/
SMDS_Mesh.hxx
diff --git
a/src/SMDS/SMDS_Mesh.hxx
b/src/SMDS/SMDS_Mesh.hxx
index 3da801f598891de96fcb6ec2b957ef86a5421904..3b689bc7c496ec125be4cf647326ccc29dd94a7d 100644
(file)
--- a/
src/SMDS/SMDS_Mesh.hxx
+++ b/
src/SMDS/SMDS_Mesh.hxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
19
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-20
21
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
@@
-613,6
+613,9
@@
public:
bool ChangeElementNodes(const SMDS_MeshElement * elem,
const SMDS_MeshNode * nodes[],
const int nbnodes);
bool ChangeElementNodes(const SMDS_MeshElement * elem,
const SMDS_MeshNode * nodes[],
const int nbnodes);
+ bool ChangePolyhedronNodes(const SMDS_MeshElement * elem,
+ const std::vector<const SMDS_MeshNode*>& nodes,
+ const std::vector<int>& quantities);
//virtual void Renumber (const bool isNodes, const int startID = 1, const int deltaID = 1);
// Renumber all nodes or elements.
//virtual void Renumber (const bool isNodes, const int startID = 1, const int deltaID = 1);
// Renumber all nodes or elements.
@@
-676,7
+679,7
@@
public:
* \param doNotRaise - if true, suppress exception, just return free memory size
* \retval int - amount of available memory in MB or negative number in failure case
*/
* \param doNotRaise - if true, suppress exception, just return free memory size
* \retval int - amount of available memory in MB or negative number in failure case
*/
- static int CheckMemory(const bool doNotRaise=false)
throw (std::bad_alloc)
;
+ static int CheckMemory(const bool doNotRaise=false);
virtual int MaxNodeID() const;
virtual int MinNodeID() const;
virtual int MaxNodeID() const;
virtual int MinNodeID() const;
@@
-708,7
+711,7
@@
public:
void Modified();
vtkMTimeType GetMTime() const;
void Modified();
vtkMTimeType GetMTime() const;
-protected:
+
protected:
SMDS_Mesh(SMDS_Mesh * parent);
void addChildrenWithNodes(std::set<const SMDS_MeshElement*>& setOfChildren,
SMDS_Mesh(SMDS_Mesh * parent);
void addChildrenWithNodes(std::set<const SMDS_MeshElement*>& setOfChildren,
@@
-725,6
+728,11
@@
protected:
else if (z < zmin) zmin = z;
}
else if (z < zmin) zmin = z;
}
+ void updateInverseElements( const SMDS_MeshElement * element,
+ const SMDS_MeshNode* const* nodes,
+ const int nbnodes,
+ std::set<const SMDS_MeshNode*>& oldNodes );
+
void setNbShapes( size_t nbShapes );
void setNbShapes( size_t nbShapes );