

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 throw (INTERP_KERNEL::Exception) |
| 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) |
| std::vector< int > | getDistributionOfTypes () const throw (INTERP_KERNEL::Exception) |
| 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 * > &idsInPflPerType, 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) |
Public Member Functions inherited from ParaMEDMEM::MEDCouplingMesh | |
| void | setName (const char *name) |
| const char * | getName () const |
| void | setDescription (const char *descr) |
| const char * | getDescription () const |
| double | getTime (int &iteration, int &order) const |
| void | setTime (double val, int iteration, int order) |
| void | setTimeUnit (const char *unit) |
| const char * | getTimeUnit () const |
| bool | isStructured () const |
| virtual void | copyTinyInfoFrom (const MEDCouplingMesh *other) throw (INTERP_KERNEL::Exception) |
| virtual void | checkFastEquivalWith (const MEDCouplingMesh *other, double prec) const throw (INTERP_KERNEL::Exception) |
| void | checkGeoEquivalWith (const MEDCouplingMesh *other, int levOfCheck, double prec, DataArrayInt *&cellCor, DataArrayInt *&nodeCor) const throw (INTERP_KERNEL::Exception) |
| virtual DataArrayInt * | getCellIdsFullyIncludedInNodeIds (const int *partBg, const int *partEnd) const |
| virtual void | getCellsContainingPoint (const double *pos, double eps, std::vector< int > &elts) const |
| virtual void | getCellsContainingPoints (const double *pos, int nbOfPoints, double eps, std::vector< int > &elts, std::vector< int > &eltsIndex) const |
| virtual MEDCouplingFieldDouble * | fillFromAnalytic (TypeOfField t, int nbOfComp, FunctionToEvaluate func) const |
| virtual MEDCouplingFieldDouble * | fillFromAnalytic (TypeOfField t, int nbOfComp, const char *func) const |
| virtual MEDCouplingFieldDouble * | fillFromAnalytic2 (TypeOfField t, int nbOfComp, const char *func) const |
| virtual MEDCouplingFieldDouble * | fillFromAnalytic3 (TypeOfField t, int nbOfComp, const std::vector< std::string > &varsOrder, const char *func) const |
| virtual bool | areCompatibleForMerge (const MEDCouplingMesh *other) const |
| void | writeVTK (const char *fileName) const throw (INTERP_KERNEL::Exception) |
| virtual void | writeVTKLL (std::ostream &ofs, const std::string &cellData, const std::string &pointData) const =0 throw (INTERP_KERNEL::Exception) |
Public Member Functions inherited from ParaMEDMEM::RefCountObject | |
| bool | decrRef () const |
| void | incrRef () const |
Public Member Functions inherited from ParaMEDMEM::TimeLabel | |
| TimeLabel & | operator= (const TimeLabel &other) |
| void | declareAsNew () const |
| unsigned int | getTimeOfThis () const |
Static Public Member Functions | |
| static MEDCouplingExtrudedMesh * | New (const MEDCouplingUMesh *mesh3D, const 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) |
Static Public Member Functions inherited from ParaMEDMEM::MEDCouplingMesh | |
| static MEDCouplingMesh * | MergeMeshes (const MEDCouplingMesh *mesh1, const MEDCouplingMesh *mesh2) throw (INTERP_KERNEL::Exception) |
| static MEDCouplingMesh * | MergeMeshes (std::vector< const MEDCouplingMesh * > &meshes) throw (INTERP_KERNEL::Exception) |
Additional Inherited Members | |
Protected Member Functions inherited from ParaMEDMEM::MEDCouplingMesh | |
| MEDCouplingMesh () | |
| MEDCouplingMesh (const MEDCouplingMesh &other) | |
| virtual std::string | getVTKDataSetType () const =0 throw (INTERP_KERNEL::Exception) |
| virtual | ~MEDCouplingMesh () |
|
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. |
|
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().
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::EXTRUDED.
|
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().
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::MEDCouplingUMesh::getNumberOfCells().
Referenced by advancedRepr(), and simpleRepr().
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::MEDCouplingPointSet::getNumberOfNodes().
Referenced by getCoordinatesAndOwner().
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
References clone().
| MEDCouplingExtrudedMesh * MEDCouplingExtrudedMesh::clone | ( | bool | recDeepCpy | ) | const |
Referenced by deepCpy().
|
virtual |
Reimplemented from ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::MEDCouplingUMesh::isEqual(), ParaMEDMEM::MEDCouplingMesh::isEqual(), and ParaMEDMEM::DataArrayInt::isEqual().
|
virtual |
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
|
virtual |
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::MEDCouplingUMesh::getAllTypes().
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::MEDCouplingUMesh::getNumberOfCells(), and ParaMEDMEM::MEDCouplingUMesh::getTypeOfCell().
|
virtual |
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::MEDCouplingMesh::getDescription(), ParaMEDMEM::MEDCouplingMesh::getName(), getNumberOfCells(), ParaMEDMEM::MEDCouplingUMesh::getNumberOfCells(), ParaMEDMEM::MEDCouplingMesh::getTime(), ParaMEDMEM::MEDCouplingMesh::getTimeUnit(), and ParaMEDMEM::MEDCouplingUMesh::simpleRepr().
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::MEDCouplingUMesh::advancedRepr(), ParaMEDMEM::MEDCouplingMesh::getDescription(), ParaMEDMEM::MEDCouplingMesh::getName(), getNumberOfCells(), ParaMEDMEM::MEDCouplingUMesh::getNumberOfCells(), ParaMEDMEM::MEDCouplingMesh::getTime(), and ParaMEDMEM::MEDCouplingMesh::getTimeUnit().
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
|
virtual |
|
virtual |
This method should be called on high level classes as Field or Mesh to take into acount modifications done in aggregates objects.
Implements ParaMEDMEM::TimeLabel.
References ParaMEDMEM::TimeLabel::updateTimeWith().
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
| MEDCouplingUMesh* ParaMEDMEM::MEDCouplingExtrudedMesh::getMesh2D | ( | ) | const |
| MEDCouplingUMesh* ParaMEDMEM::MEDCouplingExtrudedMesh::getMesh1D | ( | ) | const |
| DataArrayInt* ParaMEDMEM::MEDCouplingExtrudedMesh::getMesh3DIds | ( | ) | const |
| MEDCouplingUMesh * MEDCouplingExtrudedMesh::build3DUnstructuredMesh | ( | ) | const |
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
References build3DUnstructuredMesh().
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::DataArrayDouble::alloc(), ParaMEDMEM::RefCountObject::decrRef(), ParaMEDMEM::MEDCouplingFieldDouble::getArray(), ParaMEDMEM::DataArrayDouble::getConstPointer(), ParaMEDMEM::DataArrayInt::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().
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
|
static |
|
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. |
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::MEDCouplingPointSet::rotate().
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::MEDCouplingPointSet::translate().
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::MEDCouplingPointSet::scale().
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::DataArrayDouble::alloc(), ParaMEDMEM::DataArrayDouble::getConstPointer(), ParaMEDMEM::MEDCouplingPointSet::getCoords(), getNumberOfNodes(), ParaMEDMEM::MEDCouplingPointSet::getNumberOfNodes(), ParaMEDMEM::DataArrayDouble::getPointer(), and New().
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
|
virtual |
|
virtual |
|
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().
|
virtual |
Implements ParaMEDMEM::MEDCouplingMesh.
References ParaMEDMEM::DataArrayInt::alloc(), ParaMEDMEM::RefCountObject::decrRef(), ParaMEDMEM::DataArrayDouble::getConstPointer(), ParaMEDMEM::DataArrayInt::getConstPointer(), ParaMEDMEM::DataArray::getNbOfElems(), ParaMEDMEM::DataArrayDouble::getPointer(), ParaMEDMEM::DataArrayInt::getPointer(), New(), ParaMEDMEM::MEDCouplingUMesh::resizeForUnserialization(), ParaMEDMEM::MEDCouplingMesh::setDescription(), ParaMEDMEM::MEDCouplingMesh::setName(), and ParaMEDMEM::MEDCouplingUMesh::unserialization().