/// Create a new mesh object
///////////////////////////////////////////////////////////////////////////////
SMDS_Mesh::SMDS_Mesh()
- :myParent(NULL),
- myNodeIDFactory(new SMDS_MeshNodeIDFactory()),
- myElementIDFactory(new SMDS_MeshElementIDFactory()),
- myHasConstructionEdges(false), myHasConstructionFaces(false),
- myHasInverseElements(true),
- myNodeMin(0), myNodeMax(0),
- myNodePool(0), myEdgePool(0), myFacePool(0), myVolumePool(0),myBallPool(0),
- myModified(false), myModifTime(0), myCompactTime(0),
- xmin(0), xmax(0), ymin(0), ymax(0), zmin(0), zmax(0)
+ :myParent(NULL),
+ myNodeIDFactory(new SMDS_MeshNodeIDFactory()),
+ myElementIDFactory(new SMDS_MeshElementIDFactory()),
+ myHasConstructionEdges(false), myHasConstructionFaces(false),
+ myHasInverseElements(true),
+ myNodeMin(0), myNodeMax(0),
+ myNodePool(0), myEdgePool(0), myFacePool(0), myVolumePool(0),myBallPool(0),
+ myModified(false), myModifTime(0), myCompactTime(0),
+ xmin(0), xmax(0), ymin(0), ymax(0), zmin(0), zmax(0)
{
myMeshId = _meshList.size(); // --- index of the mesh to push back in the vector
- MESSAGE("myMeshId=" << myMeshId);
- MESSAGE("sizeof(SMDS_MeshElement) " << sizeof(SMDS_MeshElement) );
- MESSAGE("sizeof(SMDS_MeshNode) " << sizeof(SMDS_MeshNode) );
- MESSAGE("sizeof(SMDS_MeshCell) " << sizeof(SMDS_MeshCell) );
- MESSAGE("sizeof(SMDS_VtkVolume) " << sizeof(SMDS_VtkVolume) );
- MESSAGE("sizeof(SMDS_Position) " << sizeof(SMDS_Position) );
- MESSAGE("sizeof(SMDS_SpacePosition) " << sizeof(SMDS_SpacePosition) );
myNodeIDFactory->SetMesh(this);
myElementIDFactory->SetMesh(this);
_meshList.push_back(this);
SMESH_Hypothesis_i::SMESH_Hypothesis_i( PortableServer::POA_ptr thePOA )
: SALOME::GenericObj_i( thePOA )
{
- MESSAGE( "SMESH_Hypothesis_i::SMESH_Hypothesis_i / Début" );
myBaseImpl = 0;
-
- MESSAGE( "SMESH_Hypothesis_i::SMESH_Hypothesis_i / Fin" );
};
//=============================================================================
char* SMESH_Hypothesis_i::GetName()
{
- //MESSAGE( "SMESH_Hypothesis_i::GetName" );
return CORBA::string_dup( myBaseImpl->GetName() );
};
char* SMESH_Hypothesis_i::GetLibName()
{
- MESSAGE( "SMESH_Hypothesis_i::GetLibName" );
return CORBA::string_dup( myBaseImpl->GetLibName() );
};
void SMESH_Hypothesis_i::SetLibName(const char* theLibName)
{
- MESSAGE( "SMESH_Hypothesis_i::SetLibName" );
myBaseImpl->SetLibName( theLibName );
};
CORBA::Long SMESH_Hypothesis_i::GetId()
{
- MESSAGE( "SMESH_Hypothesis_i::GetId" );
return myBaseImpl->GetID();
}