Public Member Functions | |
bool | changeMeshName (const std::string &oldMeshName, const std::string &newMeshName) |
bool | changeMeshNames (const std::vector< std::pair< std::string, std::string > > &modifTab) |
void | dealWithStructureElements () |
MEDFileData * | deepCopy () const |
std::vector< const BigMemoryObject * > | getDirectChildrenWithNull () const |
MEDFileFields * | getFields () const |
std::string | getHeader () const |
std::size_t | getHeapMemorySizeWithoutChildren () const |
MEDFileMeshes * | getMeshes () const |
int | getNumberOfFields () const |
int | getNumberOfMeshes () const |
int | getNumberOfParams () const |
MEDFileParameters * | getParams () const |
void | setFields (MEDFileFields *fields) |
void | setHeader (const std::string &header) |
void | setMeshes (MEDFileMeshes *meshes) |
void | setParams (MEDFileParameters *params) |
std::string | simpleRepr () const |
bool | unPolyzeMeshes () |
void | writeLL (med_idt fid) const |
Static Public Member Functions | |
static MCAuto< MEDFileData > | Aggregate (const std::vector< const MEDFileData * > &mfds) |
static MEDFileData * | New (const std::string &fileName) |
static MEDFileData * | New (med_idt fid) |
static MEDFileData * | New () |
static MEDFileData * | New (DataArrayByte *db) |
Additional Inherited Members | |
Protected Member Functions inherited from MEDCoupling::RefCountObject | |
RefCountObject () | |
RefCountObject (const RefCountObject &other) | |
virtual | ~RefCountObject () |
User class.
|
static |
References New().
|
static |
|
static |
Referenced by Aggregate(), deepCopy(), and New().
|
static |
MEDFileData * MEDFileData::deepCopy | ( | ) | const |
References New(), and MEDCoupling::MCAuto< T >::retn().
|
virtual |
Implements MEDCoupling::BigMemoryObject.
|
virtual |
Implements MEDCoupling::BigMemoryObject.
MEDFileFields * MEDFileData::getFields | ( | ) | const |
Return a borrowed reference (caller is not responsible for object destruction)
Referenced by Aggregate().
MEDFileMeshes * MEDFileData::getMeshes | ( | ) | const |
Return a borrowed reference (caller is not responsible for object destruction)
Referenced by Aggregate().
MEDFileParameters * MEDFileData::getParams | ( | ) | const |
Return a borrowed reference (caller is not responsible for object destruction)
void MEDFileData::setFields | ( | MEDFileFields * | fields | ) |
References MEDCoupling::RefCountObjectOnly::incrRef().
Referenced by Aggregate().
void MEDFileData::setMeshes | ( | MEDFileMeshes * | meshes | ) |
References MEDCoupling::RefCountObjectOnly::incrRef().
Referenced by Aggregate().
void MEDFileData::setParams | ( | MEDFileParameters * | params | ) |
References MEDCoupling::RefCountObjectOnly::incrRef().
int MEDFileData::getNumberOfFields | ( | ) | const |
References MEDCoupling::MEDFileFields::getNumberOfFields().
int MEDFileData::getNumberOfMeshes | ( | ) | const |
References MEDCoupling::MEDFileMeshes::getNumberOfMeshes().
int MEDFileData::getNumberOfParams | ( | ) | const |
std::string MEDFileData::simpleRepr | ( | ) | const |
std::string MEDFileData::getHeader | ( | ) | const |
void MEDFileData::setHeader | ( | const std::string & | header | ) |
bool MEDFileData::changeMeshNames | ( | const std::vector< std::pair< std::string, std::string > > & | modifTab | ) |
References MEDCoupling::MEDFileFields::changeMeshNames(), and MEDCoupling::MEDFileMeshes::changeNames().
Referenced by changeMeshName().
bool MEDFileData::changeMeshName | ( | const std::string & | oldMeshName, |
const std::string & | newMeshName | ||
) |
References changeMeshNames().
bool MEDFileData::unPolyzeMeshes | ( | ) |
This method performs unpolyzation in meshes in this and if it leads to a modification to one or more than one meshes in this the fields are automatically renumbered (for those impacted, that is to say here fields on cells and fields on gauss points on impacted fields)
References MEDCoupling::MEDFileMeshes::getMeshAtPos(), MEDCoupling::MEDFileMeshes::getNumberOfMeshes(), MEDCoupling::MEDFileFields::renumberEntitiesLyingOnMesh(), and MEDCoupling::MEDFileMesh::unPolyze().
void MEDFileData::dealWithStructureElements | ( | ) |
References MEDCoupling::MCAuto< T >::isNull().
|
static |
Precondition : all instances in mfds should have a single mesh with fields on it. If there is an instance with not exactly one mesh an exception will be thrown. You can invoke MEDFileFields::partOfThisLyingOnSpecifiedMeshName method to make it work.
References MEDCoupling::MEDFileUMesh::Aggregate(), MEDCoupling::MEDFileAnyTypeFieldMultiTS::Aggregate(), MEDCoupling::MEDFileUMesh::getAllDistributionOfTypes(), getFields(), getMeshes(), MEDCoupling::MEDFileMesh::getName(), New(), MEDCoupling::MEDFileMeshes::New(), MEDCoupling::MEDFileFields::New(), MEDCoupling::MEDFileMeshes::pushMesh(), setFields(), setMeshes(), and MEDCoupling::MEDFileAnyTypeFieldMultiTS::setMeshName().
void MEDFileData::writeLL | ( | med_idt | fid | ) | const |
References MEDCoupling::MCAuto< T >::isNotNull().