

Public Member Functions | |
| MEDCouplingMeshType | getType () const |
| void | copyTinyStringsFrom (const MEDCouplingMesh *other) throw (INTERP_KERNEL::Exception) |
| int | getNumberOfCells () const |
| int | getNumberOfNodes () const |
| int | getSpaceDimension () const |
| int | getMeshDimension () const |
| MEDCouplingMesh * | deepCpy () const |
| MEDCouplingExtrudedMesh * | clone (bool recDeepCpy) const |
| 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) |
| 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 |
| 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) |
| void | getBoundingBox (double *bbox) const |
| void | updateTime () const |
| void | renumberCells (const int *old2NewBg, bool check) throw (INTERP_KERNEL::Exception) |
| MEDCouplingUMesh * | getMesh2D () const |
| MEDCouplingUMesh * | getMesh1D () const |
| DataArrayInt * | getMesh3DIds () const |
| MEDCouplingUMesh * | build3DUnstructuredMesh () const |
| MEDCouplingUMesh * | buildUnstructured () const throw (INTERP_KERNEL::Exception) |
| MEDCouplingFieldDouble * | getMeasureField (bool) const |
| MEDCouplingFieldDouble * | getMeasureFieldOnNode (bool) 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) |
| 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) |
| 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) |
| MEDCouplingMesh * | mergeMyselfWith (const MEDCouplingMesh *other) const |
| DataArrayDouble * | getCoordinatesAndOwner () const |
| DataArrayDouble * | getBarycenterAndOwner () 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 MEDCouplingExtrudedMesh * | New (const MEDCouplingUMesh *mesh3D, MEDCouplingUMesh *mesh2D, int cell2DId) throw (INTERP_KERNEL::Exception) |
| static MEDCouplingExtrudedMesh * | New () |
| static int | FindCorrespCellByNodalConn (const std::vector< int > &nodalConnec, const int *revNodalPtr, const int *revNodalIndxPtr) throw (INTERP_KERNEL::Exception) |
| static void | Project1DMeshes (const MEDCouplingUMesh *m1, const MEDCouplingUMesh *m2, double eps, MEDCouplingUMesh *&m1r, MEDCouplingUMesh *&m2r, double *v) throw (INTERP_KERNEL::Exception) |
| MEDCouplingExtrudedMesh * MEDCouplingExtrudedMesh::New | ( | const MEDCouplingUMesh * | mesh3D, |
| MEDCouplingUMesh * | mesh2D, | ||
| int | cell2DId | ||
| ) | throw (INTERP_KERNEL::Exception) [static] |
Build an extruded mesh instance from 3D and 2D unstructured mesh lying on the same coords.
| mesh3D | 3D unstructured mesh. |
| mesh2D | 2D unstructured mesh lying on the same coordinates than mesh3D. Warning mesh2D is not const because the mesh is aggregated and potentially modified by rotate or translate method. |
| cell2DId | Id of cell in mesh2D mesh where the computation of 1D mesh will be done. |
| MEDCouplingExtrudedMesh * MEDCouplingExtrudedMesh::New | ( | ) | [static] |
This constructor is here only for unserialisation process. This constructor is normally completely useless for end user.
Referenced by getCoordinatesAndOwner(), getMeasureField(), resizeForUnserialization(), serialize(), and unserialization().
| MEDCouplingMeshType MEDCouplingExtrudedMesh::getType | ( | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::EXTRUDED.
| void MEDCouplingExtrudedMesh::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.
References ParaMEDMEM::MEDCouplingMesh::copyTinyStringsFrom().
| int MEDCouplingExtrudedMesh::getNumberOfCells | ( | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::MEDCouplingUMesh::getNumberOfCells().
Referenced by advancedRepr(), and simpleRepr().
| int MEDCouplingExtrudedMesh::getNumberOfNodes | ( | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::MEDCouplingPointSet::getNumberOfNodes().
Referenced by getCoordinatesAndOwner().
| int MEDCouplingExtrudedMesh::getSpaceDimension | ( | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| int MEDCouplingExtrudedMesh::getMeshDimension | ( | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| MEDCouplingMesh * MEDCouplingExtrudedMesh::deepCpy | ( | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
References clone().
| MEDCouplingExtrudedMesh * MEDCouplingExtrudedMesh::clone | ( | bool | recDeepCpy | ) | const |
Referenced by deepCpy().
| bool MEDCouplingExtrudedMesh::isEqual | ( | const MEDCouplingMesh * | other, |
| double | prec | ||
| ) | const [virtual] |
Reimplemented from ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::DataArrayInt::isEqual(), ParaMEDMEM::MEDCouplingUMesh::isEqual(), and ParaMEDMEM::MEDCouplingMesh::isEqual().
| bool MEDCouplingExtrudedMesh::isEqualWithoutConsideringStr | ( | const MEDCouplingMesh * | other, |
| double | prec | ||
| ) | const [virtual] |
| void MEDCouplingExtrudedMesh::checkDeepEquivalWith | ( | const MEDCouplingMesh * | other, |
| int | cellCompPol, | ||
| double | prec, | ||
| DataArrayInt *& | cellCor, | ||
| DataArrayInt *& | nodeCor | ||
| ) | const throw (INTERP_KERNEL::Exception) [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| void MEDCouplingExtrudedMesh::checkDeepEquivalOnSameNodesWith | ( | const MEDCouplingMesh * | other, |
| int | cellCompPol, | ||
| double | prec, | ||
| DataArrayInt *& | cellCor | ||
| ) | const throw (INTERP_KERNEL::Exception) [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| INTERP_KERNEL::NormalizedCellType MEDCouplingExtrudedMesh::getTypeOfCell | ( | int | cellId | ) | const [virtual] |
| std::set< INTERP_KERNEL::NormalizedCellType > MEDCouplingExtrudedMesh::getAllGeoTypes | ( | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::MEDCouplingUMesh::getAllTypes().
| int MEDCouplingExtrudedMesh::getNumberOfCellsWithType | ( | INTERP_KERNEL::NormalizedCellType | type | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::MEDCouplingUMesh::getNumberOfCells(), and ParaMEDMEM::MEDCouplingUMesh::getTypeOfCell().
| void MEDCouplingExtrudedMesh::getNodeIdsOfCell | ( | int | cellId, |
| std::vector< int > & | conn | ||
| ) | const [virtual] |
| void MEDCouplingExtrudedMesh::getCoordinatesOfNode | ( | int | nodeId, |
| std::vector< double > & | coo | ||
| ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::DataArrayDouble::getConstPointer(), ParaMEDMEM::MEDCouplingUMesh::getCoordinatesOfNode(), ParaMEDMEM::MEDCouplingPointSet::getCoords(), ParaMEDMEM::MEDCouplingPointSet::getNumberOfNodes(), and ParaMEDMEM::MEDCouplingPointSet::getSpaceDimension().
| std::string MEDCouplingExtrudedMesh::simpleRepr | ( | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::MEDCouplingMesh::getDescription(), ParaMEDMEM::MEDCouplingMesh::getName(), ParaMEDMEM::MEDCouplingUMesh::getNumberOfCells(), getNumberOfCells(), ParaMEDMEM::MEDCouplingMesh::getTime(), ParaMEDMEM::MEDCouplingMesh::getTimeUnit(), and ParaMEDMEM::MEDCouplingUMesh::simpleRepr().
| std::string MEDCouplingExtrudedMesh::advancedRepr | ( | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::MEDCouplingUMesh::advancedRepr(), ParaMEDMEM::MEDCouplingMesh::getDescription(), ParaMEDMEM::MEDCouplingMesh::getName(), ParaMEDMEM::MEDCouplingUMesh::getNumberOfCells(), getNumberOfCells(), ParaMEDMEM::MEDCouplingMesh::getTime(), and ParaMEDMEM::MEDCouplingMesh::getTimeUnit().
| void MEDCouplingExtrudedMesh::checkCoherency | ( | ) | const throw (INTERP_KERNEL::Exception) [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| void MEDCouplingExtrudedMesh::checkCoherency1 | ( | double | eps = 1e-12 | ) | const throw (INTERP_KERNEL::Exception) [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| void MEDCouplingExtrudedMesh::checkCoherency2 | ( | double | eps = 1e-12 | ) | const throw (INTERP_KERNEL::Exception) [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| void MEDCouplingExtrudedMesh::getBoundingBox | ( | double * | bbox | ) | const [virtual] |
| void MEDCouplingExtrudedMesh::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.
References ParaMEDMEM::TimeLabel::updateTimeWith().
| void MEDCouplingExtrudedMesh::renumberCells | ( | const int * | old2NewBg, |
| bool | check | ||
| ) | throw (INTERP_KERNEL::Exception) [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| MEDCouplingUMesh* ParaMEDMEM::MEDCouplingExtrudedMesh::getMesh2D | ( | ) | const |
| MEDCouplingUMesh* ParaMEDMEM::MEDCouplingExtrudedMesh::getMesh1D | ( | ) | const |
| DataArrayInt* ParaMEDMEM::MEDCouplingExtrudedMesh::getMesh3DIds | ( | ) | const |
| MEDCouplingUMesh * MEDCouplingExtrudedMesh::build3DUnstructuredMesh | ( | ) | const |
| MEDCouplingUMesh * MEDCouplingExtrudedMesh::buildUnstructured | ( | ) | const throw (INTERP_KERNEL::Exception) [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
References build3DUnstructuredMesh().
| MEDCouplingFieldDouble * MEDCouplingExtrudedMesh::getMeasureField | ( | bool | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::DataArrayDouble::alloc(), ParaMEDMEM::RefCountObject::decrRef(), ParaMEDMEM::MEDCouplingFieldDouble::getArray(), ParaMEDMEM::DataArrayInt::getConstPointer(), ParaMEDMEM::DataArrayDouble::getConstPointer(), ParaMEDMEM::MEDCouplingUMesh::getMeasureField(), ParaMEDMEM::MEDCouplingMesh::getName(), ParaMEDMEM::MEDCouplingUMesh::getNumberOfCells(), ParaMEDMEM::DataArrayDouble::getPointer(), New(), ParaMEDMEM::NO_TIME, ParaMEDMEM::ON_CELLS, ParaMEDMEM::MEDCouplingFieldDouble::setArray(), ParaMEDMEM::MEDCouplingField::setMesh(), and ParaMEDMEM::MEDCouplingField::setName().
| MEDCouplingFieldDouble * MEDCouplingExtrudedMesh::getMeasureFieldOnNode | ( | bool | isAbs | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| MEDCouplingFieldDouble * MEDCouplingExtrudedMesh::buildOrthogonalField | ( | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| int MEDCouplingExtrudedMesh::getCellContainingPoint | ( | const double * | pos, |
| double | eps | ||
| ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| int MEDCouplingExtrudedMesh::FindCorrespCellByNodalConn | ( | const std::vector< int > & | nodalConnec, |
| const int * | revNodalPtr, | ||
| const int * | revNodalIndxPtr | ||
| ) | throw (INTERP_KERNEL::Exception) [static] |
| void MEDCouplingExtrudedMesh::Project1DMeshes | ( | const MEDCouplingUMesh * | m1, |
| const MEDCouplingUMesh * | m2, | ||
| double | eps, | ||
| MEDCouplingUMesh *& | m1r, | ||
| MEDCouplingUMesh *& | m2r, | ||
| double * | v | ||
| ) | throw (INTERP_KERNEL::Exception) [static] |
This method is callable on 1Dmeshes (meshDim==1 && spaceDim==3) returned by MEDCouplingExtrudedMesh::getMesh1D typically. These 1Dmeshes (meshDim==1 && spaceDim==3) have a special semantic because these meshes do not specify a static location but a translation along a path. This method checks that 'm1' and 'm2' are compatible, if not an exception is thrown. In case these meshes ('m1' and 'm2') are compatible 2 corresponding meshes are created ('m1r' and 'm2r') that can be used for interpolation.
| m1 | input mesh with meshDim==1 and spaceDim==3 |
| m2 | input mesh with meshDim==1 and spaceDim==3 |
| eps | tolerance acceptable to determine compatibility |
| m1r | output mesh with ref count equal to 1 with meshDim==1 and spaceDim==1 |
| m2r | output mesh with ref count equal to 1 with meshDim==1 and spaceDim==1 |
| v | is the output normalized vector of the common direction of 'm1' and 'm2' |
| in | case that m1 and m2 are not compatible each other. |
| void MEDCouplingExtrudedMesh::rotate | ( | const double * | center, |
| const double * | vector, | ||
| double | angle | ||
| ) | [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::MEDCouplingPointSet::rotate().
| void MEDCouplingExtrudedMesh::translate | ( | const double * | vector | ) | [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::MEDCouplingPointSet::translate().
| void MEDCouplingExtrudedMesh::scale | ( | const double * | point, |
| double | factor | ||
| ) | [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::MEDCouplingPointSet::scale().
| DataArrayInt * MEDCouplingExtrudedMesh::checkTypeConsistencyAndContig | ( | const std::vector< int > & | code, |
| const std::vector< const DataArrayInt * > & | idsPerType | ||
| ) | const throw (INTERP_KERNEL::Exception) [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| void MEDCouplingExtrudedMesh::splitProfilePerType | ( | const DataArrayInt * | profile, |
| std::vector< int > & | code, | ||
| std::vector< DataArrayInt * > & | globIdsPerType, | ||
| std::vector< DataArrayInt * > & | idsPerType | ||
| ) | const throw (INTERP_KERNEL::Exception) [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| MEDCouplingMesh * MEDCouplingExtrudedMesh::buildPart | ( | const int * | start, |
| const int * | end | ||
| ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| MEDCouplingMesh * MEDCouplingExtrudedMesh::buildPartAndReduceNodes | ( | const int * | start, |
| const int * | end, | ||
| DataArrayInt *& | arr | ||
| ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| DataArrayInt * MEDCouplingExtrudedMesh::simplexize | ( | int | policy | ) | throw (INTERP_KERNEL::Exception) [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| MEDCouplingMesh * MEDCouplingExtrudedMesh::mergeMyselfWith | ( | const MEDCouplingMesh * | other | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| DataArrayDouble * MEDCouplingExtrudedMesh::getCoordinatesAndOwner | ( | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::DataArrayDouble::alloc(), ParaMEDMEM::DataArrayDouble::getConstPointer(), ParaMEDMEM::MEDCouplingPointSet::getCoords(), ParaMEDMEM::MEDCouplingPointSet::getNumberOfNodes(), getNumberOfNodes(), ParaMEDMEM::DataArrayDouble::getPointer(), and New().
| DataArrayDouble * MEDCouplingExtrudedMesh::getBarycenterAndOwner | ( | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
| void MEDCouplingExtrudedMesh::getTinySerializationInformation | ( | std::vector< double > & | tinyInfoD, |
| std::vector< int > & | tinyInfo, | ||
| std::vector< std::string > & | littleStrings | ||
| ) | const [virtual] |
| void MEDCouplingExtrudedMesh::resizeForUnserialization | ( | const std::vector< int > & | tinyInfo, |
| DataArrayInt * | a1, | ||
| DataArrayDouble * | a2, | ||
| std::vector< std::string > & | littleStrings | ||
| ) | const [virtual] |
| void MEDCouplingExtrudedMesh::serialize | ( | DataArrayInt *& | a1, |
| DataArrayDouble *& | a2 | ||
| ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::DataArrayDouble::alloc(), ParaMEDMEM::DataArrayInt::alloc(), ParaMEDMEM::RefCountObject::decrRef(), ParaMEDMEM::DataArrayDouble::getConstPointer(), ParaMEDMEM::DataArrayInt::getConstPointer(), ParaMEDMEM::DataArray::getNbOfElems(), ParaMEDMEM::DataArrayDouble::getPointer(), ParaMEDMEM::DataArrayInt::getPointer(), New(), and ParaMEDMEM::MEDCouplingUMesh::serialize().
| void MEDCouplingExtrudedMesh::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::DataArrayInt::alloc(), ParaMEDMEM::RefCountObject::decrRef(), ParaMEDMEM::DataArrayDouble::getConstPointer(), ParaMEDMEM::DataArrayInt::getConstPointer(), ParaMEDMEM::DataArray::getNbOfElems(), ParaMEDMEM::DataArrayInt::getPointer(), ParaMEDMEM::DataArrayDouble::getPointer(), New(), ParaMEDMEM::MEDCouplingUMesh::resizeForUnserialization(), ParaMEDMEM::MEDCouplingMesh::setDescription(), ParaMEDMEM::MEDCouplingMesh::setName(), and ParaMEDMEM::MEDCouplingUMesh::unserialization().