

Public Member Functions | |
| 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 |
| virtual MEDCouplingMesh * | deepCpy () const =0 |
| virtual MEDCouplingMeshType | getType () const =0 |
| bool | isStructured () const |
| virtual void | copyTinyStringsFrom (const MEDCouplingMesh *other) throw (INTERP_KERNEL::Exception) |
| virtual void | copyTinyInfoFrom (const MEDCouplingMesh *other) throw (INTERP_KERNEL::Exception) |
| virtual bool | isEqual (const MEDCouplingMesh *other, double prec) const |
| virtual bool | isEqualWithoutConsideringStr (const MEDCouplingMesh *other, double prec) const =0 |
| virtual void | checkDeepEquivalWith (const MEDCouplingMesh *other, int cellCompPol, double prec, DataArrayInt *&cellCor, DataArrayInt *&nodeCor) const =0 throw (INTERP_KERNEL::Exception) |
| virtual void | checkDeepEquivalOnSameNodesWith (const MEDCouplingMesh *other, int cellCompPol, double prec, DataArrayInt *&cellCor) const =0 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 void | checkCoherency () const =0 throw (INTERP_KERNEL::Exception) |
| virtual void | checkCoherency1 (double eps=1e-12) const =0 throw (INTERP_KERNEL::Exception) |
| virtual void | checkCoherency2 (double eps=1e-12) const =0 throw (INTERP_KERNEL::Exception) |
| virtual int | getNumberOfCells () const =0 |
| virtual int | getNumberOfNodes () const =0 |
| virtual int | getSpaceDimension () const =0 |
| virtual int | getMeshDimension () const =0 |
| virtual DataArrayDouble * | getCoordinatesAndOwner () const =0 |
| virtual DataArrayDouble * | getBarycenterAndOwner () const =0 |
| virtual int | getNumberOfCellsWithType (INTERP_KERNEL::NormalizedCellType type) const =0 |
| virtual INTERP_KERNEL::NormalizedCellType | getTypeOfCell (int cellId) const =0 |
| virtual std::set < INTERP_KERNEL::NormalizedCellType > | getAllGeoTypes () const =0 |
| virtual void | getNodeIdsOfCell (int cellId, std::vector< int > &conn) const =0 |
| virtual DataArrayInt * | getCellIdsFullyIncludedInNodeIds (const int *partBg, const int *partEnd) const |
| virtual void | getCoordinatesOfNode (int nodeId, std::vector< double > &coo) const =0 |
| virtual std::string | simpleRepr () const =0 |
| virtual std::string | advancedRepr () const =0 |
| virtual DataArrayInt * | checkTypeConsistencyAndContig (const std::vector< int > &code, const std::vector< const DataArrayInt * > &idsPerType) const =0 throw (INTERP_KERNEL::Exception) |
| virtual void | splitProfilePerType (const DataArrayInt *profile, std::vector< int > &code, std::vector< DataArrayInt * > &globIdsPerType, std::vector< DataArrayInt * > &idsPerType) const =0 throw (INTERP_KERNEL::Exception) |
| virtual void | getBoundingBox (double *bbox) const =0 |
| virtual MEDCouplingFieldDouble * | getMeasureField (bool isAbs) const =0 |
| virtual MEDCouplingFieldDouble * | getMeasureFieldOnNode (bool isAbs) const =0 |
| virtual int | getCellContainingPoint (const double *pos, double eps) const =0 |
| 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 MEDCouplingFieldDouble * | buildOrthogonalField () const =0 |
| virtual void | rotate (const double *center, const double *vector, double angle)=0 |
| virtual void | translate (const double *vector)=0 |
| virtual void | scale (const double *point, double factor)=0 |
| virtual void | renumberCells (const int *old2NewBg, bool check)=0 throw (INTERP_KERNEL::Exception) |
| virtual MEDCouplingMesh * | mergeMyselfWith (const MEDCouplingMesh *other) const =0 |
| virtual MEDCouplingMesh * | buildPart (const int *start, const int *end) const =0 |
| virtual MEDCouplingMesh * | buildPartAndReduceNodes (const int *start, const int *end, DataArrayInt *&arr) const =0 |
| virtual MEDCouplingUMesh * | buildUnstructured () const =0 throw (INTERP_KERNEL::Exception) |
| virtual DataArrayInt * | simplexize (int policy)=0 throw (INTERP_KERNEL::Exception) |
| virtual bool | areCompatibleForMerge (const MEDCouplingMesh *other) const |
| virtual void | getTinySerializationInformation (std::vector< double > &tinyInfoD, std::vector< int > &tinyInfo, std::vector< std::string > &littleStrings) const =0 |
| virtual void | resizeForUnserialization (const std::vector< int > &tinyInfo, DataArrayInt *a1, DataArrayDouble *a2, std::vector< std::string > &littleStrings) const =0 |
| virtual void | serialize (DataArrayInt *&a1, DataArrayDouble *&a2) const =0 |
| virtual void | unserialization (const std::vector< double > &tinyInfoD, const std::vector< int > &tinyInfo, const DataArrayInt *a1, DataArrayDouble *a2, const std::vector< std::string > &littleStrings)=0 |
Static Public Member Functions | |
| static MEDCouplingMesh * | MergeMeshes (const MEDCouplingMesh *mesh1, const MEDCouplingMesh *mesh2) |
Protected Member Functions | |
| MEDCouplingMesh () | |
| MEDCouplingMesh (const MEDCouplingMesh &other) | |
| virtual | ~MEDCouplingMesh () |
| MEDCouplingMesh::MEDCouplingMesh | ( | ) | [protected] |
| MEDCouplingMesh::MEDCouplingMesh | ( | const MEDCouplingMesh & | other | ) | [protected] |
| virtual ParaMEDMEM::MEDCouplingMesh::~MEDCouplingMesh | ( | ) | [protected, virtual] |
| void ParaMEDMEM::MEDCouplingMesh::setName | ( | const char * | name | ) |
Referenced by ParaMEDMEM::MEDCouplingExtrudedMesh::build3DUnstructuredMesh(), ParaMEDMEM::MEDFileUMesh::getFamily(), ParaMEDMEM::MEDFileUMesh::getGroup(), ParaMEDMEM::MEDCouplingUMesh::MergeUMeshesOnSameCoords(), ParaMEDMEM::MEDCouplingUMeshDesc::New(), ParaMEDMEM::MEDCouplingUMesh::New(), MEDLoaderNS::readFieldDoubleLev2(), MEDLoader::ReadUMeshFromFamilies(), MEDLoaderNS::readUMeshFromFileLev1(), MEDLoader::ReadUMeshFromGroups(), ParaMEDMEM::MEDCouplingPointSet::unserialization(), and ParaMEDMEM::MEDCouplingExtrudedMesh::unserialization().
| const char* ParaMEDMEM::MEDCouplingMesh::getName | ( | ) | const |
Referenced by ParaMEDMEM::MEDCouplingUMeshDesc::advancedRepr(), ParaMEDMEM::MEDCouplingExtrudedMesh::advancedRepr(), MEDLoaderNS::appendCellProfileField(), MEDLoaderNS::appendFieldDirectly(), MEDLoaderNS::appendFieldSimpleAtt(), MEDLoaderNS::appendNodeProfileField(), ParaMEDMEM::DisjointDEC::attachLocalField(), ParaMEDMEM::MEDCouplingExtrudedMesh::build3DUnstructuredMesh(), ParaMEDMEM::MEDCouplingUMesh::FuseUMeshesOnSameCoords(), ParaMEDMEM::MEDCouplingUMesh::getCellIdsLyingOnNodes(), ParaMEDMEM::MEDCouplingUMesh::getMeasureField(), ParaMEDMEM::MEDCouplingExtrudedMesh::getMeasureField(), ParaMEDMEM::MEDCouplingUMesh::getMeasureFieldOnNode(), ParaMEDMEM::MEDCouplingUMesh::getPartMeasureField(), ParaMEDMEM::MEDCouplingPointSet::getTinySerializationInformation(), ParaMEDMEM::MEDCouplingExtrudedMesh::getTinySerializationInformation(), ParaMEDMEM::MEDCouplingUMeshDesc::simpleRepr(), ParaMEDMEM::MEDCouplingUMesh::simpleRepr(), ParaMEDMEM::MEDCouplingExtrudedMesh::simpleRepr(), MEDLoaderNS::writeFieldAndMeshDirectly(), and MEDLoaderNS::writeFieldTryingToFitExistingMesh().
| void ParaMEDMEM::MEDCouplingMesh::setDescription | ( | const char * | descr | ) |
| const char* ParaMEDMEM::MEDCouplingMesh::getDescription | ( | ) | const |
Referenced by ParaMEDMEM::MEDCouplingExtrudedMesh::advancedRepr(), ParaMEDMEM::MEDCouplingPointSet::getTinySerializationInformation(), ParaMEDMEM::MEDCouplingExtrudedMesh::getTinySerializationInformation(), ParaMEDMEM::MEDCouplingUMesh::simpleRepr(), and ParaMEDMEM::MEDCouplingExtrudedMesh::simpleRepr().
| double ParaMEDMEM::MEDCouplingMesh::getTime | ( | int & | iteration, |
| int & | order | ||
| ) | const |
| void ParaMEDMEM::MEDCouplingMesh::setTime | ( | double | val, |
| int | iteration, | ||
| int | order | ||
| ) |
Referenced by ParaMEDMEM::MEDCouplingPointSet::unserialization().
| void ParaMEDMEM::MEDCouplingMesh::setTimeUnit | ( | const char * | unit | ) |
Referenced by ParaMEDMEM::MEDCouplingPointSet::unserialization().
| const char* ParaMEDMEM::MEDCouplingMesh::getTimeUnit | ( | ) | const |
| virtual MEDCouplingMesh* ParaMEDMEM::MEDCouplingMesh::deepCpy | ( | ) | const [pure virtual] |
Implemented in ParaMEDMEM::MEDCouplingCMesh, ParaMEDMEM::MEDCouplingExtrudedMesh, ParaMEDMEM::MEDCouplingUMesh, and ParaMEDMEM::MEDCouplingUMeshDesc.
Referenced by ParaMEDMEM::MEDCouplingFieldDouble::cloneWithMesh(), ParaMEDMEM::MEDCouplingFieldDouble::mergeNodes(), ParaMEDMEM::MEDCouplingFieldDouble::mergeNodes2(), ParaMEDMEM::MEDCouplingFieldDouble::renumberNodes(), and ParaMEDMEM::MEDCouplingFieldDouble::zipCoords().
| virtual MEDCouplingMeshType ParaMEDMEM::MEDCouplingMesh::getType | ( | ) | const [pure virtual] |
Implemented in ParaMEDMEM::MEDCouplingCMesh, ParaMEDMEM::MEDCouplingExtrudedMesh, ParaMEDMEM::MEDCouplingUMesh, and ParaMEDMEM::MEDCouplingUMeshDesc.
Referenced by ParaMEDMEM::MEDCouplingPointSet::getTinySerializationInformation(), isStructured(), and ParaMEDMEM::MEDCouplingUMesh::mergeMyselfWith().
| bool MEDCouplingMesh::isStructured | ( | ) | const |
This method is only for ParaMEDMEM in ParaFIELD constructor.
References ParaMEDMEM::CARTESIAN, and getType().
| void MEDCouplingMesh::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 in ParaMEDMEM::MEDCouplingCMesh, ParaMEDMEM::MEDCouplingExtrudedMesh, and ParaMEDMEM::MEDCouplingPointSet.
Referenced by ParaMEDMEM::MEDCouplingPointSet::copyTinyStringsFrom(), and ParaMEDMEM::MEDCouplingExtrudedMesh::copyTinyStringsFrom().
| void MEDCouplingMesh::copyTinyInfoFrom | ( | const MEDCouplingMesh * | other | ) | throw (INTERP_KERNEL::Exception) [virtual] |
This method copies all attributes that are NOT arrays in this. All tiny attributes not usefully for state of 'this' are ignored.
| bool MEDCouplingMesh::isEqual | ( | const MEDCouplingMesh * | other, |
| double | prec | ||
| ) | const [virtual] |
Reimplemented in ParaMEDMEM::MEDCouplingCMesh, ParaMEDMEM::MEDCouplingExtrudedMesh, ParaMEDMEM::MEDCouplingPointSet, and ParaMEDMEM::MEDCouplingUMesh.
Referenced by ParaMEDMEM::MEDCouplingPointSet::isEqual(), ParaMEDMEM::MEDCouplingField::isEqual(), and ParaMEDMEM::MEDCouplingExtrudedMesh::isEqual().
| virtual bool ParaMEDMEM::MEDCouplingMesh::isEqualWithoutConsideringStr | ( | const MEDCouplingMesh * | other, |
| double | prec | ||
| ) | const [pure virtual] |
| virtual void ParaMEDMEM::MEDCouplingMesh::checkDeepEquivalWith | ( | const MEDCouplingMesh * | other, |
| int | cellCompPol, | ||
| double | prec, | ||
| DataArrayInt *& | cellCor, | ||
| DataArrayInt *& | nodeCor | ||
| ) | const throw (INTERP_KERNEL::Exception) [pure virtual] |
| virtual void ParaMEDMEM::MEDCouplingMesh::checkDeepEquivalOnSameNodesWith | ( | const MEDCouplingMesh * | other, |
| int | cellCompPol, | ||
| double | prec, | ||
| DataArrayInt *& | cellCor | ||
| ) | const throw (INTERP_KERNEL::Exception) [pure virtual] |
| void MEDCouplingMesh::checkFastEquivalWith | ( | const MEDCouplingMesh * | other, |
| double | prec | ||
| ) | const throw (INTERP_KERNEL::Exception) [virtual] |
This method checks fastly that 'this' and 'other' are equal. All common checks are done here.
Reimplemented in ParaMEDMEM::MEDCouplingUMesh.
Referenced by ParaMEDMEM::MEDCouplingUMesh::checkDeepEquivalOnSameNodesWith(), ParaMEDMEM::MEDCouplingUMesh::checkDeepEquivalWith(), and ParaMEDMEM::MEDCouplingUMesh::checkFastEquivalWith().
| void MEDCouplingMesh::checkGeoEquivalWith | ( | const MEDCouplingMesh * | other, |
| int | levOfCheck, | ||
| double | prec, | ||
| DataArrayInt *& | cellCor, | ||
| DataArrayInt *& | nodeCor | ||
| ) | const throw (INTERP_KERNEL::Exception) |
This method checks geo equivalence between two meshes : 'this' and 'other'. If no exception is throw 'this' and 'other' are geometrically equivalent regarding 'levOfCheck' level. This method is typically used to change the mesh of a field "safely" depending the 'levOfCheck' level considered.
| levOfCheck | input that specifies the level of check specified. The possible values are listed below. |
| prec | input that specifies precision for double float data used for comparison in meshes. |
| cellCor | output array not always informed (depending 'levOfCheck' param) that gives the corresponding array for cells from 'other' to 'this'. |
| nodeCor | output array not always informed (depending 'levOfCheck' param) that gives the corresponding array for nodes from 'other' to 'this'. |
Possible values for levOfCheck :
| virtual void ParaMEDMEM::MEDCouplingMesh::checkCoherency | ( | ) | const throw (INTERP_KERNEL::Exception) [pure virtual] |
| virtual void ParaMEDMEM::MEDCouplingMesh::checkCoherency1 | ( | double | eps = 1e-12 | ) | const throw (INTERP_KERNEL::Exception) [pure virtual] |
| virtual void ParaMEDMEM::MEDCouplingMesh::checkCoherency2 | ( | double | eps = 1e-12 | ) | const throw (INTERP_KERNEL::Exception) [pure virtual] |
| virtual int ParaMEDMEM::MEDCouplingMesh::getNumberOfCells | ( | ) | const [pure virtual] |
Implemented in ParaMEDMEM::MEDCouplingCMesh, ParaMEDMEM::MEDCouplingExtrudedMesh, ParaMEDMEM::MEDCouplingUMesh, and ParaMEDMEM::MEDCouplingUMeshDesc.
Referenced by ParaMEDMEM::MEDCouplingFieldDiscretizationPerCell::buildDiscrPerCellIfNecessary(), getCellIdsFullyIncludedInNodeIds(), ParaMEDMEM::MEDCouplingFieldDiscretizationGaussNE::getNumberOfMeshPlaces(), ParaMEDMEM::MEDCouplingFieldDiscretizationGauss::getNumberOfMeshPlaces(), ParaMEDMEM::MEDCouplingFieldDiscretizationP0::getNumberOfMeshPlaces(), ParaMEDMEM::MEDCouplingFieldDiscretizationGaussNE::getNumberOfTuples(), ParaMEDMEM::MEDCouplingFieldDiscretizationP0::getNumberOfTuples(), ParaMEDMEM::MEDCouplingFieldDiscretizationGaussNE::getOffsetArr(), ParaMEDMEM::MEDCouplingFieldDiscretizationGauss::getOffsetArr(), and ParaMEDMEM::MEDCouplingFieldDiscretizationP0::getOffsetArr().
| virtual int ParaMEDMEM::MEDCouplingMesh::getNumberOfNodes | ( | ) | const [pure virtual] |
Implemented in ParaMEDMEM::MEDCouplingCMesh, ParaMEDMEM::MEDCouplingExtrudedMesh, and ParaMEDMEM::MEDCouplingPointSet.
Referenced by MEDLoaderNS::appendNodeProfileField(), ParaMEDMEM::MEDCouplingFieldDiscretizationP1::buildSubMeshData(), ParaMEDMEM::MEDCouplingFieldDiscretizationP1::getNumberOfMeshPlaces(), ParaMEDMEM::MEDCouplingFieldDiscretizationP1::getNumberOfTuples(), and ParaMEDMEM::MEDCouplingFieldDiscretizationP1::getOffsetArr().
| virtual int ParaMEDMEM::MEDCouplingMesh::getSpaceDimension | ( | ) | const [pure virtual] |
Implemented in ParaMEDMEM::MEDCouplingCMesh, ParaMEDMEM::MEDCouplingExtrudedMesh, and ParaMEDMEM::MEDCouplingPointSet.
Referenced by areCompatibleForMerge(), getCellsContainingPoints(), ParaMEDMEM::MEDCouplingFieldDiscretizationGauss::getLocalizationOfDiscValues(), ParaMEDMEM::MEDCouplingFieldDiscretizationP1::getValueInCell(), ParaMEDMEM::MEDCouplingFieldDiscretizationP1::getValueOnMulti(), and ParaMEDMEM::MEDCouplingFieldDiscretizationP0::getValueOnMulti().
| virtual int ParaMEDMEM::MEDCouplingMesh::getMeshDimension | ( | ) | const [pure virtual] |
Implemented in ParaMEDMEM::MEDCouplingCMesh, ParaMEDMEM::MEDCouplingExtrudedMesh, ParaMEDMEM::MEDCouplingUMesh, and ParaMEDMEM::MEDCouplingUMeshDesc.
Referenced by ParaMEDMEM::InterpolationMatrix::addContribution(), MEDLoaderNS::appendFieldDirectly(), areCompatibleForMerge(), and MEDLoaderNS::writeFieldTryingToFitExistingMesh().
| virtual DataArrayDouble* ParaMEDMEM::MEDCouplingMesh::getCoordinatesAndOwner | ( | ) | const [pure virtual] |
| virtual DataArrayDouble* ParaMEDMEM::MEDCouplingMesh::getBarycenterAndOwner | ( | ) | const [pure virtual] |
| virtual int ParaMEDMEM::MEDCouplingMesh::getNumberOfCellsWithType | ( | INTERP_KERNEL::NormalizedCellType | type | ) | const [pure virtual] |
Implemented in ParaMEDMEM::MEDCouplingCMesh, ParaMEDMEM::MEDCouplingExtrudedMesh, ParaMEDMEM::MEDCouplingUMesh, and ParaMEDMEM::MEDCouplingUMeshDesc.
Referenced by MEDLoaderNS::appendFieldDirectly().
| virtual INTERP_KERNEL::NormalizedCellType ParaMEDMEM::MEDCouplingMesh::getTypeOfCell | ( | int | cellId | ) | const [pure virtual] |
Implemented in ParaMEDMEM::MEDCouplingCMesh, ParaMEDMEM::MEDCouplingExtrudedMesh, ParaMEDMEM::MEDCouplingUMesh, and ParaMEDMEM::MEDCouplingUMeshDesc.
Referenced by ParaMEDMEM::MEDCouplingFieldDiscretizationGaussNE::getNumberOfTuples(), ParaMEDMEM::MEDCouplingFieldDiscretizationGaussNE::getOffsetArr(), and ParaMEDMEM::MEDCouplingFieldDiscretizationP1::getValueOn().
| virtual std::set<INTERP_KERNEL::NormalizedCellType> ParaMEDMEM::MEDCouplingMesh::getAllGeoTypes | ( | ) | const [pure virtual] |
| virtual void ParaMEDMEM::MEDCouplingMesh::getNodeIdsOfCell | ( | int | cellId, |
| std::vector< int > & | conn | ||
| ) | const [pure virtual] |
| DataArrayInt * MEDCouplingMesh::getCellIdsFullyIncludedInNodeIds | ( | const int * | partBg, |
| const int * | partEnd | ||
| ) | const [virtual] |
Given a nodeIds range ['partBg','partEnd'), this method returns the set of cell ids in ascendant order whose connectivity of these cells are fully included in the range. As a consequence the returned set of cell ids does not always fit the nodes in ['partBg','partEnd') This method returns the corresponding cells in a newly created array that the caller has the responsability.
Reimplemented in ParaMEDMEM::MEDCouplingUMesh.
References ParaMEDMEM::DataArrayInt::alloc(), getNodeIdsOfCell(), getNumberOfCells(), ParaMEDMEM::DataArrayInt::getPointer(), and ParaMEDMEM::DataArrayInt::New().
Referenced by ParaMEDMEM::MEDCouplingFieldDiscretizationP1::computeMeshRestrictionFromTupleIds().
| virtual void ParaMEDMEM::MEDCouplingMesh::getCoordinatesOfNode | ( | int | nodeId, |
| std::vector< double > & | coo | ||
| ) | const [pure virtual] |
| virtual std::string ParaMEDMEM::MEDCouplingMesh::simpleRepr | ( | ) | const [pure virtual] |
Implemented in ParaMEDMEM::MEDCouplingCMesh, ParaMEDMEM::MEDCouplingExtrudedMesh, ParaMEDMEM::MEDCouplingUMesh, and ParaMEDMEM::MEDCouplingUMeshDesc.
Referenced by ParaMEDMEM::MEDCouplingFieldDouble::advancedRepr(), ParaMEDMEM::MEDCouplingFieldTemplate::simpleRepr(), and ParaMEDMEM::MEDCouplingFieldDouble::simpleRepr().
| virtual std::string ParaMEDMEM::MEDCouplingMesh::advancedRepr | ( | ) | const [pure virtual] |
| virtual DataArrayInt* ParaMEDMEM::MEDCouplingMesh::checkTypeConsistencyAndContig | ( | const std::vector< int > & | code, |
| const std::vector< const DataArrayInt * > & | idsPerType | ||
| ) | const throw (INTERP_KERNEL::Exception) [pure virtual] |
| virtual void ParaMEDMEM::MEDCouplingMesh::splitProfilePerType | ( | const DataArrayInt * | profile, |
| std::vector< int > & | code, | ||
| std::vector< DataArrayInt * > & | globIdsPerType, | ||
| std::vector< DataArrayInt * > & | idsPerType | ||
| ) | const throw (INTERP_KERNEL::Exception) [pure virtual] |
| virtual void ParaMEDMEM::MEDCouplingMesh::getBoundingBox | ( | double * | bbox | ) | const [pure virtual] |
Implemented in ParaMEDMEM::MEDCouplingCMesh, ParaMEDMEM::MEDCouplingExtrudedMesh, and ParaMEDMEM::MEDCouplingPointSet.
| virtual MEDCouplingFieldDouble* ParaMEDMEM::MEDCouplingMesh::getMeasureField | ( | bool | isAbs | ) | const [pure virtual] |
| virtual MEDCouplingFieldDouble* ParaMEDMEM::MEDCouplingMesh::getMeasureFieldOnNode | ( | bool | isAbs | ) | const [pure virtual] |
| virtual int ParaMEDMEM::MEDCouplingMesh::getCellContainingPoint | ( | const double * | pos, |
| double | eps | ||
| ) | const [pure virtual] |
Implemented in ParaMEDMEM::MEDCouplingCMesh, ParaMEDMEM::MEDCouplingExtrudedMesh, ParaMEDMEM::MEDCouplingUMesh, and ParaMEDMEM::MEDCouplingUMeshDesc.
Referenced by getCellsContainingPoint(), getCellsContainingPoints(), ParaMEDMEM::MEDCouplingFieldDiscretizationP1::getValueOn(), and ParaMEDMEM::MEDCouplingFieldDiscretizationP0::getValueOn().
| void MEDCouplingMesh::getCellsContainingPoint | ( | const double * | pos, |
| double | eps, | ||
| std::vector< int > & | elts | ||
| ) | const [virtual] |
Reimplemented in ParaMEDMEM::MEDCouplingUMesh.
References getCellContainingPoint().
| void MEDCouplingMesh::getCellsContainingPoints | ( | const double * | pos, |
| int | nbOfPoints, | ||
| double | eps, | ||
| std::vector< int > & | elts, | ||
| std::vector< int > & | eltsIndex | ||
| ) | const [virtual] |
Reimplemented in ParaMEDMEM::MEDCouplingUMesh.
References getCellContainingPoint(), and getSpaceDimension().
Referenced by ParaMEDMEM::MEDCouplingFieldDiscretizationP1::getValueOnMulti(), and ParaMEDMEM::MEDCouplingFieldDiscretizationP0::getValueOnMulti().
| MEDCouplingFieldDouble * MEDCouplingMesh::fillFromAnalytic | ( | TypeOfField | t, |
| int | nbOfComp, | ||
| FunctionToEvaluate | func | ||
| ) | const [virtual] |
This method builds a field lying on 'this' with 'nbOfComp' components. 'func' is a pointer that points to a function that takes 2 arrays in parameter and returns a boolean. The first array is a in-param of size this->getSpaceDimension and the second an out param of size 'nbOfComp'. The return field will have type specified by 't'. 't' is also used to determine where values of field will be evaluate.
| t | type of field returned and specifies where the evaluation of func will be done. |
| nbOfComp | number of components of returned field. |
| func | pointer to a function that should return false if the evaluation failed. (division by 0. for example) |
References ParaMEDMEM::MEDCouplingFieldDouble::New(), and ParaMEDMEM::NO_TIME.
| MEDCouplingFieldDouble * MEDCouplingMesh::fillFromAnalytic | ( | TypeOfField | t, |
| int | nbOfComp, | ||
| const char * | func | ||
| ) | const [virtual] |
This method builds a field lying on 'this' with 'nbOfComp' components. 'func' is a string that is the expression to evaluate. The return field will have type specified by 't'. 't' is also used to determine where values of field will be evaluate.
| t | type of field returned and specifies where the evaluation of func will be done. |
| nbOfComp | number of components of returned field. |
| func | expression. |
References ParaMEDMEM::MEDCouplingFieldDouble::New(), and ParaMEDMEM::NO_TIME.
| MEDCouplingFieldDouble * MEDCouplingMesh::fillFromAnalytic2 | ( | TypeOfField | t, |
| int | nbOfComp, | ||
| const char * | func | ||
| ) | const [virtual] |
This method builds a field lying on 'this' with 'nbOfComp' components. 'func' is a string that is the expression to evaluate. The return field will have type specified by 't'. 't' is also used to determine where values of field will be evaluate. This method is different than MEDCouplingMesh::fillFromAnalytic, because the info on components are used here to determine vars pos in 'func'.
| t | type of field returned and specifies where the evaluation of func will be done. |
| nbOfComp | number of components of returned field. |
| func | expression. |
References ParaMEDMEM::MEDCouplingFieldDouble::New(), and ParaMEDMEM::NO_TIME.
| MEDCouplingFieldDouble * MEDCouplingMesh::fillFromAnalytic3 | ( | TypeOfField | t, |
| int | nbOfComp, | ||
| const std::vector< std::string > & | varsOrder, | ||
| const char * | func | ||
| ) | const [virtual] |
This method builds a field lying on 'this' with 'nbOfComp' components. 'func' is a string that is the expression to evaluate. The return field will have type specified by 't'. 't' is also used to determine where values of field will be evaluate. This method is different than MEDCouplingMesh::fillFromAnalytic, because 'varsOrder' specifies the pos to assign of vars in 'func'.
| t | type of field returned and specifies where the evaluation of func will be done. |
| nbOfComp | number of components of returned field. |
| func | expression. |
References ParaMEDMEM::MEDCouplingFieldDouble::New(), and ParaMEDMEM::NO_TIME.
| virtual MEDCouplingFieldDouble* ParaMEDMEM::MEDCouplingMesh::buildOrthogonalField | ( | ) | const [pure virtual] |
| virtual void ParaMEDMEM::MEDCouplingMesh::rotate | ( | const double * | center, |
| const double * | vector, | ||
| double | angle | ||
| ) | [pure virtual] |
Implemented in ParaMEDMEM::MEDCouplingCMesh, ParaMEDMEM::MEDCouplingExtrudedMesh, and ParaMEDMEM::MEDCouplingPointSet.
| virtual void ParaMEDMEM::MEDCouplingMesh::translate | ( | const double * | vector | ) | [pure virtual] |
Implemented in ParaMEDMEM::MEDCouplingCMesh, ParaMEDMEM::MEDCouplingExtrudedMesh, and ParaMEDMEM::MEDCouplingPointSet.
| virtual void ParaMEDMEM::MEDCouplingMesh::scale | ( | const double * | point, |
| double | factor | ||
| ) | [pure virtual] |
Implemented in ParaMEDMEM::MEDCouplingCMesh, ParaMEDMEM::MEDCouplingExtrudedMesh, and ParaMEDMEM::MEDCouplingPointSet.
| virtual void ParaMEDMEM::MEDCouplingMesh::renumberCells | ( | const int * | old2NewBg, |
| bool | check | ||
| ) | throw (INTERP_KERNEL::Exception) [pure virtual] |
| virtual MEDCouplingMesh* ParaMEDMEM::MEDCouplingMesh::mergeMyselfWith | ( | const MEDCouplingMesh * | other | ) | const [pure virtual] |
Implemented in ParaMEDMEM::MEDCouplingCMesh, ParaMEDMEM::MEDCouplingExtrudedMesh, ParaMEDMEM::MEDCouplingUMesh, and ParaMEDMEM::MEDCouplingUMeshDesc.
Referenced by ParaMEDMEM::MEDCouplingFieldDouble::MergeFields(), and MergeMeshes().
| virtual MEDCouplingMesh* ParaMEDMEM::MEDCouplingMesh::buildPart | ( | const int * | start, |
| const int * | end | ||
| ) | const [pure virtual] |
Implemented in ParaMEDMEM::MEDCouplingCMesh, ParaMEDMEM::MEDCouplingExtrudedMesh, and ParaMEDMEM::MEDCouplingPointSet.
Referenced by ParaMEDMEM::MEDCouplingFieldDiscretizationP0::buildSubMeshData().
| virtual MEDCouplingMesh* ParaMEDMEM::MEDCouplingMesh::buildPartAndReduceNodes | ( | const int * | start, |
| const int * | end, | ||
| DataArrayInt *& | arr | ||
| ) | const [pure virtual] |
Implemented in ParaMEDMEM::MEDCouplingCMesh, ParaMEDMEM::MEDCouplingExtrudedMesh, and ParaMEDMEM::MEDCouplingPointSet.
Referenced by ParaMEDMEM::MEDCouplingFieldDiscretizationP1::buildSubMeshData().
| virtual MEDCouplingUMesh* ParaMEDMEM::MEDCouplingMesh::buildUnstructured | ( | ) | const throw (INTERP_KERNEL::Exception) [pure virtual] |
| virtual DataArrayInt* ParaMEDMEM::MEDCouplingMesh::simplexize | ( | int | policy | ) | throw (INTERP_KERNEL::Exception) [pure virtual] |
| bool MEDCouplingMesh::areCompatibleForMerge | ( | const MEDCouplingMesh * | other | ) | const [virtual] |
This method is very poor and looks only if 'this' and 'other' are candidate for merge of fields lying repectively on them.
References getMeshDimension(), and getSpaceDimension().
Referenced by ParaMEDMEM::MEDCouplingField::areCompatibleForMerge().
| MEDCouplingMesh * MEDCouplingMesh::MergeMeshes | ( | const MEDCouplingMesh * | mesh1, |
| const MEDCouplingMesh * | mesh2 | ||
| ) | [static] |
retruns a newly created mesh with counter=1 that is the union of mesh1 and mesh2 if possible. The cells of mesh2 will appear after cells of 'mesh1'. Idem for nodes.
References mergeMyselfWith().
| virtual void ParaMEDMEM::MEDCouplingMesh::getTinySerializationInformation | ( | std::vector< double > & | tinyInfoD, |
| std::vector< int > & | tinyInfo, | ||
| std::vector< std::string > & | littleStrings | ||
| ) | const [pure virtual] |
| virtual void ParaMEDMEM::MEDCouplingMesh::resizeForUnserialization | ( | const std::vector< int > & | tinyInfo, |
| DataArrayInt * | a1, | ||
| DataArrayDouble * | a2, | ||
| std::vector< std::string > & | littleStrings | ||
| ) | const [pure virtual] |
| virtual void ParaMEDMEM::MEDCouplingMesh::serialize | ( | DataArrayInt *& | a1, |
| DataArrayDouble *& | a2 | ||
| ) | const [pure virtual] |
| virtual void ParaMEDMEM::MEDCouplingMesh::unserialization | ( | const std::vector< double > & | tinyInfoD, |
| const std::vector< int > & | tinyInfo, | ||
| const DataArrayInt * | a1, | ||
| DataArrayDouble * | a2, | ||
| const std::vector< std::string > & | littleStrings | ||
| ) | [pure virtual] |