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
IPAL52980: Wire Discretization with Table density fails
[modules/smesh.git]
/
src
/
SMDS
/
SMDS_Mesh.hxx
diff --git
a/src/SMDS/SMDS_Mesh.hxx
b/src/SMDS/SMDS_Mesh.hxx
index bc3c740126be2483e7172fa2c3ece994acf27cc8..c0dc013b48c6c386db4b01ee197401a022afd749 100644
(file)
--- a/
src/SMDS/SMDS_Mesh.hxx
+++ b/
src/SMDS/SMDS_Mesh.hxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
5
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
6
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
@@
-58,7
+58,7
@@
#define MYASSERT(val) if (!(val)) throw SALOME_Exception(LOCALIZED("assertion not verified"));
#define MYASSERT(val) if (!(val)) throw SALOME_Exception(LOCALIZED("assertion not verified"));
-class SMDS_EXPORT SMDS_Mesh
:
public SMDS_MeshObject
+class SMDS_EXPORT SMDS_Mesh
:
public SMDS_MeshObject
{
public:
friend class SMDS_MeshIDFactory;
{
public:
friend class SMDS_MeshIDFactory;
@@
-747,7
+747,7
@@
public:
void incrementNodesCapacity(int nbNodes);
void incrementCellsCapacity(int nbCells);
void adjustStructure();
void incrementNodesCapacity(int nbNodes);
void incrementCellsCapacity(int nbCells);
void adjustStructure();
- void dumpGrid(string ficdump="dumpGrid");
+ void dumpGrid(st
d::st
ring ficdump="dumpGrid");
static int chunkSize;
//! low level modification: add, change or remove node or element
static int chunkSize;
//! low level modification: add, change or remove node or element
@@
-789,7
+789,7
@@
protected:
{
assert(ID >= 0);
myElementIDFactory->adjustMaxId(ID);
{
assert(ID >= 0);
myElementIDFactory->adjustMaxId(ID);
- if (ID >= myCells.size())
+ if (ID >=
(int)
myCells.size())
myCells.resize(ID+SMDS_Mesh::chunkSize,0);
}
myCells.resize(ID+SMDS_Mesh::chunkSize,0);
}
@@
-838,6
+838,8
@@
protected:
SMDS_MeshElementIDFactory *myElementIDFactory;
SMDS_MeshInfo myInfo;
SMDS_MeshElementIDFactory *myElementIDFactory;
SMDS_MeshInfo myInfo;
+ //! any add, remove or change of node or cell
+ bool myModified;
//! use a counter to keep track of modifications
unsigned long myModifTime, myCompactTime;
//! use a counter to keep track of modifications
unsigned long myModifTime, myCompactTime;
@@
-848,9
+850,6
@@
protected:
bool myHasConstructionFaces;
bool myHasInverseElements;
bool myHasConstructionFaces;
bool myHasInverseElements;
- //! any add, remove or change of node or cell
- bool myModified;
-
double xmin;
double xmax;
double ymin;
double xmin;
double xmax;
double ymin;