Public Member Functions | |
std::string | advancedRepr () const |
MEDCouplingCurveLinearMesh * | buildCurveLinear () 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 |
MEDCouplingCMesh * | clone (bool recDeepCpy) const |
DataArrayDouble * | computeCellCenterOfMass () const |
DataArrayDouble * | computeIsoBarycenterOfNodesPerCell () const |
void | copyTinyStringsFrom (const MEDCouplingMesh *other) |
MEDCouplingCMesh * | 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 |
const DataArrayDouble * | getCoordsAt (int i) const |
DataArrayDouble * | getCoordsAt (int i) |
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 |
void | getNodeGridStructure (int *res) const |
std::vector< int > | getNodeGridStructure () 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 *coordsX, const DataArrayDouble *coordsY=0, const DataArrayDouble *coordsZ=0) |
void | setCoordsAt (int i, const DataArrayDouble *arr) |
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 |
Public Member Functions inherited from MEDCoupling::MEDCouplingStructuredMesh | |
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 |
Public Member Functions inherited from MEDCoupling::MEDCouplingMesh | |
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 |
Public Member Functions inherited from MEDCoupling::TimeLabel | |
void | declareAsNew () const |
std::size_t | getTimeOfThis () const |
TimeLabel & | operator= (const TimeLabel &other) |
Static Public Member Functions | |
static MEDCouplingCMesh * | New () |
static MEDCouplingCMesh * | New (const std::string &meshName) |
Static Public Member Functions inherited from MEDCoupling::MEDCouplingStructuredMesh | |
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 Public Member Functions inherited from MEDCoupling::MEDCouplingMesh | |
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 | |
Protected Member Functions inherited from MEDCoupling::MEDCouplingStructuredMesh | |
MEDCouplingStructuredMesh () | |
MEDCouplingStructuredMesh (const MEDCouplingStructuredMesh &other, bool deepCopy) | |
~MEDCouplingStructuredMesh () | |
Static Protected Member Functions inherited from MEDCoupling::MEDCouplingStructuredMesh | |
static int | ZipNodeStructure (const int *nodeStBg, const int *nodeStEnd, int zipNodeSt[3]) |
|
static |
|
static |
References MEDCoupling::MEDCouplingMesh::setName().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References clone().
Referenced by buildStructuredSubPart().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
Referenced by deepCopy().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
MEDCouplingCurveLinearMesh * MEDCouplingCMesh::buildCurveLinear | ( | ) | const |
References checkConsistencyLight(), getCoordinatesAndOwner(), getNodeGridStructure(), getSpaceDimension(), MEDCoupling::MEDCouplingCurveLinearMesh::New(), MEDCoupling::MCAuto< T >::retn(), MEDCoupling::MEDCouplingCurveLinearMesh::setCoords(), and MEDCoupling::MEDCouplingCurveLinearMesh::setNodeGridStructure().
Referenced by MEDCoupling::MEDFileCMesh::cartesianize().
|
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 scale().
|
virtual |
|
virtual |
Implements MEDCoupling::BigMemoryObject.
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::CARTESIAN.
|
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::DataArray::copyStringInfoFrom(), and 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::MEDCouplingCMesh instance too). The user intend that the nodes are the same, so by construction of MEDCoupling::MEDCouplingCMesh, this and other are the same !
Implements MEDCoupling::MEDCouplingMesh.
References isEqualWithoutConsideringStr().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::DataArrayTemplate< T >::getNbOfElems(), MEDCoupling::DataArray::getNumberOfComponents(), and getSpaceDimension().
Referenced by buildCurveLinear(), buildStructuredSubPart(), and checkConsistency().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References checkConsistencyLight(), and MEDCoupling::DataArrayDouble::checkMonotonic().
|
virtual |
Return the space dimension of this. It only considers the arrays along X, Y and Z to deduce that. This method throws exceptions if the not null arrays defining this are not contiguously at the end. For example X!=0,Y==0,Z!=0 will throw.
Implements MEDCoupling::MEDCouplingMesh.
References getNodeGridStructure().
Referenced by buildCurveLinear(), buildStructuredSubPart(), checkConsistencyLight(), computeCellCenterOfMass(), getBoundingBox(), getCellContainingPoint(), getCoordinatesAndOwner(), getCoordinatesOfNode(), getMeasureField(), and simpleRepr().
|
virtual |
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::MEDCouplingMesh::getDescription(), MEDCoupling::MEDCouplingMesh::getName(), getSpaceDimension(), MEDCoupling::MEDCouplingMesh::getTime(), MEDCoupling::MEDCouplingMesh::getTimeUnit(), and MEDCoupling::DataArrayDouble::reprZipWithoutNameStream().
Referenced by advancedRepr().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References simpleRepr().
const DataArrayDouble * MEDCouplingCMesh::getCoordsAt | ( | int | i | ) | const |
Returns a DataArrayDouble holding positions of nodes along a given axis. For more info on Cartesian meshes, see Cartesian mesh.
[in] | i | - an index of axis, a value from [0,1,2]. |
If | i is not one of [0,1,2]. |
Here is a C++ example.
Here is a Python example.
Referenced by MEDCoupling::BlockTopology::BlockTopology(), buildStructuredSubPart(), computeCellCenterOfMass(), getBoundingBox(), getCellContainingPoint(), getCoordinatesAndOwner(), getCoordinatesOfNode(), and scale().
DataArrayDouble * MEDCouplingCMesh::getCoordsAt | ( | int | i | ) |
Returns a DataArrayDouble holding positions of nodes along a given axis. For more info on Cartesian meshes, see Cartesian mesh.
[in] | i | - an index of axis, a value from [0,1,2]. |
If | i is not one of [0,1,2]. |
void MEDCouplingCMesh::setCoordsAt | ( | int | i, |
const DataArrayDouble * | arr | ||
) |
Sets node coordinates along a given axis. For more info on Cartesian meshes, see Cartesian mesh.
[in] | i | - an index of axis, a value in range [0,1,2]. |
[in] | arr | - DataArrayDouble holding positions of nodes along the i-th axis. It must be an array of one component. |
If | arr->getNumberOfComponents() != 1. |
If | i is not one of [0,1,2]. |
Here is a C++ example.
Here is a Python example.
References MEDCoupling::DataArray::checkNbOfComps(), MEDCoupling::TimeLabel::declareAsNew(), and MEDCoupling::RefCountObjectOnly::incrRef().
Referenced by MEDCoupling::MEDCouplingUMesh::Build1DMeshFromCoords(), buildStructuredSubPart(), MEDCoupling::MEDCouplingIMesh::convertToCartesian(), and MEDCoupling::MEDCoupling1SGTUMesh::structurizeMe().
void MEDCouplingCMesh::setCoords | ( | const DataArrayDouble * | coordsX, |
const DataArrayDouble * | coordsY = 0 , |
||
const DataArrayDouble * | coordsZ = 0 |
||
) |
Sets node coordinates along some of the tree axes. This method updates all the three node coordinates arrays at once. For more info on Cartesian meshes, see Cartesian mesh.
[in] | coordsX | - DataArrayDouble holding positions of nodes along the X axis. It must be an array of one component or NULL . |
[in] | coordsY | - DataArrayDouble holding positions of nodes along the Y axis. It must be an array of one component or NULL . |
[in] | coordsZ | - DataArrayDouble holding positions of nodes along the Z axis. It must be an array of one component or NULL . |
If | coords*->getNumberOfComponents() != 1. |
Here is a C++ example.
Here is a Python example.
References MEDCoupling::DataArray::checkNbOfComps(), MEDCoupling::TimeLabel::declareAsNew(), MEDCoupling::RefCountObjectOnly::decrRef(), and MEDCoupling::RefCountObjectOnly::incrRef().
|
virtual |
|
virtual |
Returns a new MEDCouplingFieldDouble containing volumes of cells constituting this mesh.
For 1D cells, the returned field contains lengths.
For 2D cells, the returned field contains areas.
For 3D cells, the returned field contains volumes.
[in] | isAbs | - a not used parameter. |
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::DataArrayTemplate< T >::alloc(), MEDCoupling::RefCountObjectOnly::decrRef(), MEDCoupling::MEDCouplingMesh::getName(), MEDCoupling::MEDCouplingStructuredMesh::getNumberOfCells(), MEDCoupling::DataArrayTemplate< T >::getPointer(), MEDCoupling::MEDCouplingStructuredMesh::GetPosFromId(), getSpaceDimension(), MEDCoupling::MEDCouplingStructuredMesh::getSplitCellValues(), MEDCoupling::MEDCouplingFieldDouble::New(), MEDCoupling::DataArrayDouble::New(), MEDCoupling::ON_CELLS, MEDCoupling::ONE_TIME, MEDCoupling::MEDCouplingFieldT< T >::setArray(), 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 >::getConstPointer(), getCoordsAt(), MEDCoupling::DataArrayTemplate< T >::getNbOfElems(), and getSpaceDimension().
Referenced by getCellsContainingPoint().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References getCellContainingPoint().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Translates all nodes of this mesh by a given vector. Actually, it adds each component of the vector to all node coordinates of a corresponding axis.
[in] | vector | - the translation vector whose size must be not less than this->getSpaceDimension(). |
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::DataArrayTemplate< T >::getConstPointer(), MEDCoupling::DataArrayTemplate< T >::getNbOfElems(), and MEDCoupling::DataArrayTemplate< T >::getPointer().
|
virtual |
Applies scaling transformation to all nodes of this mesh.
[in] | point | - coordinates of a scaling center. This array is to be of size this->getSpaceDimension() at least. |
[in] | factor | - a scale factor. |
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::TimeLabel::declareAsNew(), getCoordsAt(), MEDCoupling::DataArrayTemplate< T >::getNbOfElems(), MEDCoupling::DataArrayTemplate< T >::getPointer(), and updateTime().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Returns a new DataArrayDouble holding coordinates of all nodes of this mesh.
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::DataArrayTemplate< T >::alloc(), MEDCoupling::DataArrayTemplate< T >::getConstPointer(), getCoordsAt(), MEDCoupling::MEDCouplingStructuredMesh::getNumberOfNodes(), MEDCoupling::DataArrayTemplate< T >::getPointer(), MEDCoupling::MEDCouplingStructuredMesh::GetPosFromId(), getSpaceDimension(), MEDCoupling::MEDCouplingStructuredMesh::getSplitNodeValues(), MEDCoupling::DataArrayDouble::New(), MEDCoupling::MCAuto< T >::retn(), and MEDCoupling::DataArray::setInfoOnComponent().
Referenced by buildCurveLinear().
|
virtual |
Returns a new DataArrayDouble holding barycenters of all cells. The barycenter is computed by averaging coordinates of cell nodes.
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::DataArrayTemplate< T >::alloc(), MEDCoupling::DataArrayTemplate< T >::getConstPointer(), getCoordsAt(), MEDCoupling::DataArrayTemplate< T >::getNbOfElems(), MEDCoupling::MEDCouplingStructuredMesh::getNumberOfCells(), MEDCoupling::DataArrayTemplate< T >::getPointer(), MEDCoupling::MEDCouplingStructuredMesh::GetPosFromId(), getSpaceDimension(), MEDCoupling::MEDCouplingStructuredMesh::getSplitCellValues(), MEDCoupling::DataArrayDouble::New(), and MEDCoupling::DataArray::setInfoOnComponent().
Referenced by computeIsoBarycenterOfNodesPerCell().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References computeCellCenterOfMass().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Implements MEDCoupling::MEDCouplingStructuredMesh.
References getNodeGridStructure().
|
virtual |
Implements MEDCoupling::MEDCouplingStructuredMesh.
References MEDCoupling::DataArray::getNumberOfComponents(), MEDCoupling::DataArrayTemplate< T >::getNumberOfTuples(), and MEDCoupling::DataArrayTemplate< T >::isAllocated().
Referenced by buildCurveLinear(), getNodeGridStructure(), and getSpaceDimension().
|
virtual |
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::MEDCouplingMesh::getDescription(), MEDCoupling::DataArray::getInfoOnComponent(), MEDCoupling::MEDCouplingMesh::getName(), MEDCoupling::DataArrayTemplate< T >::getNumberOfTuples(), MEDCoupling::MEDCouplingMesh::getTime(), and MEDCoupling::MEDCouplingMesh::getTimeUnit().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::DataArrayTemplate< T >::alloc().
|
virtual |
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::DataArrayTemplate< T >::getConstPointer(), MEDCoupling::DataArrayDouble::New(), MEDCoupling::MEDCouplingMesh::setDescription(), MEDCoupling::MEDCouplingMesh::setName(), MEDCoupling::MEDCouplingMesh::setTime(), and MEDCoupling::MEDCouplingMesh::setTimeUnit().
|
virtual |
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.