Version: 6.3.1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends

ParaMEDMEM.MEDFileCMesh Class Reference

#include <MEDFileMesh.hxx>

Inheritance diagram for ParaMEDMEM.MEDFileCMesh:
Inheritance graph

Public Member Functions

bool isEqual (const MEDFileMesh *other, double eps, std::string &what) const
int getMeshDimension () const throw (INTERP_KERNEL::Exception)
void clearNonDiscrAttributes () const
const MEDCouplingCMeshgetMesh () const
MEDCouplingMeshgetGenMeshAtLevel (int meshDimRelToMax, bool renum=false) const throw (INTERP_KERNEL::Exception)
void setMesh (MEDCouplingCMesh *m) throw (INTERP_KERNEL::Exception)
void write (const char *fileName, int mode) const throw (INTERP_KERNEL::Exception)
int getSizeAtLevel (int meshDimRelToMaxExt) const throw (INTERP_KERNEL::Exception)
DataArrayIntgetFamiliesArr (int meshDimRelToMaxExt, const std::vector< std::string > &fams, bool renum=false) const throw (INTERP_KERNEL::Exception)
void setFamilyFieldArr (int meshDimRelToMaxExt, DataArrayInt *famArr) throw (INTERP_KERNEL::Exception)
void setRenumFieldArr (int meshDimRelToMaxExt, DataArrayInt *renumArr) throw (INTERP_KERNEL::Exception)
const DataArrayIntgetFamilyFieldAtLevel (int meshDimRelToMaxExt) const throw (INTERP_KERNEL::Exception)
const DataArrayIntgetNumberFieldAtLevel (int meshDimRelToMaxExt) const throw (INTERP_KERNEL::Exception)
const DataArrayIntgetRevNumberFieldAtLevel (int meshDimRelToMaxExt) const throw (INTERP_KERNEL::Exception)

Static Public Member Functions

static MEDFileCMeshNew ()
static MEDFileCMeshNew (const char *fileName) throw (INTERP_KERNEL::Exception)
static MEDFileCMeshNew (const char *fileName, const char *mName, int dt=-1, int it=-1) throw (INTERP_KERNEL::Exception)

Private Member Functions

 MEDFileCMesh ()
void synchronizeTinyInfoOnLeaves () const
 MEDFileCMesh (med_idt fid, const char *mName, int dt, int it) throw (INTERP_KERNEL::Exception)
void loadCMeshFromFile (med_idt fid, const char *mName, int dt, int it) throw (INTERP_KERNEL::Exception)

Private Attributes

MEDCouplingAutoRefCountObjectPtr
< MEDCouplingCMesh
_cmesh
MEDCouplingAutoRefCountObjectPtr
< DataArrayInt
_fam_nodes
MEDCouplingAutoRefCountObjectPtr
< DataArrayInt
_num_nodes
MEDCouplingAutoRefCountObjectPtr
< DataArrayInt
_fam_cells
MEDCouplingAutoRefCountObjectPtr
< DataArrayInt
_num_cells
MEDCouplingAutoRefCountObjectPtr
< DataArrayInt
_rev_num_nodes
MEDCouplingAutoRefCountObjectPtr
< DataArrayInt
_rev_num_cells

Friends

class MEDFileMesh

Constructor & Destructor Documentation

MEDFileCMesh::MEDFileCMesh ( ) [private]
MEDFileCMesh::MEDFileCMesh ( med_idt  fid,
const char *  mName,
int  dt,
int  it 
) throw (INTERP_KERNEL::Exception) [private]

References Med_Gen_test.dt, and Med_Gen_test.it.


Member Function Documentation

MEDFileCMesh * MEDFileCMesh::New ( ) [static]
MEDFileCMesh * MEDFileCMesh::New ( const char *  fileName) throw (INTERP_KERNEL::Exception) [static]
MEDFileCMesh * MEDFileCMesh::New ( const char *  fileName,
const char *  mName,
int  dt = -1,
int  it = -1 
) throw (INTERP_KERNEL::Exception) [static]
bool MEDFileCMesh::isEqual ( const MEDFileMesh other,
double  eps,
std::string &  what 
) const [virtual]
int MEDFileCMesh::getMeshDimension ( ) const throw (INTERP_KERNEL::Exception) [virtual]
void MEDFileCMesh::clearNonDiscrAttributes ( ) const [virtual]
const MEDCouplingCMesh * MEDFileCMesh::getMesh ( ) const
MEDCouplingMesh * MEDFileCMesh::getGenMeshAtLevel ( int  meshDimRelToMax,
bool  renum = false 
) const throw (INTERP_KERNEL::Exception) [virtual]
void MEDFileCMesh::setMesh ( MEDCouplingCMesh m) throw (INTERP_KERNEL::Exception)

References TestMedCorba2.m.

void MEDFileCMesh::write ( const char *  fileName,
int  mode 
) const throw (INTERP_KERNEL::Exception) [virtual]
int MEDFileCMesh::getSizeAtLevel ( int  meshDimRelToMaxExt) const throw (INTERP_KERNEL::Exception) [virtual]
DataArrayInt * MEDFileCMesh::getFamiliesArr ( int  meshDimRelToMaxExt,
const std::vector< std::string > &  fams,
bool  renum = false 
) const throw (INTERP_KERNEL::Exception) [virtual]
void MEDFileCMesh::setFamilyFieldArr ( int  meshDimRelToMaxExt,
DataArrayInt famArr 
) throw (INTERP_KERNEL::Exception) [virtual]
void MEDFileCMesh::setRenumFieldArr ( int  meshDimRelToMaxExt,
DataArrayInt renumArr 
) throw (INTERP_KERNEL::Exception) [virtual]
const DataArrayInt * MEDFileCMesh::getFamilyFieldAtLevel ( int  meshDimRelToMaxExt) const throw (INTERP_KERNEL::Exception) [virtual]
const DataArrayInt * MEDFileCMesh::getNumberFieldAtLevel ( int  meshDimRelToMaxExt) const throw (INTERP_KERNEL::Exception) [virtual]
const DataArrayInt * MEDFileCMesh::getRevNumberFieldAtLevel ( int  meshDimRelToMaxExt) const throw (INTERP_KERNEL::Exception) [virtual]
void MEDFileCMesh::synchronizeTinyInfoOnLeaves ( ) const [private, virtual]
void MEDFileCMesh::loadCMeshFromFile ( med_idt  fid,
const char *  mName,
int  dt,
int  it 
) throw (INTERP_KERNEL::Exception) [private]

Friends And Related Function Documentation

friend class MEDFileMesh [friend]

Field Documentation

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS