Public Member Functions | |
virtual void | allocateCells (int nbOfCells=0)=0 |
MEDCouplingPointSet * | buildBoundaryMesh (bool keepCoords) const |
MEDCouplingPointSet * | buildFacePartOfMySelfNode (const int *start, const int *end, bool fullyIn) const |
MEDCouplingFieldDouble * | buildOrthogonalField () const |
void | checkConsistencyLight () const |
virtual void | checkConsistencyOfConnectivity () const =0 |
DataArrayInt * | checkTypeConsistencyAndContig (const std::vector< int > &code, const std::vector< const DataArrayInt * > &idsPerType) const |
DataArrayDouble * | computeCellCenterOfMass () const |
DataArrayInt * | findBoundaryNodes () const |
void | findCommonCells (int compType, int startCellId, DataArrayInt *&commonCellsArr, DataArrayInt *&commonCellsIArr) const |
std::set < INTERP_KERNEL::NormalizedCellType > | getAllGeoTypes () const |
int | getCellContainingPoint (const double *pos, double eps) const |
const INTERP_KERNEL::CellModel & | getCellModel () const |
INTERP_KERNEL::NormalizedCellType | getCellModelEnum () const |
void | getCellsContainingPoint (const double *pos, double eps, std::vector< int > &elts) const |
DataArrayInt * | getCellsInBoundingBox (const double *bbox, double eps) const |
DataArrayInt * | getCellsInBoundingBox (const INTERP_KERNEL::DirectedBoundingBox &bbox, double eps) |
std::vector< int > | getDistributionOfTypes () const |
std::size_t | getHeapMemorySizeWithoutChildren () const |
MEDCouplingFieldDouble * | getMeasureField (bool isAbs) const |
MEDCouplingFieldDouble * | getMeasureFieldOnNode (bool isAbs) const |
int | getMeshDimension () const |
virtual DataArrayInt * | getNodalConnectivity () const =0 |
int | getNodalConnectivityLength () const |
int | getNumberOfCellsWithType (INTERP_KERNEL::NormalizedCellType type) const |
INTERP_KERNEL::NormalizedCellType | getTypeOfCell (int cellId) const |
std::string | getVTKDataSetType () const |
std::string | getVTKFileExtension () const |
DataArrayInt * | giveCellsWithType (INTERP_KERNEL::NormalizedCellType type) const |
virtual void | insertNextCell (const int *nodalConnOfCellBg, const int *nodalConnOfCellEnd)=0 |
bool | isEqualIfNotWhy (const MEDCouplingMesh *other, double prec, std::string &reason) const |
bool | isEqualWithoutConsideringStr (const MEDCouplingMesh *other, double prec) const |
void | splitProfilePerType (const DataArrayInt *profile, std::vector< int > &code, std::vector< DataArrayInt * > &idsInPflPerType, std::vector< DataArrayInt * > &idsPerType) const |
void | writeVTKLL (std::ostream &ofs, const std::string &cellData, const std::string &pointData, DataArrayByte *byteData) const |
Public Member Functions inherited from MEDCoupling::MEDCouplingPointSet | |
virtual bool | areAllNodesFetched () const |
bool | areCellsFrom2MeshEqual (const MEDCouplingPointSet *other, int cellId, double prec) const |
bool | areCoordsEqual (const MEDCouplingPointSet &other, double prec) const |
bool | areCoordsEqualIfNotWhy (const MEDCouplingPointSet &other, double prec, std::string &reason) const |
bool | areCoordsEqualWithoutConsideringStr (const MEDCouplingPointSet &other, double prec) const |
DataArrayInt * | buildNewNumberingFromCommonNodesFormat (const DataArrayInt *comm, const DataArrayInt *commIndex, int &newNbOfNodes) const |
MEDCouplingMesh * | buildPart (const int *start, const int *end) const |
MEDCouplingMesh * | buildPartAndReduceNodes (const int *start, const int *end, DataArrayInt *&arr) const |
virtual MEDCouplingPointSet * | buildPartOfMySelf (const int *start, const int *end, bool keepCoords=true) const |
virtual MEDCouplingPointSet * | buildPartOfMySelfKeepCoords (const int *begin, const int *end) const =0 |
virtual MEDCouplingPointSet * | buildPartOfMySelfKeepCoordsSlice (int start, int end, int step) const =0 |
virtual MEDCouplingPointSet * | buildPartOfMySelfNode (const int *start, const int *end, bool fullyIn) const |
virtual MEDCouplingPointSet * | buildPartOfMySelfSlice (int start, int end, int step, bool keepCoords=true) const |
MEDCouplingMesh * | buildPartRange (int beginCellIds, int endCellIds, int stepCellIds) const |
MEDCouplingMesh * | buildPartRangeAndReduceNodes (int beginCellIds, int endCellIds, int stepCellIds, int &beginOut, int &endOut, int &stepOut, DataArrayInt *&arr) const |
DataArrayInt * | buildPermArrayForMergeNode (double precision, int limitNodeId, bool &areNodesMerged, int &newNbOfNodes) const |
void | changeSpaceDimension (int newSpaceDim, double dftVal=0.) |
void | checkDeepEquivalOnSameNodesWith (const MEDCouplingMesh *other, int cellCompPol, double prec, DataArrayInt *&cellCor) const |
void | checkDeepEquivalWith (const MEDCouplingMesh *other, int cellCompPol, double prec, DataArrayInt *&cellCor, DataArrayInt *&nodeCor) const |
void | checkFastEquivalWith (const MEDCouplingMesh *other, double prec) const |
virtual void | checkFullyDefined () const =0 |
virtual MEDCouplingFieldDouble * | computeDiameterField () const =0 |
virtual DataArrayInt * | computeFetchedNodeIds () const =0 |
virtual void | computeNodeIdsAlg (std::vector< bool > &nodeIdsInUse) const =0 |
void | copyTinyStringsFrom (const MEDCouplingMesh *other) |
virtual MEDCouplingPointSet * | deepCopyConnectivityOnly () const =0 |
void | duplicateNodesInCoords (const int *nodeIdsToDuplicateBg, const int *nodeIdsToDuplicateEnd) |
virtual void | fillCellIdsToKeepFromNodeIds (const int *begin, const int *end, bool fullyIn, DataArrayInt *&cellIdsKeptArr) const =0 |
void | findCommonNodes (double prec, int limitNodeId, DataArrayInt *&comm, DataArrayInt *&commIndex) const |
void | findNodesOnLine (const double *pt, const double *vec, double eps, std::vector< int > &nodes) const |
void | findNodesOnPlane (const double *pt, const double *vec, double eps, std::vector< int > &nodes) const |
void | getBoundingBox (double *bbox) const |
virtual DataArrayDouble * | getBoundingBoxForBBTree (double arcDetEps=1e-12) const =0 |
double | getCaracteristicDimension () const |
DataArrayInt * | getCellIdsFullyIncludedInNodeIds (const int *partBg, const int *partEnd) const |
DataArrayInt * | getCellIdsLyingOnNodes (const int *begin, const int *end, bool fullyIn) const |
DataArrayDouble * | getCoordinatesAndOwner () const |
void | getCoordinatesOfNode (int nodeId, std::vector< double > &coo) const |
const DataArrayDouble * | getCoords () const |
DataArrayDouble * | getCoords () |
const DataArrayDouble * | getDirectAccessOfCoordsArrIfInStructure () const |
std::vector< const BigMemoryObject * > | getDirectChildrenWithNull () const |
std::size_t | getHeapMemorySizeWithoutChildren () const |
virtual DataArrayInt * | getNodeIdsInUse (int &nbrOfNodesInUse) const =0 |
DataArrayInt * | getNodeIdsNearPoint (const double *pos, double eps) const |
void | getNodeIdsNearPoints (const double *pos, int nbOfPoints, double eps, DataArrayInt *&c, DataArrayInt *&cI) const |
int | getNumberOfNodes () const |
virtual int | getNumberOfNodesInCell (int cellId) const =0 |
int | getSpaceDimension () const |
void | getTinySerializationInformation (std::vector< double > &tinyInfoD, std::vector< int > &tinyInfo, std::vector< std::string > &littleStrings) const |
virtual bool | isEmptyMesh (const std::vector< int > &tinyInfo) const =0 |
bool | isEqualIfNotWhy (const MEDCouplingMesh *other, double prec, std::string &reason) const |
bool | isEqualWithoutConsideringStr (const MEDCouplingMesh *other, double prec) const |
virtual MEDCouplingPointSet * | mergeMyselfWithOnSameCoords (const MEDCouplingPointSet *other) const =0 |
virtual DataArrayInt * | mergeNodes (double precision, bool &areNodesMerged, int &newNbOfNodes) |
virtual DataArrayInt * | mergeNodesCenter (double precision, bool &areNodesMerged, int &newNbOfNodes) |
void | recenterForMaxPrecision (double eps) |
virtual void | renumberNodes (const int *newNodeNumbers, int newNbOfNodes) |
virtual void | renumberNodesCenter (const int *newNodeNumbers, int newNbOfNodes) |
virtual void | renumberNodesInConn (const int *newNodeNumbersO2N)=0 |
virtual void | renumberNodesInConn (const INTERP_KERNEL::HashMap< int, int > &newNodeNumbersO2N)=0 |
virtual void | renumberNodesWithOffsetInConn (int offset)=0 |
void | resizeForUnserialization (const std::vector< int > &tinyInfo, DataArrayInt *a1, DataArrayDouble *a2, std::vector< std::string > &littleStrings) const |
void | rotate (const double *center, const double *vector, double angle) |
void | scale (const double *point, double factor) |
void | serialize (DataArrayInt *&a1, DataArrayDouble *&a2) const |
void | setCoords (const DataArrayDouble *coords) |
virtual void | shallowCopyConnectivityFrom (const MEDCouplingPointSet *other)=0 |
void | translate (const double *vector) |
void | tryToShareSameCoords (const MEDCouplingPointSet &other, double epsilon) |
virtual void | tryToShareSameCoordsPermute (const MEDCouplingPointSet &other, double epsilon) |
void | unserialization (const std::vector< double > &tinyInfoD, const std::vector< int > &tinyInfo, const DataArrayInt *a1, DataArrayDouble *a2, const std::vector< std::string > &littleStrings) |
void | updateTime () const |
virtual DataArrayInt * | zipConnectivityTraducer (int compType, int startCellId=0) |
void | zipCoords () |
virtual DataArrayInt * | zipCoordsTraducer () |
Public Member Functions inherited from MEDCoupling::MEDCouplingMesh | |
virtual std::string | advancedRepr () const =0 |
virtual bool | areCompatibleForMerge (const MEDCouplingMesh *other) const |
virtual MEDCouplingUMesh * | buildUnstructured () const =0 |
virtual void | checkConsistency (double eps=1e-12) const =0 |
void | checkGeoEquivalWith (const MEDCouplingMesh *other, int levOfCheck, double prec, DataArrayInt *&cellCor, DataArrayInt *&nodeCor) const |
virtual MEDCouplingMesh * | clone (bool recDeepCpy) const =0 |
virtual DataArrayInt * | computeEffectiveNbOfNodesPerCell () const =0 |
virtual DataArrayDouble * | computeIsoBarycenterOfNodesPerCell () const =0 |
virtual DataArrayInt * | computeNbOfFacesPerCell () const =0 |
virtual DataArrayInt * | computeNbOfNodesPerCell () const =0 |
virtual void | copyTinyInfoFrom (const MEDCouplingMesh *other) |
virtual MEDCouplingMesh * | deepCopy () const =0 |
virtual MEDCouplingFieldDouble * | fillFromAnalytic (TypeOfField t, int nbOfComp, FunctionToEvaluate func) const |
virtual MEDCouplingFieldDouble * | fillFromAnalytic (TypeOfField t, int nbOfComp, const std::string &func) const |
virtual MEDCouplingFieldDouble * | fillFromAnalyticCompo (TypeOfField t, int nbOfComp, const std::string &func) const |
virtual MEDCouplingFieldDouble * | fillFromAnalyticNamedCompo (TypeOfField t, int nbOfComp, const std::vector< std::string > &varsOrder, const std::string &func) const |
virtual void | getCellsContainingPoints (const double *pos, int nbOfPoints, double eps, MCAuto< DataArrayInt > &elts, MCAuto< DataArrayInt > &eltsIndex) const |
std::string | getDescription () const |
std::string | getName () const |
virtual void | getNodeIdsOfCell (int cellId, std::vector< int > &conn) const =0 |
virtual int | getNumberOfCells () const =0 |
virtual void | getReverseNodalConnectivity (DataArrayInt *revNodal, DataArrayInt *revNodalIndx) const =0 |
double | getTime (int &iteration, int &order) const |
std::string | getTimeUnit () const |
virtual MEDCouplingMeshType | getType () const =0 |
std::string | getVTKFileNameOf (const std::string &fileName) const |
virtual bool | isEqual (const MEDCouplingMesh *other, double prec) const |
bool | isStructured () const |
virtual MEDCouplingMesh * | mergeMyselfWith (const MEDCouplingMesh *other) const =0 |
virtual void | renumberCells (const int *old2NewBg, bool check=true)=0 |
virtual void | reprQuickOverview (std::ostream &stream) const =0 |
void | setDescription (const std::string &descr) |
void | setName (const std::string &name) |
void | setTime (double val, int iteration, int order) |
void | setTimeUnit (const std::string &unit) |
virtual std::string | simpleRepr () const =0 |
virtual DataArrayInt * | simplexize (int policy)=0 |
std::string | writeVTK (const std::string &fileName, bool isBinary=true) const |
Public Member Functions inherited from MEDCoupling::TimeLabel | |
void | declareAsNew () const |
std::size_t | getTimeOfThis () const |
TimeLabel & | operator= (const TimeLabel &other) |
Protected Member Functions | |
MEDCoupling1GTUMesh (const std::string &name, const INTERP_KERNEL::CellModel &cm) | |
MEDCoupling1GTUMesh (const MEDCoupling1GTUMesh &other, bool recDeepCpy) | |
MEDCoupling1GTUMesh () | |
Protected Member Functions inherited from MEDCoupling::MEDCouplingPointSet | |
void | checkConsistencyLight () const |
MEDCouplingPointSet () | |
MEDCouplingPointSet (const MEDCouplingPointSet &other, bool deepCopy) | |
void | project2DCellOnXY (const int *startConn, const int *endConn, std::vector< double > &res) const |
void | rotate2D (const double *center, double angle) |
void | rotate3D (const double *center, const double *vect, double angle) |
~MEDCouplingPointSet () | |
Protected Member Functions inherited from MEDCoupling::MEDCouplingMesh | |
MEDCouplingMesh () | |
MEDCouplingMesh (const MEDCouplingMesh &other) | |
virtual | ~MEDCouplingMesh () |
Protected Member Functions inherited from MEDCoupling::RefCountObject | |
RefCountObject () | |
RefCountObject (const RefCountObject &other) | |
virtual | ~RefCountObject () |
Protected Member Functions inherited from MEDCoupling::RefCountObjectOnly | |
RefCountObjectOnly () | |
RefCountObjectOnly (const RefCountObjectOnly &other) | |
virtual | ~RefCountObjectOnly () |
Protected Member Functions inherited from MEDCoupling::TimeLabel | |
void | forceTimeOfThis (const TimeLabel &other) const |
TimeLabel () | |
void | updateTimeWith (const TimeLabel &other) const |
virtual | ~TimeLabel () |
Protected Attributes | |
const INTERP_KERNEL::CellModel * | _cm |
Protected Attributes inherited from MEDCoupling::MEDCouplingPointSet | |
DataArrayDouble * | _coords |
Additional Inherited Members | |
Static Protected Member Functions inherited from MEDCoupling::MEDCouplingPointSet | |
static bool | intersectsBoundingBox (const double *bb1, const double *bb2, int dim, double eps) |
static bool | intersectsBoundingBox (const INTERP_KERNEL::DirectedBoundingBox &bb1, const double *bb2, int dim, double eps) |
static bool | isButterfly2DCell (const std::vector< double > &res, bool isQuad, double eps) |
|
protected |
References MEDCoupling::MEDCouplingMesh::setName().
|
protected |
|
protected |
|
static |
|
static |
const INTERP_KERNEL::CellModel & MEDCoupling1GTUMesh::getCellModel | ( | ) | const |
INTERP_KERNEL::NormalizedCellType MEDCoupling1GTUMesh::getCellModelEnum | ( | ) | const |
References _cm.
Referenced by MEDCoupling::MEDFileStructuredMesh::buildImplicitPartIfAny(), MEDCoupling::MEDCoupling1SGTUMesh::buildUnstructured(), MEDCoupling::MEDCoupling1DGTUMesh::buildUnstructured(), checkTypeConsistencyAndContig(), MEDCoupling::MEDCoupling1DGTUMesh::computeEffectiveNbOfNodesPerCell(), MEDCoupling::MEDCoupling1DGTUMesh::computeIsoBarycenterOfNodesPerCell(), MEDCoupling::MEDCoupling1DGTUMesh::computeNbOfFacesPerCell(), MEDCoupling::MEDCoupling1DGTUMesh::computeNbOfNodesPerCell(), getAllGeoTypes(), getDistributionOfTypes(), getNumberOfCellsWithType(), MEDCoupling::MEDCoupling1SGTUMesh::getTinySerializationInformation(), MEDCoupling::MEDCoupling1DGTUMesh::getTinySerializationInformation(), getTypeOfCell(), giveCellsWithType(), splitProfilePerType(), and MEDCoupling::MEDCoupling1SGTUMesh::structurizeMe().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References _cm.
Referenced by AggregateOnSameCoordsToUMesh(), MEDCoupling::MEDCoupling1SGTUMesh::buildUnstructured(), MEDCoupling::MEDCoupling1DGTUMesh::buildUnstructured(), MEDCoupling::MEDCoupling1SGTUMesh::computeDualMesh(), MEDCoupling::MEDCoupling1SGTUMesh::reprQuickOverview(), MEDCoupling::MEDCoupling1DGTUMesh::reprQuickOverview(), MEDCoupling::MEDCoupling1SGTUMesh::simpleRepr(), MEDCoupling::MEDCoupling1DGTUMesh::simpleRepr(), and MEDCoupling::MEDCoupling1SGTUMesh::structurizeMe().
|
virtual |
This method returns a newly allocated array containing cell ids (ascendingly sorted) whose geometric type are equal to type. This method does not throw exception if geometric type type is not in this. This method throws an INTERP_KERNEL::Exception if meshdimension of this is not equal to those of type. The coordinates array is not considered here.
[in] | type | the geometric type |
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::DataArrayTemplate< T >::alloc(), getCellModelEnum(), MEDCoupling::MEDCouplingMesh::getNumberOfCells(), MEDCoupling::DataArrayInt::iota(), MEDCoupling::DataArrayInt::New(), and MEDCoupling::MCAuto< T >::retn().
|
virtual |
Returns nb of cells having the geometric type type. No throw if no cells in this has the geometric type type.
Implements MEDCoupling::MEDCouplingMesh.
References getCellModelEnum(), and MEDCoupling::MEDCouplingMesh::getNumberOfCells().
|
virtual |
Returns a type of a cell by its id.
[in] | cellId | - the id of the cell of interest. |
If | cellId is invalid. Valid range is [0, this->getNumberOfCells() ). |
Implements MEDCoupling::MEDCouplingMesh.
References getCellModelEnum(), and MEDCoupling::MEDCouplingMesh::getNumberOfCells().
|
virtual |
Returns a set of all cell types available in this mesh.
Implements MEDCoupling::MEDCouplingMesh.
References getCellModelEnum().
|
virtual |
This method expects that this is sorted by types. If not an exception will be thrown. This method returns in the same format as code (see MEDCouplingUMesh::checkTypeConsistencyAndContig or MEDCouplingUMesh::splitProfilePerType) how this is composed in cell types. The returned array is of size 3*n where n is the number of different types present in this. For every k in [0,n] ret[3*k+2]==-1 because it has no sense here. This parameter is kept only for compatibility with other methode listed above.
Implements MEDCoupling::MEDCouplingMesh.
References getCellModelEnum(), and MEDCoupling::MEDCouplingMesh::getNumberOfCells().
|
virtual |
This method is the opposite of MEDCouplingUMesh::checkTypeConsistencyAndContig method. Given a list of cells in profile it returns a list of sub-profiles sorted by geo type. The result is put in the array idsPerType. In the returned parameter code, foreach i code[3*i+2] refers (if different from -1) to a location into the idsPerType. This method has 1 input profile and 3 outputs code idsInPflPerType and idsPerType.
[out] | code | is a vector of size 3*n where n is the number of different geometric type in this reduced to the profile profile. code has exactly the same semantic than in MEDCouplingUMesh::checkTypeConsistencyAndContig method. |
[out] | idsInPflPerType | is a vector of size of different geometric type in the subpart defined by profile of this ( equal to code.size()/3). For each i, idsInPflPerType[i] stores the tuple ids in profile that correspond to the geometric type code[3*i+0] |
[out] | idsPerType | is a vector of size of different sub profiles needed to be defined to represent the profile profile for a given geometric type. This vector can be empty in case of all geometric type cells are fully covered in ascending in the given input profile. |
if | profile has not exactly one component. It throws too, if profile contains some values not in [0,getNumberOfCells()) or if this is not fully defined |
Example1:
Example2:
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::DataArrayInt::checkAllIdsInRange(), getCellModelEnum(), MEDCoupling::MEDCouplingMesh::getNumberOfCells(), MEDCoupling::DataArray::getNumberOfComponents(), MEDCoupling::DataArrayTemplate< T >::getNumberOfTuples(), MEDCoupling::RefCountObjectOnly::incrRef(), MEDCoupling::DataArrayInt::isIota(), and MEDCoupling::DataArrayInt::Range().
|
virtual |
This method tries to minimize at most the number of deep copy. So if idsPerType is not empty it can be returned directly (without copy, but with ref count incremented) in return.
Implements MEDCoupling::MEDCouplingMesh.
References _cm, MEDCoupling::DataArrayInt::checkAllIdsInRange(), getCellModelEnum(), MEDCoupling::MEDCouplingMesh::getNumberOfCells(), MEDCoupling::DataArray::getNumberOfComponents(), and MEDCoupling::RefCountObjectOnly::incrRef().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::MEDCouplingMesh::buildUnstructured(), and MEDCoupling::MEDCouplingUMesh::writeVTKLL().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Implements MEDCoupling::BigMemoryObject.
Reimplemented in MEDCoupling::MEDCoupling1DGTUMesh, and MEDCoupling::MEDCoupling1SGTUMesh.
References MEDCoupling::MEDCouplingPointSet::getHeapMemorySizeWithoutChildren().
Referenced by MEDCoupling::MEDCoupling1SGTUMesh::getHeapMemorySizeWithoutChildren(), and MEDCoupling::MEDCoupling1DGTUMesh::getHeapMemorySizeWithoutChildren().
int MEDCoupling1GTUMesh::getNodalConnectivityLength | ( | ) | const |
|
virtual |
Reimplemented from MEDCoupling::MEDCouplingMesh.
Reimplemented in MEDCoupling::MEDCoupling1DGTUMesh, and MEDCoupling::MEDCoupling1SGTUMesh.
References _cm, and MEDCoupling::MEDCouplingPointSet::isEqualIfNotWhy().
Referenced by MEDCoupling::MEDCoupling1SGTUMesh::isEqualIfNotWhy(), and MEDCoupling::MEDCoupling1DGTUMesh::isEqualIfNotWhy().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
Reimplemented in MEDCoupling::MEDCoupling1DGTUMesh, and MEDCoupling::MEDCoupling1SGTUMesh.
References _cm, and MEDCoupling::MEDCouplingPointSet::isEqualWithoutConsideringStr().
Referenced by MEDCoupling::MEDCoupling1SGTUMesh::isEqualWithoutConsideringStr(), and MEDCoupling::MEDCoupling1DGTUMesh::isEqualWithoutConsideringStr().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
Reimplemented in MEDCoupling::MEDCoupling1DGTUMesh, and MEDCoupling::MEDCoupling1SGTUMesh.
References MEDCoupling::MEDCouplingPointSet::checkConsistencyLight().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
to improve perf !
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::MEDCouplingMesh::buildUnstructured(), and MEDCoupling::MEDCouplingUMesh::getCellContainingPoint().
|
virtual |
to improve perf !
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::MEDCouplingMesh::buildUnstructured(), and MEDCoupling::MEDCouplingUMesh::getCellsContainingPoint().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
static |
This method aggregates all the meshes in parts to put them in a single unstructured mesh (those returned). The order of cells is the returned instance is those in the order of instances in parts.
[in] | parts | - all not null parts of single geo type meshes to be aggreagated having the same mesh dimension and same coordinates. |
If | one element is null in parts. |
If | not all the parts do not have the same mesh dimension. |
If | not all the parts do not share the same coordinates. |
If | not all the parts have their connectivity set properly. |
If | parts is empty. |
References MEDCoupling::DataArrayTemplate< T >::alloc(), MEDCoupling::DataArrayTemplate< T >::begin(), MEDCoupling::MEDCouplingPointSet::getCoords(), MEDCoupling::MEDCouplingMesh::getDescription(), getMeshDimension(), MEDCoupling::MEDCouplingMesh::getName(), MEDCoupling::MEDCoupling1DGTUMesh::getNodalConnectivityIndex(), MEDCoupling::DataArrayTemplate< T >::getPointer(), MEDCoupling::MEDCouplingUMesh::New(), and MEDCoupling::DataArrayInt::New().
|
pure virtual |
Implemented in MEDCoupling::MEDCoupling1DGTUMesh, and MEDCoupling::MEDCoupling1SGTUMesh.
|
pure virtual |
Implemented in MEDCoupling::MEDCoupling1DGTUMesh, and MEDCoupling::MEDCoupling1SGTUMesh.
|
pure virtual |
Implemented in MEDCoupling::MEDCoupling1DGTUMesh, and MEDCoupling::MEDCoupling1SGTUMesh.
Referenced by getNodalConnectivityLength().
|
pure virtual |
Implemented in MEDCoupling::MEDCoupling1DGTUMesh, and MEDCoupling::MEDCoupling1SGTUMesh.
|
protected |
Referenced by MEDCoupling::MEDCoupling1SGTUMesh::buildPartOfMySelfKeepCoords(), MEDCoupling::MEDCoupling1DGTUMesh::buildPartOfMySelfKeepCoords(), MEDCoupling::MEDCoupling1SGTUMesh::buildPartOfMySelfKeepCoordsSlice(), MEDCoupling::MEDCoupling1DGTUMesh::buildPartOfMySelfKeepCoordsSlice(), MEDCoupling::MEDCoupling1SGTUMesh::buildSetInstanceFromThis(), MEDCoupling::MEDCoupling1DGTUMesh::buildSetInstanceFromThis(), MEDCoupling::MEDCoupling1SGTUMesh::checkConsistency(), checkTypeConsistencyAndContig(), MEDCoupling::MEDCoupling1SGTUMesh::computeDiameterField(), MEDCoupling::MEDCoupling1SGTUMesh::computeNbOfFacesPerCell(), MEDCoupling::MEDCoupling1SGTUMesh::computeNbOfNodesPerCell(), MEDCoupling::MEDCoupling1DGTUMesh::copyWithNodalConnectivityPacked(), getCellModel(), getCellModelEnum(), getMeshDimension(), MEDCoupling::MEDCoupling1SGTUMesh::getNumberOfNodesPerCell(), isEqualIfNotWhy(), isEqualWithoutConsideringStr(), MEDCoupling::MEDCoupling1SGTUMesh::reprQuickOverview(), MEDCoupling::MEDCoupling1DGTUMesh::reprQuickOverview(), MEDCoupling::MEDCoupling1SGTUMesh::simpleRepr(), MEDCoupling::MEDCoupling1DGTUMesh::simpleRepr(), MEDCoupling::MEDCoupling1SGTUMesh::unserialization(), and MEDCoupling::MEDCoupling1DGTUMesh::unserialization().