Salome HOME
PR: debug SMDS memimp
[modules/smesh.git] / src / SMDS / SMDS_MeshElement.cxx
index fdbeffd86f0a1c19959efe7003c119ec48407b26..6f5b5eb54b8844b645a2924c0b17449587932c89 100644 (file)
 
 using namespace std;
 
-int SMDS_MeshCell::nbCells = 0;
-
-SMDS_MeshElement::SMDS_MeshElement(int ID):myID(ID), myMeshId(-1), myShapeId(-1)
+SMDS_MeshElement::SMDS_MeshElement(int ID):myID(ID), myMeshId(-1), myShapeId(-1), myIdInShape(-1)
 {
 }
 
-SMDS_MeshElement::SMDS_MeshElement(int id, UShortType meshId, ShortType shapeId):
-  myID(id), myMeshId(meshId), myShapeId(shapeId)
+SMDS_MeshElement::SMDS_MeshElement(int id, ShortType meshId, ShortType shapeId):
+  myID(id), myMeshId(meshId), myShapeId(shapeId), myIdInShape(-1)
 {
 }
 
@@ -245,14 +243,3 @@ int SMDS_MeshElement::GetNodeIndex( const SMDS_MeshNode* node ) const
       return i;
   return -1;
 }
-
-SMDS_MeshCell::SMDS_MeshCell()
-{
-  nbCells++;
-  myVtkID = -1;
-};
-
-SMDS_MeshCell::~SMDS_MeshCell()
-{
-  nbCells--;
-}
\ No newline at end of file