#include <MEDFileMesh.hxx>

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 MEDCouplingCMesh * | getMesh () const |
| MEDCouplingMesh * | getGenMeshAtLevel (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) |
| 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) |
| 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) |
Static Public Member Functions | |
| static MEDFileCMesh * | New () |
| static MEDFileCMesh * | New (const char *fileName) throw (INTERP_KERNEL::Exception) |
| static MEDFileCMesh * | New (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 |
| 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.
| MEDFileCMesh * MEDFileCMesh::New | ( | ) | [static] |
References ParaMEDMEM.MEDFileCMesh.MEDFileCMesh().
| MEDFileCMesh * MEDFileCMesh::New | ( | const char * | fileName | ) | throw (INTERP_KERNEL::Exception) [static] |
Reimplemented from ParaMEDMEM.MEDFileMesh.
References MEDFileUtilities.CheckFileForRead(), Med_Gen_test.dt, Med_Gen_test.fileName, ParaMEDMEM.MEDFileMeshL2.GetMeshIdFromName(), MEDLoader.GetMeshNames(), and Med_Gen_test.it.
| MEDFileCMesh * MEDFileCMesh::New | ( | const char * | fileName, |
| const char * | mName, | ||
| int | dt = -1, |
||
| int | it = -1 |
||
| ) | throw (INTERP_KERNEL::Exception) [static] |
Reimplemented from ParaMEDMEM.MEDFileMesh.
References MEDFileUtilities.CheckFileForRead(), Med_Gen_test.dt, Med_Gen_test.fileName, and Med_Gen_test.it.
| bool MEDFileCMesh::isEqual | ( | const MEDFileMesh * | other, |
| double | eps, | ||
| std::string & | what | ||
| ) | const [virtual] |
Reimplemented from ParaMEDMEM.MEDFileMesh.
References ParaMEDMEM.MEDFileCMesh._cmesh, ParaMEDMEM.MEDFileCMesh._fam_cells, ParaMEDMEM.MEDFileCMesh._fam_nodes, ParaMEDMEM.MEDFileCMesh._num_cells, ParaMEDMEM.MEDFileCMesh._num_nodes, ParaMEDMEM.MEDFileCMesh.clearNonDiscrAttributes(), ParaMEDMEM.DataArrayInt.isEqual(), ParaMEDMEM.MEDCouplingCMesh.isEqual(), ParaMEDMEM.MEDFileMesh.isEqual(), and testMEDMEM.ret.
| int MEDFileCMesh::getMeshDimension | ( | ) | const throw (INTERP_KERNEL::Exception) [virtual] |
Implements ParaMEDMEM.MEDFileMesh.
References ParaMEDMEM.MEDFileCMesh._cmesh, and ParaMEDMEM.MEDCouplingCMesh.getMeshDimension().
| void MEDFileCMesh::clearNonDiscrAttributes | ( | ) | const [virtual] |
| const MEDCouplingCMesh * MEDFileCMesh::getMesh | ( | ) | const |
| MEDCouplingMesh * MEDFileCMesh::getGenMeshAtLevel | ( | int | meshDimRelToMax, |
| bool | renum = false |
||
| ) | const throw (INTERP_KERNEL::Exception) [virtual] |
Implements ParaMEDMEM.MEDFileMesh.
References ParaMEDMEM.RefCountObject.incrRef(), and TestMedCorba2.m.
| 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] |
Implements ParaMEDMEM.MEDFileMesh.
References MEDLoaderBase.buildEmptyString(), MEDFileUtilities.CheckMEDCode(), medClient_test.desc, Med_Gen_test.fileName, ParaMEDMEM.DataArrayInt.getConstPointer(), ParaMEDMEM.DataArrayDouble.getConstPointer(), ParaMEDMEM.DataArray.getNumberOfTuples(), MED_EN.MED_CARTESIAN, MED_EN.MED_CELL, MED_EN.MED_HEXA8, MED_EN.MED_NODE, MED_EN.MED_NONE, MED_EN.MED_POINT1, MED_EN.MED_QUAD4, MED_EN.MED_SEG2, med_test3.mode, MEDLoaderBase.safeStrCpy(), MEDLoaderBase.safeStrCpy2(), batchmode_medcorba_test.spaceDim, MEDLoaderBase.splitIntoNameAndUnit(), MEDFileUtilities.TraduceWriteMode(), medMeshing_test.unit, and ParaMEDMEM.MEDFileMeshL2.WriteFamiliesAndGrps().
| int MEDFileCMesh::getSizeAtLevel | ( | int | meshDimRelToMaxExt | ) | const throw (INTERP_KERNEL::Exception) [virtual] |
Implements ParaMEDMEM.MEDFileMesh.
References ParaMEDMEM.MEDCouplingCMesh.getNumberOfCells(), and ParaMEDMEM.MEDCouplingCMesh.getNumberOfNodes().
| DataArrayInt * MEDFileCMesh::getFamiliesArr | ( | int | meshDimRelToMaxExt, |
| const std::vector< std::string > & | fams, | ||
| bool | renum = false |
||
| ) | const throw (INTERP_KERNEL::Exception) [virtual] |
Implements ParaMEDMEM.MEDFileMesh.
References ParaMEDMEM.DataArrayInt.getIdsEqualList(), and ParaMEDMEM.MEDFileUMeshSplitL1.Renumber().
| void MEDFileCMesh::setFamilyFieldArr | ( | int | meshDimRelToMaxExt, |
| DataArrayInt * | famArr | ||
| ) | throw (INTERP_KERNEL::Exception) [virtual] |
Implements ParaMEDMEM.MEDFileMesh.
| void MEDFileCMesh::setRenumFieldArr | ( | int | meshDimRelToMaxExt, |
| DataArrayInt * | renumArr | ||
| ) | throw (INTERP_KERNEL::Exception) [virtual] |
Implements ParaMEDMEM.MEDFileMesh.
| const DataArrayInt * MEDFileCMesh::getFamilyFieldAtLevel | ( | int | meshDimRelToMaxExt | ) | const throw (INTERP_KERNEL::Exception) [virtual] |
Implements ParaMEDMEM.MEDFileMesh.
| const DataArrayInt * MEDFileCMesh::getNumberFieldAtLevel | ( | int | meshDimRelToMaxExt | ) | const throw (INTERP_KERNEL::Exception) [virtual] |
Implements ParaMEDMEM.MEDFileMesh.
| const DataArrayInt * MEDFileCMesh::getRevNumberFieldAtLevel | ( | int | meshDimRelToMaxExt | ) | const throw (INTERP_KERNEL::Exception) [virtual] |
Implements ParaMEDMEM.MEDFileMesh.
References ParaMEDMEM.DataArrayInt.getMaxValue(), and ParaMEDMEM.DataArrayInt.invertArrayN2O2O2N().
| void MEDFileCMesh::synchronizeTinyInfoOnLeaves | ( | ) | const [private, virtual] |
| void MEDFileCMesh::loadCMeshFromFile | ( | med_idt | fid, |
| const char * | mName, | ||
| int | dt, | ||
| int | it | ||
| ) | throw (INTERP_KERNEL::Exception) [private] |
References ParaMEDMEM.CARTESIAN, Med_Gen_test.dt, ParaMEDMEM.MEDFileMeshL2.getDescription(), ParaMEDMEM.MEDFileMeshL2.getIteration(), ParaMEDMEM.MEDFileCMeshL2.getMesh(), ParaMEDMEM.MEDFileMeshL2.GetMeshIdFromName(), ParaMEDMEM.MEDFileMeshL2.getName(), ParaMEDMEM.MEDFileMeshL2.getOrder(), ParaMEDMEM.MEDCouplingCMesh.getSpaceDimension(), ParaMEDMEM.MEDFileMeshL2.getTime(), ParaMEDMEM.MEDFileMeshL2.getTimeUnit(), ParaMEDMEM.RefCountObject.incrRef(), Med_Gen_test.it, ParaMEDMEM.MEDFileCMeshL2.loadAll(), MED_EN.MED_CELL, MED_EN.MED_HEXA8, MED_EN.MED_NODAL, MED_EN.MED_NODE, MED_EN.MED_NONE, MED_EN.MED_POINT1, MED_EN.MED_QUAD4, MED_EN.MED_SEG2, med_2_3.MEDmeshEntityFamilyNumberRd(), med_2_3.MEDmeshEntityNumberRd(), MED_test2.mesh, ParaMEDMEM.DataArrayInt.New(), ParaMEDMEM.MEDFileMeshL2.ReadFamiliesAndGrps(), and batchmode_medcorba_test.spaceDim.
friend class MEDFileMesh [friend] |
MEDCouplingAutoRefCountObjectPtr<DataArrayInt> ParaMEDMEM.MEDFileCMesh._rev_num_nodes [mutable, private] |
MEDCouplingAutoRefCountObjectPtr<DataArrayInt> ParaMEDMEM.MEDFileCMesh._rev_num_cells [mutable, private] |