Public Member Functions | |
std::string | advancedRepr () const |
MEDCouplingFieldDouble * | buildOrthogonalField () const |
MEDCouplingStructuredMesh * | buildStructuredSubPart (const std::vector< std::pair< int, int > > &cellPart) const |
void | checkConsistency (double eps=1e-12) const |
void | checkConsistencyLight () const |
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 |
MEDCouplingCurveLinearMesh * | clone (bool recDeepCpy) const |
DataArrayDouble * | computeCellCenterOfMass () const |
DataArrayDouble * | computeIsoBarycenterOfNodesPerCell () const |
void | copyTinyStringsFrom (const MEDCouplingMesh *other) |
MEDCouplingCurveLinearMesh * | deepCopy () const |
void | getBoundingBox (double *bbox) const |
int | getCellContainingPoint (const double *pos, double eps) const |
void | getCellsContainingPoint (const double *pos, double eps, std::vector< int > &elts) const |
DataArrayDouble * | getCoordinatesAndOwner () const |
void | getCoordinatesOfNode (int 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 |
MEDCouplingFieldDouble * | getMeasureField (bool isAbs) const |
MEDCouplingFieldDouble * | getMeasureFieldOnNode (bool isAbs) const |
std::vector< int > | getNodeGridStructure () const |
void | getNodeGridStructure (int *res) const |
int | getNumberOfCells () const |
int | getNumberOfNodes () const |
int | getSpaceDimension () const |
void | getTinySerializationInformation (std::vector< double > &tinyInfoD, std::vector< int > &tinyInfo, std::vector< std::string > &littleStrings) const |
MEDCouplingMeshType | getType () const |
std::string | getVTKFileExtension () const |
bool | isEqualIfNotWhy (const MEDCouplingMesh *other, double prec, std::string &reason) const |
bool | isEqualWithoutConsideringStr (const MEDCouplingMesh *other, double prec) const |
MEDCouplingMesh * | mergeMyselfWith (const MEDCouplingMesh *other) const |
void | renumberCells (const int *old2NewBg, bool check=true) |
void | reprQuickOverview (std::ostream &stream) const |
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) |
void | setNodeGridStructure (const int *gridStructBg, const int *gridStructEnd) |
std::string | simpleRepr () const |
void | translate (const double *vector) |
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 |
![]() | |
MEDCoupling1SGTUMesh * | build1SGTSubLevelMesh () const |
MEDCoupling1SGTUMesh * | build1SGTUnstructured () const |
MEDCouplingFieldDouble * | buildOrthogonalField () const |
MEDCouplingMesh * | buildPart (const int *start, const int *end) const |
MEDCouplingMesh * | buildPartAndReduceNodes (const int *start, const int *end, DataArrayInt *&arr) const |
MEDCouplingUMesh * | buildUnstructured () const |
DataArrayInt * | checkTypeConsistencyAndContig (const std::vector< int > &code, const std::vector< const DataArrayInt * > &idsPerType) const |
DataArrayInt * | computeEffectiveNbOfNodesPerCell () const |
DataArrayInt * | computeNbOfFacesPerCell () const |
DataArrayInt * | computeNbOfNodesPerCell () const |
double | computeSquareness () const |
void | copyTinyStringsFrom (const MEDCouplingMesh *other) |
std::set < INTERP_KERNEL::NormalizedCellType > | getAllGeoTypes () const |
std::vector< int > | getCellGridStructure () const |
int | getCellIdFromPos (int i, int j, int k) const |
std::vector< int > | getDistributionOfTypes () const |
std::size_t | getHeapMemorySizeWithoutChildren () const |
std::vector< int > | getLocationFromCellId (int cellId) const |
std::vector< int > | getLocationFromNodeId (int nodeId) const |
int | getMeshDimension () const |
int | getNodeIdFromPos (int i, int j, int k) const |
void | getNodeIdsOfCell (int cellId, std::vector< int > &conn) const |
int | getNumberOfCells () const |
int | getNumberOfCellsOfSubLevelMesh () const |
int | getNumberOfCellsWithType (INTERP_KERNEL::NormalizedCellType type) const |
int | getNumberOfNodes () const |
void | getReverseNodalConnectivity (DataArrayInt *revNodal, DataArrayInt *revNodalIndx) const |
int | getSpaceDimensionOnNodeStruct () const |
virtual void | getSplitCellValues (int *res) const |
virtual void | getSplitNodeValues (int *res) const |
INTERP_KERNEL::NormalizedCellType | getTypeOfCell (int cellId) const |
DataArrayInt * | giveCellsWithType (INTERP_KERNEL::NormalizedCellType type) const |
bool | isEqualIfNotWhy (const MEDCouplingMesh *other, double prec, std::string &reason) const |
DataArrayInt * | simplexize (int policy) |
void | splitProfilePerType (const DataArrayInt *profile, std::vector< int > &code, std::vector< DataArrayInt * > &idsInPflPerType, std::vector< DataArrayInt * > &idsPerType) const |
![]() | |
virtual bool | areCompatibleForMerge (const MEDCouplingMesh *other) const |
virtual MEDCouplingMesh * | buildPartRange (int beginCellIds, int endCellIds, int stepCellIds) const |
virtual MEDCouplingMesh * | buildPartRangeAndReduceNodes (int beginCellIds, int endCellIds, int stepCellIds, int &beginOut, int &endOut, int &stepOut, DataArrayInt *&arr) const |
virtual void | checkFastEquivalWith (const MEDCouplingMesh *other, double prec) const |
void | checkGeoEquivalWith (const MEDCouplingMesh *other, int levOfCheck, double prec, DataArrayInt *&cellCor, DataArrayInt *&nodeCor) const |
virtual void | copyTinyInfoFrom (const MEDCouplingMesh *other) |
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 DataArrayInt * | getCellIdsFullyIncludedInNodeIds (const int *partBg, const int *partEnd) 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 |
double | getTime (int &iteration, int &order) const |
std::string | getTimeUnit () const |
std::string | getVTKFileNameOf (const std::string &fileName) const |
virtual bool | isEqual (const MEDCouplingMesh *other, double prec) const |
bool | isStructured () const |
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) |
std::string | writeVTK (const std::string &fileName, bool isBinary=true) const |
![]() | |
void | declareAsNew () const |
std::size_t | getTimeOfThis () const |
TimeLabel & | operator= (const TimeLabel &other) |
Static Public Member Functions | |
static MEDCouplingCurveLinearMesh * | New () |
static MEDCouplingCurveLinearMesh * | New (const std::string &meshName) |
![]() | |
static void | ApplyGhostOnCompactFrmt (std::vector< std::pair< int, int > > &partBeforeFact, int ghostSize) |
static bool | AreRangesIntersect (const std::vector< std::pair< int, int > > &r1, const std::vector< std::pair< int, int > > &r2) |
static void | AssignPartOfFieldOfDoubleUsing (const std::vector< int > &st, DataArrayDouble *fieldOfDbl, const std::vector< std::pair< int, int > > &partCompactFormat, const DataArrayDouble *other) |
static DataArrayInt * | Build1GTNodalConnectivity (const int *nodeStBg, const int *nodeStEnd) |
static DataArrayInt * | Build1GTNodalConnectivityOfSubLevelMesh (const int *nodeStBg, const int *nodeStEnd) |
static DataArrayInt * | BuildExplicitIdsFrom (const std::vector< int > &st, const std::vector< std::pair< int, int > > &partCompactFormat) |
static void | ChangeReferenceFromGlobalOfCompactFrmt (const std::vector< std::pair< int, int > > &bigInAbs, const std::vector< std::pair< int, int > > &partOfBigInAbs, std::vector< std::pair< int, int > > &partOfBigRelativeToBig, bool check=true) |
static void | ChangeReferenceToGlobalOfCompactFrmt (const std::vector< std::pair< int, int > > &bigInAbs, const std::vector< std::pair< int, int > > &partOfBigRelativeToBig, std::vector< std::pair< int, int > > &partOfBigInAbs, bool check=true) |
static DataArrayInt * | ComputeCornersGhost (const std::vector< int > &st, int ghostLev) |
static std::vector < std::vector< int > > | ComputeSignaturePerAxisOf (const std::vector< int > &st, const std::vector< bool > &crit) |
static int | DeduceNumberOfGivenRangeInCompactFrmt (const std::vector< std::pair< int, int > > &partCompactFormat) |
static int | DeduceNumberOfGivenStructure (const std::vector< int > &st) |
static void | ExtractFieldOfBoolFrom (const std::vector< int > &st, const std::vector< bool > &fieldOfBool, const std::vector< std::pair< int, int > > &partCompactFormat, std::vector< bool > &fieldOut) |
static DataArrayDouble * | ExtractFieldOfDoubleFrom (const std::vector< int > &st, const DataArrayDouble *fieldOfDbl, const std::vector< std::pair< int, int > > &partCompactFormat) |
static int | FindMinimalPartOf (int minPatchLgth, const std::vector< int > &st, const std::vector< bool > &crit, std::vector< bool > &reducedCrit, std::vector< std::pair< int, int > > &partCompactFormat) |
static void | FindTheWidestAxisOfGivenRangeInCompactFrmt (const std::vector< std::pair< int, int > > &partCompactFormat, int &axisId, int &sizeOfRange) |
static std::vector< int > | FindTranslationFrom (const std::vector< std::pair< int, int > > &startingFrom, const std::vector< std::pair< int, int > > &goingTo) |
static std::vector< std::pair < int, int > > | GetCompactFrmtFromDimensions (const std::vector< int > &dims) |
static std::vector< int > | GetDimensionsFromCompactFrmt (const std::vector< std::pair< int, int > > &partCompactFormat) |
static INTERP_KERNEL::NormalizedCellType | GetGeoTypeGivenMeshDimension (int meshDim) |
static void | GetPosFromId (int eltId, int meshDim, const int *split, int *res) |
static std::vector< int > | GetSplitVectFromStruct (const std::vector< int > &strct) |
static std::vector< std::pair < int, int > > | IntersectRanges (const std::vector< std::pair< int, int > > &r1, const std::vector< std::pair< int, int > > &r2) |
static bool | IsPartStructured (const int *startIds, const int *stopIds, const std::vector< int > &st, std::vector< std::pair< int, int > > &partCompactFormat) |
static void | MultiplyPartOf (const std::vector< int > &st, const std::vector< std::pair< int, int > > &part, double factor, DataArrayDouble *da) |
static void | MultiplyPartOfByGhost (const std::vector< int > &st, const std::vector< std::pair< int, int > > &part, int ghostSize, double factor, DataArrayDouble *da) |
static void | PutInGhostFormat (int ghostSize, const std::vector< int > &st, const std::vector< std::pair< int, int > > &part, std::vector< int > &stWithGhost, std::vector< std::pair< int, int > > &partWithGhost) |
static void | SwitchOnIdsFrom (const std::vector< int > &st, const std::vector< std::pair< int, int > > &partCompactFormat, std::vector< bool > &vectToSwitchOn) |
static std::vector< std::pair < int, int > > | TranslateCompactFrmt (const std::vector< std::pair< int, int > > &part, const std::vector< int > &translation) |
![]() | |
static INTERP_KERNEL::NormalizedCellType | GetCorrespondingPolyType (INTERP_KERNEL::NormalizedCellType type) |
static int | GetDimensionOfGeometricType (INTERP_KERNEL::NormalizedCellType type) |
static int | 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) |
Additional Inherited Members | |
![]() | |
MEDCouplingStructuredMesh () | |
MEDCouplingStructuredMesh (const MEDCouplingStructuredMesh &other, bool deepCopy) | |
~MEDCouplingStructuredMesh () | |
![]() | |
static int | ZipNodeStructure (const int *nodeStBg, const int *nodeStEnd, int zipNodeSt[3]) |
|
static |
Referenced by MEDCoupling::MEDCouplingCMesh::buildCurveLinear().
|
static |
References MEDCoupling::MEDCouplingMesh::setName().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References clone().
Referenced by buildStructuredSubPart().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
Referenced by MEDCoupling::MEDFileCurveLinearMesh::cartesianize(), and deepCopy().
|
virtual |
This method should be called on high level classes as Field or Mesh to take into acount modifications done in aggregates objects.
Implements MEDCoupling::TimeLabel.
References MEDCoupling::TimeLabel::updateTimeWith().
Referenced by rotate(), scale(), and translate().
|
virtual |
|
virtual |
Implements MEDCoupling::BigMemoryObject.
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::CURVE_LINEAR.
|
virtual |
This method copyies all tiny strings from other (name and components name).
if | other and this have not same mesh type. |
Reimplemented from MEDCoupling::MEDCouplingMesh.
References MEDCoupling::MEDCouplingStructuredMesh::copyTinyStringsFrom().
|
virtual |
Reimplemented from MEDCoupling::MEDCouplingMesh.
References MEDCoupling::MEDCouplingStructuredMesh::isEqualIfNotWhy().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
Referenced by checkDeepEquivalOnSameNodesWith(), and checkDeepEquivalWith().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References isEqualWithoutConsideringStr().
|
virtual |
Nothing is done here (except to check that the other is a MEDCoupling::MEDCouplingCurveLinearMesh instance too). The user intend that the nodes are the same, so by construction of MEDCoupling::MEDCouplingCurveLinearMesh, this and other are the same !
Implements MEDCoupling::MEDCouplingMesh.
References isEqualWithoutConsideringStr().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
Referenced by buildStructuredSubPart(), checkConsistency(), computeCellCenterOfMass(), getCellContainingPoint(), getMeasureField(), getNumberOfCells(), and getNumberOfNodes().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References checkConsistencyLight().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References checkConsistencyLight(), and MEDCoupling::MEDCouplingStructuredMesh::getNumberOfCells().
Referenced by buildOrthogonalField(), and computeCellCenterOfMass().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References checkConsistencyLight(), and MEDCoupling::MEDCouplingStructuredMesh::getNumberOfNodes().
Referenced by getCellContainingPoint(), and translate().
|
virtual |
MEDCouplingCurveLinearMesh has the property to define 2 space dimensions. One coming from its coordinates. The other coming from the node structure. Normally they should be equal ! This method returns the space dimension from coordinates. If the other one is requested call getSpaceDimensionOnNodeStruct.
Implements MEDCoupling::MEDCouplingMesh.
Referenced by buildStructuredSubPart(), computeCellCenterOfMass(), getCellContainingPoint(), reprQuickOverview(), rotate(), and translate().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References simpleRepr().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
DataArrayDouble * MEDCouplingCurveLinearMesh::getCoords | ( | ) |
const DataArrayDouble * MEDCouplingCurveLinearMesh::getCoords | ( | ) | const |
void MEDCouplingCurveLinearMesh::setCoords | ( | const DataArrayDouble * | coords | ) |
References MEDCoupling::TimeLabel::declareAsNew(), and MEDCoupling::RefCountObjectOnly::incrRef().
Referenced by MEDCoupling::MEDCouplingCMesh::buildCurveLinear(), and buildStructuredSubPart().
void MEDCouplingCurveLinearMesh::setNodeGridStructure | ( | const int * | gridStructBg, |
const int * | gridStructEnd | ||
) |
Referenced by MEDCoupling::MEDCouplingCMesh::buildCurveLinear(), and buildStructuredSubPart().
|
virtual |
Implements MEDCoupling::MEDCouplingStructuredMesh.
Referenced by buildStructuredSubPart().
|
virtual |
Implements MEDCoupling::MEDCouplingStructuredMesh.
References MEDCoupling::MEDCouplingStructuredMesh::BuildExplicitIdsFrom(), checkConsistencyLight(), deepCopy(), getCoords(), MEDCoupling::MEDCouplingStructuredMesh::getMeshDimension(), getNodeGridStructure(), getSpaceDimension(), MEDCoupling::MCAuto< T >::retn(), setCoords(), and setNodeGridStructure().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References checkConsistencyLight(), MEDCoupling::MEDCouplingStructuredMesh::getMeshDimension(), MEDCoupling::MEDCouplingMesh::getName(), MEDCoupling::MEDCouplingFieldDouble::New(), MEDCoupling::ON_CELLS, MEDCoupling::ONE_TIME, MEDCoupling::MCAuto< T >::retn(), MEDCoupling::MEDCouplingField::setMesh(), MEDCoupling::MEDCouplingField::setName(), and MEDCoupling::MEDCouplingFieldT< T >::synchronizeTimeWithMesh().
|
virtual |
not implemented yet !
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::DataArrayTemplate< T >::alloc(), MEDCoupling::RefCountObjectOnly::decrRef(), MEDCoupling::MEDCouplingStructuredMesh::getMeshDimension(), getNumberOfCells(), MEDCoupling::DataArrayTemplate< T >::getPointer(), MEDCoupling::MEDCouplingFieldDouble::New(), MEDCoupling::DataArrayDouble::New(), MEDCoupling::NO_TIME, MEDCoupling::ON_CELLS, MEDCoupling::MEDCouplingFieldT< T >::setArray(), and MEDCoupling::MEDCouplingField::setMesh().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References checkConsistencyLight(), MEDCoupling::MEDCouplingStructuredMesh::getMeshDimension(), getNumberOfNodes(), getSpaceDimension(), INTERP_KERNEL::NORM_HEXA8, INTERP_KERNEL::NORM_QUAD4, and INTERP_KERNEL::NORM_SEG2.
Referenced by getCellsContainingPoint().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References getCellContainingPoint().
|
virtual |
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References getNumberOfNodes(), getSpaceDimension(), and updateTime().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References updateTime().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::RefCountObjectOnly::incrRef().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::DataArrayTemplate< T >::alloc(), checkConsistencyLight(), MEDCoupling::DataArray::copyStringInfoFrom(), getCoords(), MEDCoupling::MEDCouplingStructuredMesh::getMeshDimension(), getNumberOfCells(), getSpaceDimension(), MEDCoupling::DataArrayDouble::New(), and MEDCoupling::MCAuto< T >::retn().
Referenced by computeIsoBarycenterOfNodesPerCell().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References computeCellCenterOfMass().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Implements MEDCoupling::MEDCouplingStructuredMesh.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::DataArrayTemplate< T >::begin(), MEDCoupling::DataArrayTemplate< T >::end(), MEDCoupling::DataArrayDouble::New(), MEDCoupling::MEDCouplingMesh::setDescription(), MEDCoupling::MEDCouplingMesh::setName(), MEDCoupling::MEDCouplingMesh::setTime(), and MEDCoupling::MEDCouplingMesh::setTimeUnit().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::MEDCouplingMesh::getName(), MEDCoupling::DataArray::getNumberOfComponents(), MEDCoupling::DataArrayTemplate< T >::getNumberOfTuples(), getSpaceDimension(), MEDCoupling::DataArrayTemplate< T >::isAllocated(), and MEDCoupling::DataArrayDouble::reprQuickOverviewData().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.