

Public Member Functions | |
| MEDCouplingMesh * | deepCpy () const |
| MEDCouplingCMesh * | clone (bool recDeepCpy) const |
| void | updateTime () const |
| MEDCouplingMeshType | getType () const |
| void | copyTinyStringsFrom (const MEDCouplingMesh *other) throw (INTERP_KERNEL::Exception) |
| bool | isEqual (const MEDCouplingMesh *other, double prec) const |
| bool | isEqualWithoutConsideringStr (const MEDCouplingMesh *other, double prec) const |
| void | checkDeepEquivalWith (const MEDCouplingMesh *other, int cellCompPol, double prec, DataArrayInt *&cellCor, DataArrayInt *&nodeCor) const throw (INTERP_KERNEL::Exception) |
| void | checkDeepEquivalOnSameNodesWith (const MEDCouplingMesh *other, int cellCompPol, double prec, DataArrayInt *&cellCor) const throw (INTERP_KERNEL::Exception) |
| void | checkCoherency () const throw (INTERP_KERNEL::Exception) |
| void | checkCoherency1 (double eps=1e-12) const throw (INTERP_KERNEL::Exception) |
| void | checkCoherency2 (double eps=1e-12) const throw (INTERP_KERNEL::Exception) |
| int | getNumberOfCells () const |
| int | getNumberOfNodes () const |
| int | getSpaceDimension () const |
| int | getMeshDimension () const |
| int | getCellIdFromPos (int i, int j, int k) const |
| int | getNodeIdFromPos (int i, int j, int k) const |
| INTERP_KERNEL::NormalizedCellType | getTypeOfCell (int cellId) const |
| std::set < INTERP_KERNEL::NormalizedCellType > | getAllGeoTypes () const |
| int | getNumberOfCellsWithType (INTERP_KERNEL::NormalizedCellType type) const |
| void | getNodeIdsOfCell (int cellId, std::vector< int > &conn) const |
| void | getCoordinatesOfNode (int nodeId, std::vector< double > &coo) const |
| std::string | simpleRepr () const |
| std::string | advancedRepr () const |
| const DataArrayDouble * | getCoordsAt (int i) const throw (INTERP_KERNEL::Exception) |
| DataArrayDouble * | getCoordsAt (int i) throw (INTERP_KERNEL::Exception) |
| void | setCoordsAt (int i, const DataArrayDouble *arr) throw (INTERP_KERNEL::Exception) |
| void | setCoords (const DataArrayDouble *coordsX, const DataArrayDouble *coordsY=0, const DataArrayDouble *coordsZ=0) |
| DataArrayInt * | checkTypeConsistencyAndContig (const std::vector< int > &code, const std::vector< const DataArrayInt * > &idsPerType) const throw (INTERP_KERNEL::Exception) |
| void | splitProfilePerType (const DataArrayInt *profile, std::vector< int > &code, std::vector< DataArrayInt * > &globIdsPerType, std::vector< DataArrayInt * > &idsPerType) const throw (INTERP_KERNEL::Exception) |
| MEDCouplingUMesh * | buildUnstructured () const throw (INTERP_KERNEL::Exception) |
| MEDCouplingMesh * | buildPart (const int *start, const int *end) const |
| MEDCouplingMesh * | buildPartAndReduceNodes (const int *start, const int *end, DataArrayInt *&arr) const |
| DataArrayInt * | simplexize (int policy) throw (INTERP_KERNEL::Exception) |
| void | getBoundingBox (double *bbox) const |
| MEDCouplingFieldDouble * | getMeasureField (bool isAbs) const |
| MEDCouplingFieldDouble * | getMeasureFieldOnNode (bool isAbs) const |
| MEDCouplingFieldDouble * | buildOrthogonalField () const |
| int | getCellContainingPoint (const double *pos, double eps) const |
| void | rotate (const double *center, const double *vector, double angle) |
| void | translate (const double *vector) |
| void | scale (const double *point, double factor) |
| MEDCouplingMesh * | mergeMyselfWith (const MEDCouplingMesh *other) const |
| DataArrayDouble * | getCoordinatesAndOwner () const |
| DataArrayDouble * | getBarycenterAndOwner () const |
| void | renumberCells (const int *old2NewBg, bool check) throw (INTERP_KERNEL::Exception) |
| void | fill1DUnstructuredMesh (MEDCouplingUMesh *m) const |
| void | fill2DUnstructuredMesh (MEDCouplingUMesh *m) const |
| void | fill3DUnstructuredMesh (MEDCouplingUMesh *m) const |
| void | getSplitCellValues (int *res) const |
| void | getSplitNodeValues (int *res) const |
| void | getTinySerializationInformation (std::vector< double > &tinyInfoD, std::vector< int > &tinyInfo, std::vector< std::string > &littleStrings) const |
| void | resizeForUnserialization (const std::vector< int > &tinyInfo, DataArrayInt *a1, DataArrayDouble *a2, std::vector< std::string > &littleStrings) const |
| void | serialize (DataArrayInt *&a1, DataArrayDouble *&a2) const |
| void | unserialization (const std::vector< double > &tinyInfoD, const std::vector< int > &tinyInfo, const DataArrayInt *a1, DataArrayDouble *a2, const std::vector< std::string > &littleStrings) |
Static Public Member Functions | |
| static MEDCouplingCMesh * | New () |
| static void | GetPosFromId (int nodeId, int spaceDim, const int *split, int *res) |
| MEDCouplingCMesh * MEDCouplingCMesh::New | ( | ) | [static] |
| MEDCouplingMesh * MEDCouplingCMesh::deepCpy | ( | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| MEDCouplingCMesh * MEDCouplingCMesh::clone | ( | bool | recDeepCpy | ) | const |
| void MEDCouplingCMesh::updateTime | ( | ) | const [virtual] |
This method should be called on high level classes as Field or Mesh to take into acount modifications done in aggragates objects.
Implements ParaMEDMEM::TimeLabel.
| MEDCouplingMeshType ParaMEDMEM::MEDCouplingCMesh::getType | ( | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::CARTESIAN.
| void MEDCouplingCMesh::copyTinyStringsFrom | ( | const MEDCouplingMesh * | other | ) | throw (INTERP_KERNEL::Exception) [virtual] |
This method copyies all tiny strings from other (name and components name).
| if | other and this have not same mesh type. |
Reimplemented from ParaMEDMEM::MEDCouplingMesh.
| bool MEDCouplingCMesh::isEqual | ( | const MEDCouplingMesh * | other, |
| double | prec | ||
| ) | const [virtual] |
Reimplemented from ParaMEDMEM::MEDCouplingMesh.
Referenced by ParaMEDMEM::MEDFileCMesh::isEqual().
| bool MEDCouplingCMesh::isEqualWithoutConsideringStr | ( | const MEDCouplingMesh * | other, |
| double | prec | ||
| ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| void MEDCouplingCMesh::checkDeepEquivalWith | ( | const MEDCouplingMesh * | other, |
| int | cellCompPol, | ||
| double | prec, | ||
| DataArrayInt *& | cellCor, | ||
| DataArrayInt *& | nodeCor | ||
| ) | const throw (INTERP_KERNEL::Exception) [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| void MEDCouplingCMesh::checkDeepEquivalOnSameNodesWith | ( | const MEDCouplingMesh * | other, |
| int | cellCompPol, | ||
| double | prec, | ||
| DataArrayInt *& | cellCor | ||
| ) | const throw (INTERP_KERNEL::Exception) [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| void MEDCouplingCMesh::checkCoherency | ( | ) | const throw (INTERP_KERNEL::Exception) [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| void MEDCouplingCMesh::checkCoherency1 | ( | double | eps = 1e-12 | ) | const throw (INTERP_KERNEL::Exception) [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| void MEDCouplingCMesh::checkCoherency2 | ( | double | eps = 1e-12 | ) | const throw (INTERP_KERNEL::Exception) [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| int MEDCouplingCMesh::getNumberOfCells | ( | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
Referenced by ParaMEDMEM::MEDFileCMesh::getSizeAtLevel().
| int MEDCouplingCMesh::getNumberOfNodes | ( | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
Referenced by ParaMEDMEM::MEDFileCMesh::getSizeAtLevel().
| int MEDCouplingCMesh::getSpaceDimension | ( | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| int MEDCouplingCMesh::getMeshDimension | ( | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
Referenced by ParaMEDMEM::MEDFileCMesh::getMeshDimension().
| int MEDCouplingCMesh::getCellIdFromPos | ( | int | i, |
| int | j, | ||
| int | k | ||
| ) | const |
| int MEDCouplingCMesh::getNodeIdFromPos | ( | int | i, |
| int | j, | ||
| int | k | ||
| ) | const |
| void MEDCouplingCMesh::GetPosFromId | ( | int | nodeId, |
| int | spaceDim, | ||
| const int * | split, | ||
| int * | res | ||
| ) | [static] |
| INTERP_KERNEL::NormalizedCellType MEDCouplingCMesh::getTypeOfCell | ( | int | cellId | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
References INTERP_KERNEL::NORM_HEXA8, INTERP_KERNEL::NORM_QUAD4, and INTERP_KERNEL::NORM_SEG2.
| std::set< INTERP_KERNEL::NormalizedCellType > MEDCouplingCMesh::getAllGeoTypes | ( | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
References INTERP_KERNEL::NORM_HEXA8, INTERP_KERNEL::NORM_QUAD4, and INTERP_KERNEL::NORM_SEG2.
| int MEDCouplingCMesh::getNumberOfCellsWithType | ( | INTERP_KERNEL::NormalizedCellType | type | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
References INTERP_KERNEL::NORM_HEXA8, INTERP_KERNEL::NORM_QUAD4, and INTERP_KERNEL::NORM_SEG2.
| void MEDCouplingCMesh::getNodeIdsOfCell | ( | int | cellId, |
| std::vector< int > & | conn | ||
| ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| void MEDCouplingCMesh::getCoordinatesOfNode | ( | int | nodeId, |
| std::vector< double > & | coo | ||
| ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| std::string MEDCouplingCMesh::simpleRepr | ( | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| std::string MEDCouplingCMesh::advancedRepr | ( | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| const DataArrayDouble * MEDCouplingCMesh::getCoordsAt | ( | int | i | ) | const throw (INTERP_KERNEL::Exception) |
| DataArrayDouble * MEDCouplingCMesh::getCoordsAt | ( | int | i | ) | throw (INTERP_KERNEL::Exception) |
| void MEDCouplingCMesh::setCoordsAt | ( | int | i, |
| const DataArrayDouble * | arr | ||
| ) | throw (INTERP_KERNEL::Exception) |
| void MEDCouplingCMesh::setCoords | ( | const DataArrayDouble * | coordsX, |
| const DataArrayDouble * | coordsY = 0, |
||
| const DataArrayDouble * | coordsZ = 0 |
||
| ) |
References ParaMEDMEM::RefCountObject::incrRef().
| DataArrayInt * MEDCouplingCMesh::checkTypeConsistencyAndContig | ( | const std::vector< int > & | code, |
| const std::vector< const DataArrayInt * > & | idsPerType | ||
| ) | const throw (INTERP_KERNEL::Exception) [virtual] |
See MEDCouplingUMesh::checkTypeConsistencyAndContig for more information
Implements ParaMEDMEM::MEDCouplingMesh.
References INTERP_KERNEL::NORM_ERROR.
| void MEDCouplingCMesh::splitProfilePerType | ( | const DataArrayInt * | profile, |
| std::vector< int > & | code, | ||
| std::vector< DataArrayInt * > & | globIdsPerType, | ||
| std::vector< DataArrayInt * > & | idsPerType | ||
| ) | const throw (INTERP_KERNEL::Exception) [virtual] |
See MEDCouplingUMesh::splitProfilePerType for more information
Implements ParaMEDMEM::MEDCouplingMesh.
| MEDCouplingUMesh * MEDCouplingCMesh::buildUnstructured | ( | ) | const throw (INTERP_KERNEL::Exception) [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::RefCountObject::decrRef(), and ParaMEDMEM::MEDCouplingPointSet::setCoords().
| MEDCouplingMesh * MEDCouplingCMesh::buildPart | ( | const int * | start, |
| const int * | end | ||
| ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::MEDCouplingPointSet::buildPart(), and ParaMEDMEM::RefCountObject::decrRef().
| MEDCouplingMesh * MEDCouplingCMesh::buildPartAndReduceNodes | ( | const int * | start, |
| const int * | end, | ||
| DataArrayInt *& | arr | ||
| ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::MEDCouplingPointSet::buildPartAndReduceNodes(), and ParaMEDMEM::RefCountObject::decrRef().
| DataArrayInt * MEDCouplingCMesh::simplexize | ( | int | policy | ) | throw (INTERP_KERNEL::Exception) [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| void MEDCouplingCMesh::getBoundingBox | ( | double * | bbox | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::DataArrayDouble::getConstPointer(), and ParaMEDMEM::DataArray::getNbOfElems().
| MEDCouplingFieldDouble * MEDCouplingCMesh::getMeasureField | ( | bool | isAbs | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::DataArrayDouble::alloc(), ParaMEDMEM::RefCountObject::decrRef(), ParaMEDMEM::DataArrayDouble::getPointer(), ParaMEDMEM::ON_CELLS, ParaMEDMEM::MEDCouplingFieldDouble::setArray(), ParaMEDMEM::MEDCouplingField::setMesh(), and ParaMEDMEM::MEDCouplingField::setName().
| MEDCouplingFieldDouble * MEDCouplingCMesh::getMeasureFieldOnNode | ( | bool | isAbs | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| MEDCouplingFieldDouble * MEDCouplingCMesh::buildOrthogonalField | ( | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::DataArrayDouble::alloc(), ParaMEDMEM::RefCountObject::decrRef(), ParaMEDMEM::DataArrayDouble::getPointer(), ParaMEDMEM::NO_TIME, ParaMEDMEM::ON_CELLS, ParaMEDMEM::MEDCouplingFieldDouble::setArray(), and ParaMEDMEM::MEDCouplingField::setMesh().
| int MEDCouplingCMesh::getCellContainingPoint | ( | const double * | pos, |
| double | eps | ||
| ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| void MEDCouplingCMesh::rotate | ( | const double * | center, |
| const double * | vector, | ||
| double | angle | ||
| ) | [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| void MEDCouplingCMesh::translate | ( | const double * | vector | ) | [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| void MEDCouplingCMesh::scale | ( | const double * | point, |
| double | factor | ||
| ) | [virtual] |
| MEDCouplingMesh * MEDCouplingCMesh::mergeMyselfWith | ( | const MEDCouplingMesh * | other | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| DataArrayDouble * MEDCouplingCMesh::getCoordinatesAndOwner | ( | ) | const [virtual] |
| DataArrayDouble * MEDCouplingCMesh::getBarycenterAndOwner | ( | ) | const [virtual] |
| void MEDCouplingCMesh::renumberCells | ( | const int * | old2NewBg, |
| bool | check | ||
| ) | throw (INTERP_KERNEL::Exception) [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| void MEDCouplingCMesh::fill1DUnstructuredMesh | ( | MEDCouplingUMesh * | m | ) | const |
| void MEDCouplingCMesh::fill2DUnstructuredMesh | ( | MEDCouplingUMesh * | m | ) | const |
| void MEDCouplingCMesh::fill3DUnstructuredMesh | ( | MEDCouplingUMesh * | m | ) | const |
| void MEDCouplingCMesh::getSplitCellValues | ( | int * | res | ) | const |
| void MEDCouplingCMesh::getSplitNodeValues | ( | int * | res | ) | const |
| void MEDCouplingCMesh::getTinySerializationInformation | ( | std::vector< double > & | tinyInfoD, |
| std::vector< int > & | tinyInfo, | ||
| std::vector< std::string > & | littleStrings | ||
| ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::DataArray::getInfoOnComponent(), and ParaMEDMEM::DataArray::getNumberOfTuples().
| void MEDCouplingCMesh::resizeForUnserialization | ( | const std::vector< int > & | tinyInfo, |
| DataArrayInt * | a1, | ||
| DataArrayDouble * | a2, | ||
| std::vector< std::string > & | littleStrings | ||
| ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::DataArrayDouble::alloc(), and ParaMEDMEM::DataArrayInt::alloc().
| void MEDCouplingCMesh::serialize | ( | DataArrayInt *& | a1, |
| DataArrayDouble *& | a2 | ||
| ) | const [virtual] |
| void MEDCouplingCMesh::unserialization | ( | const std::vector< double > & | tinyInfoD, |
| const std::vector< int > & | tinyInfo, | ||
| const DataArrayInt * | a1, | ||
| DataArrayDouble * | a2, | ||
| const std::vector< std::string > & | littleStrings | ||
| ) | [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::DataArrayDouble::getConstPointer().