Public Member Functions | |
virtual void | allocateCells (mcIdType nbOfCells=0)=0 |
MEDCouplingPointSet * | buildBoundaryMesh (bool keepCoords) const |
MEDCouplingPointSet * | buildFacePartOfMySelfNode (const mcIdType *start, const mcIdType *end, bool fullyIn) const |
MEDCouplingFieldDouble * | buildOrthogonalField () const |
void | checkConsistencyLight () const |
virtual void | checkConsistencyOfConnectivity () const =0 |
DataArrayIdType * | checkTypeConsistencyAndContig (const std::vector< mcIdType > &code, const std::vector< const DataArrayIdType * > &idsPerType) const |
DataArrayDouble * | computeCellCenterOfMass () const |
DataArrayIdType * | findBoundaryNodes () const |
void | findCommonCells (int compType, mcIdType startCellId, DataArrayIdType *&commonCellsArr, DataArrayIdType *&commonCellsIArr) const |
std::set< INTERP_KERNEL::NormalizedCellType > | getAllGeoTypes () const |
mcIdType | 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< mcIdType > &elts) const |
DataArrayIdType * | getCellsInBoundingBox (const double *bbox, double eps) const |
DataArrayIdType * | getCellsInBoundingBox (const INTERP_KERNEL::DirectedBoundingBox &bbox, double eps) |
std::vector< mcIdType > | getDistributionOfTypes () const |
std::size_t | getHeapMemorySizeWithoutChildren () const |
MEDCouplingFieldDouble * | getMeasureField (bool isAbs) const |
MEDCouplingFieldDouble * | getMeasureFieldOnNode (bool isAbs) const |
int | getMeshDimension () const |
virtual DataArrayIdType * | getNodalConnectivity () const =0 |
mcIdType | getNodalConnectivityLength () const |
mcIdType | getNumberOfCellsWithType (INTERP_KERNEL::NormalizedCellType type) const |
INTERP_KERNEL::NormalizedCellType | getTypeOfCell (mcIdType cellId) const |
std::string | getVTKDataSetType () const |
std::string | getVTKFileExtension () const |
DataArrayIdType * | giveCellsWithType (INTERP_KERNEL::NormalizedCellType type) const |
virtual void | insertNextCell (const mcIdType *nodalConnOfCellBg, const mcIdType *nodalConnOfCellEnd)=0 |
bool | isEqualIfNotWhy (const MEDCouplingMesh *other, double prec, std::string &reason) const |
bool | isEqualWithoutConsideringStr (const MEDCouplingMesh *other, double prec) const |
void | splitProfilePerType (const DataArrayIdType *profile, std::vector< mcIdType > &code, std::vector< DataArrayIdType * > &idsInPflPerType, std::vector< DataArrayIdType * > &idsPerType, bool smartPflKiller=true) 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, mcIdType 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 |
DataArrayIdType * | buildNewNumberingFromCommonNodesFormat (const DataArrayIdType *comm, const DataArrayIdType *commIndex, mcIdType &newNbOfNodes) const |
MEDCouplingMesh * | buildPart (const mcIdType *start, const mcIdType *end) const |
MEDCouplingMesh * | buildPartAndReduceNodes (const mcIdType *start, const mcIdType *end, DataArrayIdType *&arr) const |
virtual MEDCouplingPointSet * | buildPartOfMySelf (const mcIdType *start, const mcIdType *end, bool keepCoords=true) const |
virtual MEDCouplingPointSet * | buildPartOfMySelfKeepCoords (const mcIdType *begin, const mcIdType *end) const =0 |
virtual MEDCouplingPointSet * | buildPartOfMySelfKeepCoordsSlice (mcIdType start, mcIdType end, mcIdType step) const =0 |
virtual MEDCouplingPointSet * | buildPartOfMySelfNode (const mcIdType *start, const mcIdType *end, bool fullyIn) const |
virtual MEDCouplingPointSet * | buildPartOfMySelfSlice (mcIdType start, mcIdType end, mcIdType step, bool keepCoords=true) const |
MEDCouplingMesh * | buildPartRange (mcIdType beginCellIds, mcIdType endCellIds, mcIdType stepCellIds) const |
MEDCouplingMesh * | buildPartRangeAndReduceNodes (mcIdType beginCellIds, mcIdType endCellIds, mcIdType stepCellIds, mcIdType &beginOut, mcIdType &endOut, mcIdType &stepOut, DataArrayIdType *&arr) const |
DataArrayIdType * | buildPermArrayForMergeNode (double precision, mcIdType limitNodeId, bool &areNodesMerged, mcIdType &newNbOfNodes) const |
void | changeSpaceDimension (int newSpaceDim, double dftVal=0.) |
void | checkDeepEquivalOnSameNodesWith (const MEDCouplingMesh *other, int cellCompPol, double prec, DataArrayIdType *&cellCor) const |
void | checkDeepEquivalWith (const MEDCouplingMesh *other, int cellCompPol, double prec, DataArrayIdType *&cellCor, DataArrayIdType *&nodeCor) const |
void | checkFastEquivalWith (const MEDCouplingMesh *other, double prec) const |
virtual void | checkFullyDefined () const =0 |
virtual MEDCouplingFieldDouble * | computeDiameterField () const =0 |
virtual DataArrayIdType * | 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 mcIdType *nodeIdsToDuplicateBg, const mcIdType *nodeIdsToDuplicateEnd) |
virtual void | fillCellIdsToKeepFromNodeIds (const mcIdType *begin, const mcIdType *end, bool fullyIn, DataArrayIdType *&cellIdsKeptArr) const =0 |
void | findCommonNodes (double prec, mcIdType limitNodeId, DataArrayIdType *&comm, DataArrayIdType *&commIndex) const |
void | findNodesOnLine (const double *pt, const double *vec, double eps, std::vector< mcIdType > &nodes) const |
void | findNodesOnPlane (const double *pt, const double *vec, double eps, std::vector< mcIdType > &nodes) const |
void | getBoundingBox (double *bbox) const |
virtual DataArrayDouble * | getBoundingBoxForBBTree (double arcDetEps=1e-12) const =0 |
double | getCaracteristicDimension () const |
DataArrayIdType * | getCellIdsFullyIncludedInNodeIds (const mcIdType *partBg, const mcIdType *partEnd) const |
DataArrayIdType * | getCellIdsLyingOnNodes (const mcIdType *begin, const mcIdType *end, bool fullyIn) const |
DataArrayDouble * | getCoordinatesAndOwner () const |
void | getCoordinatesOfNode (mcIdType nodeId, std::vector< double > &coo) const |
DataArrayDouble * | getCoords () |
const DataArrayDouble * | getCoords () const |
const DataArrayDouble * | getDirectAccessOfCoordsArrIfInStructure () const |
std::vector< const BigMemoryObject * > | getDirectChildrenWithNull () const |
std::size_t | getHeapMemorySizeWithoutChildren () const |
virtual DataArrayIdType * | getNodeIdsInUse (mcIdType &nbrOfNodesInUse) const =0 |
DataArrayIdType * | getNodeIdsNearPoint (const double *pos, double eps) const |
void | getNodeIdsNearPoints (const double *pos, mcIdType nbOfPoints, double eps, DataArrayIdType *&c, DataArrayIdType *&cI) const |
mcIdType | getNumberOfNodes () const |
virtual mcIdType | getNumberOfNodesInCell (mcIdType cellId) const =0 |
int | getSpaceDimension () const |
void | getTinySerializationInformation (std::vector< double > &tinyInfoD, std::vector< mcIdType > &tinyInfo, std::vector< std::string > &littleStrings) const |
virtual void | invertOrientationOfAllCells ()=0 |
virtual bool | isEmptyMesh (const std::vector< mcIdType > &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 DataArrayIdType * | mergeNodes (double precision, bool &areNodesMerged, mcIdType &newNbOfNodes) |
virtual DataArrayIdType * | mergeNodesCenter (double precision, bool &areNodesMerged, mcIdType &newNbOfNodes) |
void | recenterForMaxPrecision (double eps) |
virtual void | renumberNodes (const mcIdType *newNodeNumbers, mcIdType newNbOfNodes) |
virtual void | renumberNodesCenter (const mcIdType *newNodeNumbers, mcIdType newNbOfNodes) |
virtual void | renumberNodesInConn (const INTERP_KERNEL::HashMap< mcIdType, mcIdType > &newNodeNumbersO2N)=0 |
virtual void | renumberNodesInConn (const mcIdType *newNodeNumbersO2N)=0 |
virtual void | renumberNodesInConn (const std::map< mcIdType, mcIdType > &newNodeNumbersO2N)=0 |
virtual void | renumberNodesWithOffsetInConn (mcIdType offset)=0 |
void | resizeForUnserialization (const std::vector< mcIdType > &tinyInfo, DataArrayIdType *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 (DataArrayIdType *&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< mcIdType > &tinyInfo, const DataArrayIdType *a1, DataArrayDouble *a2, const std::vector< std::string > &littleStrings) |
void | updateTime () const |
virtual DataArrayIdType * | zipConnectivityTraducer (int compType, mcIdType startCellId=0) |
void | zipCoords () |
virtual DataArrayIdType * | 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, DataArrayIdType *&cellCor, DataArrayIdType *&nodeCor) const |
virtual MEDCouplingMesh * | clone (bool recDeepCpy) const =0 |
virtual DataArrayIdType * | computeEffectiveNbOfNodesPerCell () const =0 |
virtual DataArrayDouble * | computeIsoBarycenterOfNodesPerCell () const =0 |
virtual MCAuto< DataArrayDouble > | computeMeshCenterOfMass () const |
virtual DataArrayIdType * | computeNbOfFacesPerCell () const =0 |
virtual DataArrayIdType * | computeNbOfNodesPerCell () const =0 |
virtual void | copyTinyInfoFrom (const MEDCouplingMesh *other) |
virtual MEDCouplingMesh * | deepCopy () const =0 |
virtual MEDCouplingFieldDouble * | fillFromAnalytic (TypeOfField t, int nbOfComp, const std::string &func) const |
virtual MEDCouplingFieldDouble * | fillFromAnalytic (TypeOfField t, int nbOfComp, FunctionToEvaluate 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, mcIdType nbOfPoints, double eps, MCAuto< DataArrayIdType > &elts, MCAuto< DataArrayIdType > &eltsIndex) const |
virtual void | getCellsContainingPointsLinearPartOnlyOnNonDynType (const double *pos, mcIdType nbOfPoints, double eps, MCAuto< DataArrayIdType > &elts, MCAuto< DataArrayIdType > &eltsIndex) const |
std::string | getDescription () const |
std::string | getName () const |
virtual void | getNodeIdsOfCell (mcIdType cellId, std::vector< mcIdType > &conn) const =0 |
virtual mcIdType | getNumberOfCells () const =0 |
virtual void | getReverseNodalConnectivity (DataArrayIdType *revNodal, DataArrayIdType *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 mcIdType *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 DataArrayIdType * | simplexize (int policy)=0 |
std::string | writeVTK (const std::string &fileName, bool isBinary=true) const |
Public Member Functions inherited from MEDCoupling::RefCountObjectOnly | |
bool | decrRef () const |
int | getRCValue () const |
void | incrRef () const |
RefCountObjectOnly & | operator= (const RefCountObjectOnly &other) |
Public Member Functions inherited from MEDCoupling::BigMemoryObject | |
std::string | debugHeapMemorySize () const |
std::vector< const BigMemoryObject * > | getAllTheProgeny () const |
virtual std::string | getClassName () const |
std::vector< const BigMemoryObject * > | getDirectChildren () const |
std::size_t | getHeapMemorySize () const |
std::string | getHeapMemorySizeStr () const |
bool | isObjectInTheProgeny (const BigMemoryObject *obj) const |
virtual | ~BigMemoryObject () |
Public Member Functions inherited from MEDCoupling::TimeLabel | |
void | declareAsNew () const |
std::size_t | getTimeOfThis () const |
TimeLabel & | operator= (const TimeLabel &other) |
TimeLabel (const TimeLabel &other)=default | |
Static Public Member Functions | |
static MEDCouplingUMesh * | AggregateOnSameCoordsToUMesh (const std::vector< const MEDCoupling1GTUMesh * > &parts) |
static MEDCoupling1GTUMesh * | New (const MEDCouplingUMesh *m) |
static MEDCoupling1GTUMesh * | New (const std::string &name, INTERP_KERNEL::NormalizedCellType type) |
Static Public Member Functions inherited from MEDCoupling::MEDCouplingPointSet | |
static MEDCouplingPointSet * | BuildInstanceFromMeshType (MEDCouplingMeshType type) |
static DataArrayIdType * | ComputeNbOfInteractionsWithSrcCells (const MEDCouplingPointSet *srcMesh, const MEDCouplingPointSet *trgMesh, double eps) |
static DataArrayDouble * | MergeNodesArray (const MEDCouplingPointSet *m1, const MEDCouplingPointSet *m2) |
static DataArrayDouble * | MergeNodesArray (const std::vector< const MEDCouplingPointSet * > &ms) |
Static Public Member Functions inherited from MEDCoupling::MEDCouplingMesh | |
static INTERP_KERNEL::NormalizedCellType | GetCorrespondingPolyType (INTERP_KERNEL::NormalizedCellType type) |
static int | GetDimensionOfGeometricType (INTERP_KERNEL::NormalizedCellType type) |
static mcIdType | GetNumberOfNodesOfGeometricType (INTERP_KERNEL::NormalizedCellType type) |
static const char * | GetReprOfGeometricType (INTERP_KERNEL::NormalizedCellType type) |
static bool | IsLinearGeometricType (INTERP_KERNEL::NormalizedCellType type) |
static bool | IsStaticGeometricType (INTERP_KERNEL::NormalizedCellType type) |
static MEDCouplingMesh * | MergeMeshes (const MEDCouplingMesh *mesh1, const MEDCouplingMesh *mesh2) |
static MEDCouplingMesh * | MergeMeshes (std::vector< const MEDCouplingMesh * > &meshes) |
Static Public Member Functions inherited from MEDCoupling::BigMemoryObject | |
static std::size_t | GetHeapMemorySizeOfObjs (const std::vector< const BigMemoryObject * > &objs) |
Protected Member Functions | |
MEDCoupling1GTUMesh () | |
MEDCoupling1GTUMesh (const MEDCoupling1GTUMesh &other, bool recDeepCpy) | |
MEDCoupling1GTUMesh (const std::string &name, const INTERP_KERNEL::CellModel &cm) | |
Protected Member Functions inherited from MEDCoupling::MEDCouplingPointSet | |
void | checkConsistencyLight () const |
MEDCouplingPointSet () | |
MEDCouplingPointSet (const MEDCouplingPointSet &other, bool deepCpy) | |
void | project2DCellOnXY (const mcIdType *startConn, const mcIdType *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 |
References _cm.
Referenced by MEDCoupling::MEDCoupling1SGTUMesh::computeDualMesh(), MEDCoupling::MEDCoupling1SGTUMesh::computeTriangleHeight(), MEDCoupling::MEDCoupling1SGTUMesh::explodeEachHexa8To6Quad4(), MEDCoupling::MEDCoupling1DGTUMesh::Merge1DGTUMeshes(), and MEDCoupling::MEDCoupling1SGTUMesh::Merge1SGTUMeshes().
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(), MEDCoupling::MEDCoupling1SGTUMesh::invertOrientationOfAllCells(), MEDCoupling::MEDCoupling1DGTUMesh::invertOrientationOfAllCells(), 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 getCellModelEnum(), and MEDCoupling::MEDCouplingMesh::getNumberOfCells().
|
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 method 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 getCellModelEnum(), and MEDCoupling::MEDCouplingMesh::getNumberOfCells().
|
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, getCellModelEnum(), and MEDCoupling::MEDCouplingMesh::getNumberOfCells().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::MEDCouplingMesh::buildUnstructured().
|
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().
mcIdType MEDCoupling1GTUMesh::getNodalConnectivityLength | ( | ) | const |
References getNodalConnectivity().
Referenced by MEDCoupling::MEDCoupling1SGTUMesh::getNumberOfCells().
|
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 |
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::MEDCouplingMesh::buildUnstructured().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::MEDCouplingMesh::buildUnstructured().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::MEDCouplingMesh::buildUnstructured().
|
virtual |
to improve perf !
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::MEDCouplingMesh::buildUnstructured().
|
virtual |
to improve perf !
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::MEDCouplingMesh::buildUnstructured().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::MEDCouplingMesh::buildUnstructured().
|
virtual |
Implements MEDCoupling::MEDCouplingPointSet.
References MEDCoupling::MEDCouplingMesh::buildUnstructured().
|
virtual |
Implements MEDCoupling::MEDCouplingPointSet.
References MEDCoupling::MEDCouplingMesh::buildUnstructured().
|
virtual |
Implements MEDCoupling::MEDCouplingPointSet.
References MEDCoupling::MEDCouplingMesh::buildUnstructured().
|
virtual |
Implements MEDCoupling::MEDCouplingPointSet.
References MEDCoupling::MEDCouplingMesh::buildUnstructured().
|
virtual |
Implements MEDCoupling::MEDCouplingPointSet.
References MEDCoupling::MEDCouplingMesh::buildUnstructured().
|
virtual |
Implements MEDCoupling::MEDCouplingPointSet.
References MEDCoupling::MEDCouplingMesh::buildUnstructured().
|
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::MEDCouplingPointSet::getCoords(), MEDCoupling::MEDCouplingMesh::getDescription(), getMeshDimension(), MEDCoupling::MEDCouplingMesh::getName(), MEDCoupling::MEDCoupling1DGTUMesh::getNodalConnectivityIndex(), MEDCoupling::MEDCoupling1SGTUMesh::getNumberOfNodesPerCell(), and MEDCoupling::MEDCouplingUMesh::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(), MEDCoupling::MEDCoupling1SGTUMesh::invertOrientationOfAllCells(), isEqualIfNotWhy(), isEqualWithoutConsideringStr(), MEDCoupling::MEDCoupling1SGTUMesh::reprQuickOverview(), MEDCoupling::MEDCoupling1DGTUMesh::reprQuickOverview(), MEDCoupling::MEDCoupling1SGTUMesh::simpleRepr(), MEDCoupling::MEDCoupling1DGTUMesh::simpleRepr(), MEDCoupling::MEDCoupling1SGTUMesh::unserialization(), and MEDCoupling::MEDCoupling1DGTUMesh::unserialization().