Public Member Functions |
bool | isEqual (const MEDFileMesh *other, double eps, std::string &what) const |
int | getMeshDimension () const throw (INTERP_KERNEL::Exception) |
std::string | simpleRepr () const |
std::string | advancedRepr () const |
void | clearNonDiscrAttributes () const |
const MEDCouplingCMesh * | getMesh () const |
MEDCouplingMesh * | getGenMeshAtLevel (int meshDimRelToMax, bool renum=false) const throw (INTERP_KERNEL::Exception) |
void | setMesh (MEDCouplingCMesh *m) throw (INTERP_KERNEL::Exception) |
int | getSizeAtLevel (int meshDimRelToMaxExt) const throw (INTERP_KERNEL::Exception) |
DataArrayInt * | getFamiliesArr (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) |
std::vector< int > | getNonEmptyLevels () const |
std::vector< int > | getNonEmptyLevelsExt () const |
const DataArrayInt * | getFamilyFieldAtLevel (int meshDimRelToMaxExt) const throw (INTERP_KERNEL::Exception) |
const DataArrayInt * | getNumberFieldAtLevel (int meshDimRelToMaxExt) const throw (INTERP_KERNEL::Exception) |
const DataArrayInt * | getRevNumberFieldAtLevel (int meshDimRelToMaxExt) const throw (INTERP_KERNEL::Exception) |
void | setName (const char *name) |
const char * | getName () const |
void | setUnivName (const char *name) |
const char * | getUnivName () const |
void | setDescription (const char *name) |
const char * | getDescription () const |
void | setOrder (int order) |
int | getOrder () const |
void | setIteration (int it) |
int | getIteration () const |
void | setTimeValue (double time) |
void | setTime (double time, int dt, int it) |
double | getTime (int &dt, int &it) |
double | getTimeValue () const |
void | setTimeUnit (const char *unit) |
const char * | getTimeUnit () const |
virtual void | write (const char *fileName, int mode) const throw (INTERP_KERNEL::Exception) |
virtual void | write (med_idt fid) const throw (INTERP_KERNEL::Exception) |
bool | areFamsEqual (const MEDFileMesh *other, std::string &what) const |
bool | areGrpsEqual (const MEDFileMesh *other, std::string &what) const |
bool | existsGroup (const char *groupName) const |
bool | existsFamily (int famId) const |
bool | existsFamily (const char *familyName) const |
void | setFamilyId (const char *familyName, int id) |
virtual void | addFamily (const char *familyName, int id) throw (INTERP_KERNEL::Exception) |
virtual void | createGroupOnAll (int meshDimRelToMaxExt, const char *groupName) throw (INTERP_KERNEL::Exception) |
virtual bool | keepFamIdsOnlyOnLevs (const std::vector< int > &famIds, const std::vector< int > &levs) throw (INTERP_KERNEL::Exception) |
void | addFamilyOnGrp (const char *grpName, const char *famName) throw (INTERP_KERNEL::Exception) |
std::string | findOrCreateAndGiveFamilyWithId (int id, bool &created) throw (INTERP_KERNEL::Exception) |
void | setFamilyInfo (const std::map< std::string, int > &info) |
void | setGroupInfo (const std::map< std::string, std::vector< std::string > > &info) |
void | copyFamGrpMapsFrom (const MEDFileMesh &other) |
const std::map< std::string,
int > & | getFamilyInfo () const |
const std::map< std::string,
std::vector< std::string > > & | getGroupInfo () const |
std::vector< std::string > | getFamiliesOnGroup (const char *name) const throw (INTERP_KERNEL::Exception) |
std::vector< std::string > | getFamiliesOnGroups (const std::vector< std::string > &grps) const throw (INTERP_KERNEL::Exception) |
std::vector< int > | getFamiliesIdsOnGroup (const char *name) const throw (INTERP_KERNEL::Exception) |
void | setFamiliesOnGroup (const char *name, const std::vector< std::string > &fams) throw (INTERP_KERNEL::Exception) |
void | setFamiliesIdsOnGroup (const char *name, const std::vector< int > &famIds) throw (INTERP_KERNEL::Exception) |
std::vector< std::string > | getGroupsOnFamily (const char *name) const throw (INTERP_KERNEL::Exception) |
void | setGroupsOnFamily (const char *famName, const std::vector< std::string > &grps) throw (INTERP_KERNEL::Exception) |
std::vector< std::string > | getGroupsNames () const |
std::vector< std::string > | getFamiliesNames () const |
void | assignFamilyNameWithGroupName () throw (INTERP_KERNEL::Exception) |
void | removeGroup (const char *name) throw (INTERP_KERNEL::Exception) |
void | removeFamily (const char *name) throw (INTERP_KERNEL::Exception) |
void | changeGroupName (const char *oldName, const char *newName) throw (INTERP_KERNEL::Exception) |
void | changeFamilyName (const char *oldName, const char *newName) throw (INTERP_KERNEL::Exception) |
void | changeFamilyId (int oldId, int newId) throw (INTERP_KERNEL::Exception) |
int | getFamilyId (const char *name) const throw (INTERP_KERNEL::Exception) |
int | getMaxFamilyId () const throw (INTERP_KERNEL::Exception) |
std::vector< int > | getFamiliesIds (const std::vector< std::string > &famNames) const throw (INTERP_KERNEL::Exception) |
std::string | getFamilyNameGivenId (int id) const throw (INTERP_KERNEL::Exception) |
virtual void | setGroupsAtLevel (int meshDimRelToMaxExt, const std::vector< const DataArrayInt * > &grps, bool renum=false) throw (INTERP_KERNEL::Exception) |
virtual DataArrayInt * | getGroupsArr (int meshDimRelToMaxExt, const std::vector< std::string > &grps, bool renum=false) const throw (INTERP_KERNEL::Exception) |
virtual DataArrayInt * | getGroupArr (int meshDimRelToMaxExt, const char *grp, bool renum=false) const throw (INTERP_KERNEL::Exception) |
virtual DataArrayInt * | getFamilyArr (int meshDimRelToMaxExt, const char *fam, bool renum=false) const throw (INTERP_KERNEL::Exception) |
virtual DataArrayInt * | getNodeGroupArr (const char *grp, bool renum=false) const throw (INTERP_KERNEL::Exception) |
virtual DataArrayInt * | getNodeGroupsArr (const std::vector< std::string > &grps, bool renum=false) const throw (INTERP_KERNEL::Exception) |
virtual DataArrayInt * | getNodeFamilyArr (const char *fam, bool renum=false) const throw (INTERP_KERNEL::Exception) |
virtual DataArrayInt * | getNodeFamiliesArr (const std::vector< std::string > &fams, bool renum=false) const throw (INTERP_KERNEL::Exception) |
bool | decrRef () const |
void | incrRef () const |