Public Member Functions | |
virtual void | alloc (std::size_t nbOfTuple, std::size_t nbOfCompo=1)=0 |
bool | areInfoEquals (const DataArray &other) const |
bool | areInfoEqualsIfNotWhy (const DataArray &other, std::string &reason) const |
virtual DataArray * | buildNewEmptyInstance () const =0 |
virtual void | checkAllocated () const =0 |
void | checkNbOfComps (int nbOfCompo, const std::string &msg) const |
void | checkNbOfElems (std::size_t nbOfElems, const std::string &msg) const |
void | checkNbOfTuples (int nbOfTuples, const std::string &msg) const |
void | checkNbOfTuplesAndComp (const DataArray &other, const std::string &msg) const |
void | checkNbOfTuplesAndComp (int nbOfTuples, int nbOfCompo, const std::string &msg) const |
virtual void | circularPermutation (int nbOfShift=1)=0 |
virtual void | circularPermutationPerTuple (int nbOfShift=1)=0 |
void | copyPartOfStringInfoFrom (const DataArray &other, const std::vector< int > &compoIds) |
void | copyPartOfStringInfoFrom2 (const std::vector< int > &compoIds, const DataArray &other) |
void | copyStringInfoFrom (const DataArray &other) |
std::string | cppRepr (const std::string &varName) const |
virtual DataArray * | deepCopy () const =0 |
virtual void | desallocate ()=0 |
std::vector< const BigMemoryObject * > | getDirectChildrenWithNull () const |
std::size_t | getHeapMemorySizeWithoutChildren () const |
std::string | getInfoOnComponent (int i) const |
const std::vector< std::string > & | getInfoOnComponents () const |
std::vector< std::string > & | getInfoOnComponents () |
std::string | getName () const |
virtual std::size_t | getNbOfElemAllocated () const =0 |
virtual std::size_t | getNbOfElems () const =0 |
std::size_t | getNumberOfComponents () const |
virtual int | getNumberOfTuples () const =0 |
std::string | getUnitOnComponent (int i) const |
std::vector< std::string > | getUnitsOnComponent () const |
std::string | getVarOnComponent (int i) const |
std::vector< std::string > | getVarsOnComponent () const |
virtual void * | getVoidStarPointer ()=0 |
virtual bool | isAllocated () const =0 |
virtual DataArray * | keepSelectedComponents (const std::vector< int > &compoIds) const =0 |
virtual void | reAlloc (std::size_t newNbOfTuple)=0 |
virtual void | rearrange (int newNbOfCompo)=0 |
virtual void | renumberInPlace (const int *old2New)=0 |
virtual void | renumberInPlaceR (const int *new2Old)=0 |
virtual void | reprCppStream (const std::string &varName, std::ostream &stream) const =0 |
virtual void | reprQuickOverview (std::ostream &stream) const =0 |
virtual void | reprQuickOverviewData (std::ostream &stream, std::size_t maxNbOfByteInRepr) const =0 |
virtual void | reprStream (std::ostream &stream) const =0 |
virtual void | reprWithoutNameStream (std::ostream &stream) const |
virtual void | reprZipStream (std::ostream &stream) const =0 |
virtual void | reprZipWithoutNameStream (std::ostream &stream) const =0 |
virtual void | reversePerTuple ()=0 |
virtual DataArray * | selectByTupleId (const int *new2OldBg, const int *new2OldEnd) const =0 |
virtual DataArray * | selectByTupleIdSafe (const int *new2OldBg, const int *new2OldEnd) const =0 |
virtual DataArray * | selectByTupleIdSafeSlice (int bg, int end2, int step) const =0 |
virtual DataArray * | selectByTupleRanges (const std::vector< std::pair< int, int > > &ranges) const =0 |
virtual void | setContigPartOfSelectedValues (int tupleIdStart, const DataArray *aBase, const DataArrayInt *tuplesSelec)=0 |
virtual void | setContigPartOfSelectedValuesSlice (int tupleIdStart, const DataArray *aBase, int bg, int end2, int step)=0 |
void | setInfoAndChangeNbOfCompo (const std::vector< std::string > &info) |
void | setInfoOnComponent (int i, const std::string &info) |
void | setInfoOnComponents (const std::vector< std::string > &info) |
void | setName (const std::string &name) |
void | setPartOfValuesBase3 (const DataArray *aBase, const int *bgTuples, const int *endTuples, int bgComp, int endComp, int stepComp, bool strictCompoCompare=true) |
Public Member Functions inherited from MEDCoupling::TimeLabel | |
void | declareAsNew () const |
std::size_t | getTimeOfThis () const |
TimeLabel & | operator= (const TimeLabel &other) |
virtual void | updateTime () const =0 |
Static Public Member Functions | |
static DataArray * | Aggregate (const std::vector< const DataArray * > &arrs) |
static std::string | BuildInfoFromVarAndUnit (const std::string &var, const std::string &unit) |
static std::string | GetAxisTypeRepr (MEDCouplingAxisType at) |
static int | GetNumberOfItemGivenBES (int begin, int end, int step, const std::string &msg) |
static int | GetNumberOfItemGivenBESRelative (int begin, int end, int step, const std::string &msg) |
static int | GetPosOfItemGivenBESRelativeNoThrow (int value, int begin, int end, int step) |
static void | GetSlice (int start, int stop, int step, int sliceId, int nbOfSlices, int &startSlice, int &stopSlice) |
static std::string | GetUnitFromInfo (const std::string &info) |
static std::string | GetVarNameFromInfo (const std::string &info) |
Protected Member Functions | |
DataArray () | |
~DataArray () | |
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 () |
Static Protected Member Functions | |
static void | CheckClosingParInRange (int ref, int value, const std::string &msg) |
static void | CheckValueInRange (int ref, int value, const std::string &msg) |
static void | CheckValueInRangeEx (int value, int start, int end, const std::string &msg) |
static int | EffectiveCircPerm (int nbOfShift, int nbOfTuples) |
Protected Attributes | |
std::vector< std::string > | _info_on_compo |
std::string | _name |
|
protected |
|
protected |
|
virtual |
Implements MEDCoupling::BigMemoryObject.
Reimplemented in MEDCoupling::DataArrayTemplate< T >, MEDCoupling::DataArrayTemplate< double >, MEDCoupling::DataArrayTemplate< int >, and MEDCoupling::DataArrayTemplate< char >.
References _info_on_compo, and _name.
Referenced by MEDCoupling::DataArrayTemplate< T >::getHeapMemorySizeWithoutChildren().
|
virtual |
Implements MEDCoupling::BigMemoryObject.
void DataArray::setName | ( | const std::string & | name | ) |
Sets the attribute _name of this array. See DataArrays infos for more information.
[in] | name | - new array name |
References _name.
Referenced by MEDCoupling::MEDCouplingUMesh::areCellsIncludedIn(), MEDCoupling::MEDCouplingUMesh::areCellsIncludedInPolicy7(), MEDCoupling::MEDFileUMesh::buildExtrudedMesh(), MEDCoupling::DataArrayDouble::Dot(), MEDCoupling::MEDCouplingUMesh::findCellIdsOnBoundary(), MEDCoupling::DataArrayDouble::finishUnserialization(), MEDCoupling::DataArrayInt::finishUnserialization(), MEDCoupling::MEDCouplingUMesh::FuseUMeshesOnSameCoords(), MEDCoupling::MEDCouplingPointSet::getCellIdsLyingOnNodes(), MEDCoupling::MEDFileMesh::getFamilyArr(), MEDCoupling::MEDFileMesh::getGroupArr(), MEDCoupling::MEDFileMesh::getNodeFamilyArr(), MEDCoupling::MEDFileMesh::getNodeGroupArr(), MEDCoupling::MEDCouplingUMesh::getPartMeasureField(), MEDCoupling::MEDFileAnyTypeField1TS::setProfileNameOnLeaf(), MEDCoupling::MEDCouplingPointSet::unserialization(), and MEDCoupling::WriteField().
void DataArray::copyStringInfoFrom | ( | const DataArray & | other | ) |
Copies textual data from an other DataArray. The copied data are
For more information on these data see DataArrays infos.
[in] | other | - another instance of DataArray to copy the textual data from. |
If | number of components of this array differs from that of the other. |
References _info_on_compo, and _name.
Referenced by MEDCoupling::DataArrayDouble::accumulatePerChunck(), MEDCoupling::DataArrayInt::accumulatePerChunck(), MEDCoupling::DataArrayDouble::Add(), MEDCoupling::DataArrayInt::Add(), MEDCoupling::DataArrayDouble::Aggregate(), MEDCoupling::DataArrayInt::Aggregate(), MEDCoupling::DataArrayInt::AggregateIndexes(), MEDCoupling::DataArrayInt::buildUniqueNotSorted(), MEDCoupling::DataArrayDouble::cartesianize(), MEDCoupling::DataArrayDouble::computeAbs(), MEDCoupling::DataArrayInt::computeAbs(), MEDCoupling::MEDCouplingCurveLinearMesh::computeCellCenterOfMass(), MEDCoupling::MEDCouplingUMesh::computeCellCenterOfMass(), MEDCoupling::MEDCouplingUMesh::convertCellArrayPerGeoType(), MEDCoupling::DataArrayInt::convertToDblArr(), MEDCoupling::DataArrayDouble::convertToIntArr(), MEDCoupling::MEDCouplingCMesh::copyTinyStringsFrom(), MEDCoupling::MEDCouplingPointSet::copyTinyStringsFrom(), MEDCoupling::MEDCouplingTwoTimeSteps::copyTinyStringsFrom(), MEDCoupling::DataArrayDouble::CrossProduct(), MEDCoupling::DataArrayDouble::Divide(), MEDCoupling::DataArrayInt::Divide(), MEDCoupling::DataArrayDouble::duplicateEachTupleNTimes(), MEDCoupling::DataArrayInt::duplicateEachTupleNTimes(), MEDCoupling::DataArrayDouble::fromCartToCylGiven(), MEDCoupling::MEDCouplingFieldDiscretizationGauss::getLocalizationOfDiscValues(), MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::makeReduction(), MEDCoupling::DataArrayDouble::Max(), MEDCoupling::DataArrayDouble::Min(), MEDCoupling::DataArrayInt::Modulus(), MEDCoupling::DataArrayDouble::Multiply(), MEDCoupling::DataArrayInt::Multiply(), MEDCoupling::DataArrayDouble::negate(), MEDCoupling::DataArrayInt::negate(), MEDCoupling::MEDCoupling1SGTUMesh::renumberCells(), MEDCoupling::MEDCouplingUMesh::renumberCells(), MEDCoupling::MEDCoupling1DGTUMesh::renumberCells(), MEDCoupling::MEDCouplingPointSet::renumberNodesCenter(), MEDCoupling::MEDCouplingUMesh::splitProfilePerType(), MEDCoupling::DataArrayDouble::Substract(), MEDCoupling::DataArrayInt::Substract(), and MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::updateData().
void DataArray::copyPartOfStringInfoFrom | ( | const DataArray & | other, |
const std::vector< int > & | compoIds | ||
) |
References getInfoOnComponent(), getNumberOfComponents(), and setInfoOnComponent().
void DataArray::copyPartOfStringInfoFrom2 | ( | const std::vector< int > & | compoIds, |
const DataArray & | other | ||
) |
bool DataArray::areInfoEqualsIfNotWhy | ( | const DataArray & | other, |
std::string & | reason | ||
) | const |
References _info_on_compo, and _name.
Referenced by areInfoEquals(), MEDCoupling::DataArrayDouble::isEqualIfNotWhy(), and MEDCoupling::DataArrayInt::isEqualIfNotWhy().
bool DataArray::areInfoEquals | ( | const DataArray & | other | ) | const |
Compares textual information of this DataArray with that of an other one. The compared data are
For more information on these data see DataArrays infos.
[in] | other | - another instance of DataArray to compare the textual data of. |
References areInfoEqualsIfNotWhy().
std::string DataArray::cppRepr | ( | const std::string & | varName | ) | const |
References reprCppStream().
std::string MEDCoupling::DataArray::getName | ( | ) | const |
Referenced by MEDCoupling::MEDFileMesh::addGroupUnderground(), MEDCoupling::MEDCouplingUMesh::Build0DMeshFromCoords(), MEDCoupling::MEDCouplingUMesh::Build1DMeshFromCoords(), MEDCoupling::MEDCouplingCartesianAMRMeshGen::buildCellFieldOnRecurseWithoutOverlapWithoutGhost(), MEDCoupling::MEDCouplingAMRAttribute::buildCellFieldOnWithGhost(), MEDCoupling::MEDCouplingAMRAttribute::buildCellFieldOnWithoutGhost(), MEDCoupling::DataArrayDouble::Dot(), MEDCoupling::MEDCouplingPointSet::getTinySerializationInformation(), MEDCoupling::DataArrayDouble::getTinySerializationStrInformation(), MEDCoupling::DataArrayInt::getTinySerializationStrInformation(), MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::makeReduction(), MEDCoupling::DataArrayDouble::reprCppStream(), MEDCoupling::DataArrayInt::reprCppStream(), and MEDCoupling::MEDFileFieldGlobsReal::zipPflsNames().
const std::vector<std::string>& MEDCoupling::DataArray::getInfoOnComponents | ( | ) | const |
Referenced by MEDCoupling::DataArrayDouble::applyFuncOnThis(), MEDCoupling::MEDFileAnyTypeFieldMultiTSWithoutSDA::checkCoherencyOfTinyInfo(), MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::copyTinyInfoFrom(), MEDCoupling::MEDFileAnyTypeFieldMultiTSWithoutSDA::copyTinyInfoFrom(), MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::getInfo(), MEDCoupling::MEDCouplingUMesh::Intersect2DMeshWith1DLine(), MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::simpleRepr(), and MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::updateData().
std::vector<std::string>& MEDCoupling::DataArray::getInfoOnComponents | ( | ) |
void DataArray::setInfoOnComponents | ( | const std::vector< std::string > & | info | ) |
Sets information on all components. To know more on format of this information see DataArrays infos.
[in] | info | - a vector of strings. |
If | size of info differs from the number of components of this. |
References _info_on_compo, and getNumberOfComponents().
Referenced by MEDCoupling::DataArrayDouble::applyFuncOnThis(), MEDCoupling::MEDCouplingIMesh::computeCellCenterOfMass(), MEDCoupling::MEDCouplingIMesh::getCoordinatesAndOwner(), MEDCoupling::MEDCouplingUMesh::Intersect2DMeshWith1DLine(), and MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::setInfo().
void DataArray::setInfoAndChangeNbOfCompo | ( | const std::vector< std::string > & | info | ) |
Sets information on all components. This method can change number of components at certain conditions; if the conditions are not respected, an exception is thrown. The number of components can be changed in this only if this is not allocated. The condition of number of components must not be changed.
To know more on format of the component information see DataArrays infos.
[in] | info | - a vector of component infos. |
If | this->getNumberOfComponents() != info.size() && this->isAllocated() |
References _info_on_compo, getNumberOfComponents(), and isAllocated().
Referenced by MEDCoupling::MEDFileAnyTypeField1TS::BuildContentFrom(), MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::copyTinyInfoFrom(), MEDCoupling::MEDFileField1TSWithoutSDA::MEDFileField1TSWithoutSDA(), MEDCoupling::MEDFileIntField1TSWithoutSDA::MEDFileIntField1TSWithoutSDA(), and MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::updateData().
std::vector< std::string > DataArray::getVarsOnComponent | ( | ) | const |
References _info_on_compo, and getVarOnComponent().
Referenced by MEDCoupling::DataArrayDouble::applyFuncCompo(), and MEDCoupling::MEDFileUMesh::simpleRepr().
std::vector< std::string > DataArray::getUnitsOnComponent | ( | ) | const |
References _info_on_compo, and getUnitOnComponent().
Referenced by MEDCoupling::MEDFileUMesh::simpleRepr().
std::string DataArray::getInfoOnComponent | ( | int | i | ) | const |
Returns information on a component specified by an index. To know more on format of this information see DataArrays infos.
[in] | i | - the index (zero based) of the component of interest. |
If | i is not a valid component index. |
References _info_on_compo.
Referenced by MEDCoupling::MEDCouplingUMesh::checkConsistencyLight(), MEDCoupling::MEDCoupling1SGTUMesh::checkConsistencyOfConnectivity(), MEDCoupling::MEDCoupling1DGTUMesh::checkConsistencyOfConnectivity(), copyPartOfStringInfoFrom(), copyPartOfStringInfoFrom2(), MEDCoupling::DataArrayDouble::Dot(), MEDCoupling::DataArrayDouble::fromCylToCart(), MEDCoupling::MEDCouplingCMesh::getTinySerializationInformation(), MEDCoupling::MEDCouplingPointSet::getTinySerializationInformation(), MEDCoupling::DataArrayDouble::getTinySerializationStrInformation(), MEDCoupling::MEDCouplingTwoTimeSteps::getTinySerializationStrInformation(), MEDCoupling::DataArrayInt::getTinySerializationStrInformation(), MEDCoupling::MEDCouplingUMesh::simpleRepr(), MEDCoupling::MEDCoupling1SGTUMesh::simpleRepr(), and MEDCoupling::MEDCoupling1DGTUMesh::simpleRepr().
std::string DataArray::getVarOnComponent | ( | int | i | ) | const |
Returns the var part of the full information of the i-th component. For example, if getInfoOnComponent(0)
returns "SIGXY [N/m^2]", then getVarOnComponent(0)
returns "SIGXY". If a unit part of information is not detected by presence of two square brackets, then the full information is returned. To read more about the component information format, see DataArrays infos.
[in] | i | - the index (zero based) of the component of interest. |
If | i is not a valid component index. |
References _info_on_compo, and GetVarNameFromInfo().
Referenced by getVarsOnComponent().
std::string DataArray::getUnitOnComponent | ( | int | i | ) | const |
Returns the unit part of the full information of the i-th component. For example, if getInfoOnComponent(0)
returns "SIGXY [ N/m^2]", then getUnitOnComponent(0)
returns " N/m^2". If a unit part of information is not detected by presence of two square brackets, then an empty string is returned. To read more about the component information format, see DataArrays infos.
[in] | i | - the index (zero based) of the component of interest. |
If | i is not a valid component index. |
References _info_on_compo, and GetUnitFromInfo().
Referenced by getUnitsOnComponent().
void DataArray::setInfoOnComponent | ( | int | i, |
const std::string & | info | ||
) |
Sets information on a component specified by an index. To know more on format of this information see DataArrays infos.
[in] | i | - the index (zero based) of the component of interest. |
[in] | info | - the string containing the information. |
If | i is not a valid component index. |
References _info_on_compo.
Referenced by MEDCoupling::MEDCouplingCMesh::computeCellCenterOfMass(), MEDCoupling::MEDCouplingIMesh::convertToCartesian(), copyPartOfStringInfoFrom(), copyPartOfStringInfoFrom2(), MEDCoupling::DataArrayDouble::Dot(), MEDCoupling::DataArrayDouble::finishUnserialization(), MEDCoupling::DataArrayInt::finishUnserialization(), MEDCoupling::DataArrayDouble::fromCylToCart(), MEDCoupling::MEDCouplingCMesh::getCoordinatesAndOwner(), and MEDCoupling::MEDCouplingPointSet::unserialization().
std::size_t MEDCoupling::DataArray::getNumberOfComponents | ( | ) | const |
Referenced by MEDCoupling::DataArrayDouble::accumulate(), MEDCoupling::DataArrayInt::accumulate(), MEDCoupling::DataArrayDouble::accumulatePerChunck(), MEDCoupling::DataArrayInt::accumulatePerChunck(), MEDCoupling::DataArrayDouble::Add(), MEDCoupling::DataArrayInt::Add(), MEDCoupling::DataArrayDouble::addEqual(), MEDCoupling::DataArrayInt::addEqual(), MEDCoupling::DataArrayDouble::aggregate(), MEDCoupling::DataArrayInt::Aggregate(), MEDCoupling::DataArrayInt::aggregate(), MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::allocNotFromFile(), MEDCoupling::DataArrayDouble::applyFunc(), MEDCoupling::DataArrayDouble::applyFuncFast32(), MEDCoupling::DataArrayDouble::applyFuncFast64(), MEDCoupling::DataArrayDouble::applyFuncNamedCompo(), MEDCoupling::DataArrayDouble::applyFuncOnThis(), MEDCoupling::DataArrayDouble::applyInv(), MEDCoupling::DataArrayInt::applyInv(), MEDCoupling::DataArrayDouble::applyLin(), MEDCoupling::DataArrayInt::applyLin(), MEDCoupling::DataArrayInt::applyRModulus(), MEDCoupling::DataArrayInt::applyRPow(), MEDCoupling::MEDCouplingLinearTime::areCompatible(), MEDCoupling::DataArrayDouble::areIncludedInMe(), MEDCoupling::MEDCouplingLinearTime::areStrictlyCompatibleForDiv(), MEDCoupling::MEDCouplingAMRAttribute::buildCellFieldOnWithoutGhost(), MEDCoupling::DataArrayInt::buildComplement(), MEDCoupling::DataArrayDouble::buildEuclidianDistanceDenseMatrix(), MEDCoupling::DataArrayDouble::buildEuclidianDistanceDenseMatrixWith(), MEDCoupling::DataArrayInt::buildExplicitArrByRanges(), MEDCoupling::DataArrayInt::buildExplicitArrOfSliceOnScaledArr(), MEDCoupling::DataArrayInt::buildPermArrPerLevel(), MEDCoupling::DataArrayInt::buildPermutationArr(), MEDCoupling::DataArrayInt::buildSubstraction(), MEDCoupling::DataArrayInt::buildSubstractionOptimized(), MEDCoupling::DataArrayInt::buildUnique(), MEDCoupling::DataArrayInt::buildUniqueNotSorted(), MEDCoupling::DataArrayDouble::cartesianize(), MEDCoupling::DataArrayInt::changeSurjectiveFormat(), MEDCoupling::DataArrayInt::changeValue(), MEDCoupling::DataArrayInt::checkAllIdsInRange(), MEDCoupling::DataArrayInt::checkAndPreparePermutation(), MEDCoupling::MEDCouplingCMesh::checkConsistencyLight(), MEDCoupling::MEDCouplingUMesh::checkConsistencyLight(), MEDCoupling::MEDCouplingTwoTimeSteps::checkConsistencyLight(), MEDCoupling::MEDCoupling1SGTUMesh::checkConsistencyOfConnectivity(), MEDCoupling::MEDCoupling1DGTUMesh::checkConsistencyOfConnectivity(), checkNbOfComps(), checkNbOfTuplesAndComp(), MEDCoupling::MEDCoupling1GTUMesh::checkTypeConsistencyAndContig(), MEDCoupling::MEDCouplingStructuredMesh::checkTypeConsistencyAndContig(), MEDCoupling::MEDCouplingUMesh::checkTypeConsistencyAndContig(), MEDCoupling::DataArrayDouble::computeAbs(), MEDCoupling::DataArrayInt::computeAbs(), MEDCoupling::DataArrayDouble::computeBBoxPerTuple(), MEDCoupling::MEDCouplingFieldDiscretizationKriging::computeEvaluationMatrixOnGivenPts(), MEDCoupling::DataArrayDouble::computeNbOfInteractionsWith(), MEDCoupling::DataArrayInt::computeOffsets(), MEDCoupling::DataArrayInt::computeOffsetsFull(), MEDCoupling::DataArrayDouble::computeTupleIdsNearTuples(), MEDCoupling::MEDCouplingIMesh::CondenseFineToCoarse(), MEDCoupling::MEDCouplingIMesh::CondenseFineToCoarseGhost(), MEDCoupling::MEDCouplingUMesh::convertCellArrayPerGeoType(), MEDCoupling::DataArrayInt::convertToDblArr(), MEDCoupling::DataArrayDouble::convertToIntArr(), copyPartOfStringInfoFrom(), copyPartOfStringInfoFrom2(), MEDCoupling::DataArrayDouble::count(), MEDCoupling::DataArrayInt::count(), MEDCoupling::MEDCouplingCartesianAMRMeshGen::createCellFieldOnPatch(), MEDCoupling::DataArrayDouble::CrossProduct(), MEDCoupling::DataArrayDoubleIterator::DataArrayDoubleIterator(), MEDCoupling::DataArrayIntIterator::DataArrayIntIterator(), MEDCoupling::DataArrayTemplate< T >::deepCopyFrom(), MEDCoupling::DataArrayInt::deltaShiftIndex(), MEDCoupling::DataArrayDouble::determinant(), MEDCoupling::DataArrayDouble::deviator(), MEDCoupling::MEDCouplingUMesh::distanceToPoints(), MEDCoupling::DataArrayDouble::distanceToTuple(), MEDCoupling::DataArrayDouble::Divide(), MEDCoupling::DataArrayInt::Divide(), MEDCoupling::DataArrayDouble::divideEqual(), MEDCoupling::DataArrayInt::divideEqual(), MEDCoupling::DataArrayDouble::Dot(), MEDCoupling::DataArrayDouble::doublyContractedProduct(), MEDCoupling::DataArrayDouble::duplicateEachTupleNTimes(), MEDCoupling::DataArrayInt::duplicateEachTupleNTimes(), MEDCoupling::DataArrayDouble::eigenValues(), MEDCoupling::DataArrayDouble::eigenVectors(), MEDCoupling::MEDCouplingStructuredMesh::ExtractFieldOfDoubleFrom(), MEDCoupling::MEDCouplingUMesh::ExtractFromIndexedArrays(), MEDCoupling::MEDCouplingUMesh::ExtractFromIndexedArraysSlice(), MEDCoupling::DataArrayDouble::findClosestTupleId(), MEDCoupling::DataArrayDouble::findCommonTuples(), MEDCoupling::DataArrayInt::findIdFirstEqual(), MEDCoupling::DataArrayInt::findIdFirstEqualTuple(), MEDCoupling::DataArrayInt::findIdInRangeForEachTuple(), MEDCoupling::DataArrayInt::findIdsEqual(), MEDCoupling::DataArrayInt::findIdsEqualList(), MEDCoupling::DataArrayInt::findIdsEqualTuple(), MEDCoupling::DataArrayInt::findIdSequence(), MEDCoupling::DataArrayDouble::findIdsInRange(), MEDCoupling::DataArrayInt::findIdsInRange(), MEDCoupling::DataArrayInt::findIdsNotEqual(), MEDCoupling::DataArrayInt::findIdsNotEqualList(), MEDCoupling::DataArrayDouble::findIdsNotInRange(), MEDCoupling::DataArrayInt::findIdsNotInRange(), MEDCoupling::DataArrayInt::findIdsRangesInListOfIds(), MEDCoupling::DataArrayInt::findIdsStricltyNegative(), MEDCoupling::DataArrayInt::FindPermutationFromFirstToSecond(), MEDCoupling::DataArrayInt::findRangeIdForEachTuple(), MEDCoupling::DataArrayDouble::finishUnserialization(), MEDCoupling::DataArrayDouble::fromCartToCyl(), MEDCoupling::DataArrayDouble::fromCartToCylGiven(), MEDCoupling::DataArrayDouble::fromCartToPolar(), MEDCoupling::DataArrayDouble::fromCartToSpher(), MEDCoupling::DataArrayDouble::fromCylToCart(), MEDCoupling::DataArrayDouble::fromNoInterlace(), MEDCoupling::DataArrayInt::fromNoInterlace(), MEDCoupling::DataArrayDouble::fromPolarToCart(), MEDCoupling::DataArrayDouble::fromSpherToCart(), MEDCoupling::DataArrayDouble::getAverageValue(), MEDCoupling::MEDCouplingFieldDiscretizationGauss::getMeasureField(), MEDCoupling::DataArrayDouble::getMinMaxPerComponent(), MEDCoupling::DataArrayInt::getMinMaxValues(), MEDCoupling::MEDCoupling1GTUMesh::getNodalConnectivityLength(), MEDCoupling::MEDCouplingCMesh::getNodeGridStructure(), MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::getNumberOfComponents(), MEDCoupling::DataArrayTemplate< char >::getNumberOfTuples(), MEDCoupling::MEDCouplingFieldDiscretizationP0::getNumberOfTuplesExpectedRegardingCode(), MEDCoupling::MEDCouplingFieldDiscretizationOnNodes::getNumberOfTuplesExpectedRegardingCode(), MEDCoupling::MEDCouplingFieldDiscretizationGauss::getNumberOfTuplesExpectedRegardingCode(), MEDCoupling::MEDCouplingFieldDiscretizationGaussNE::getNumberOfTuplesExpectedRegardingCode(), MEDCoupling::MEDCouplingPointSet::getSpaceDimension(), MEDCoupling::MEDFileUMesh::getSpaceDimension(), MEDCoupling::DataArrayDouble::getTinySerializationIntInformation(), MEDCoupling::MEDCouplingTwoTimeSteps::getTinySerializationIntInformation(), MEDCoupling::DataArrayInt::getTinySerializationIntInformation(), MEDCoupling::DataArrayDouble::getTinySerializationStrInformation(), MEDCoupling::DataArrayInt::getTinySerializationStrInformation(), MEDCoupling::MEDCouplingFieldDiscretizationP1::getValueInCell(), MEDCoupling::MEDCouplingFieldDiscretizationP0::getValueOnMulti(), MEDCoupling::MEDCouplingFieldDiscretizationP1::getValueOnMulti(), MEDCoupling::MEDCouplingFieldDiscretizationKriging::getValueOnMulti(), MEDCoupling::DataArrayInt::hasUniqueValues(), MEDCoupling::DataArrayInt::indicesOfSubPart(), MEDCoupling::DataArrayDouble::insertAtTheEnd(), MEDCoupling::DataArrayInt::insertAtTheEnd(), MEDCoupling::DataArrayChar::insertAtTheEnd(), MEDCoupling::MEDCouplingFieldDiscretization::integral(), MEDCoupling::MEDCouplingFieldDiscretizationGaussNE::integral(), MEDCoupling::DataArrayDouble::inverse(), MEDCoupling::DataArrayDouble::iota(), MEDCoupling::DataArrayInt::iota(), MEDCoupling::DataArrayInt::isFittingWith(), MEDCoupling::DataArrayInt::isIota(), MEDCoupling::DataArrayDouble::isMonotonic(), MEDCoupling::DataArrayInt::isMonotonic(), MEDCoupling::DataArrayInt::isRange(), MEDCoupling::DataArrayInt::isStrictlyMonotonic(), MEDCoupling::DataArrayDouble::isUniform(), MEDCoupling::DataArrayInt::isUniform(), MEDCoupling::MEDCouplingGaussLocalization::localizePtsInRefCooForEachCell(), MEDCoupling::DataArrayDouble::magnitude(), MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::makeReduction(), MEDCoupling::DataArrayDouble::Max(), MEDCoupling::DataArrayDouble::maxPerTuple(), MEDCoupling::DataArrayDouble::maxPerTupleWithCompoId(), MEDCoupling::DataArrayDouble::meldWith(), MEDCoupling::DataArrayInt::meldWith(), MEDCoupling::MEDCoupling1DGTUMesh::Merge1DGTUMeshes(), MEDCoupling::MEDCoupling1SGTUMesh::Merge1SGTUMeshes(), MEDCoupling::MEDCouplingUMesh::MergeUMeshes(), MEDCoupling::DataArrayDouble::Min(), MEDCoupling::DataArrayDouble::minimalDistanceTo(), MEDCoupling::DataArrayInt::Modulus(), MEDCoupling::DataArrayInt::modulusEqual(), MEDCoupling::DataArrayDouble::Multiply(), MEDCoupling::DataArrayInt::Multiply(), MEDCoupling::DataArrayDouble::multiplyEqual(), MEDCoupling::DataArrayInt::multiplyEqual(), MEDCoupling::MEDCouplingStructuredMesh::MultiplyPartOf(), MEDCoupling::DataArrayDouble::negate(), MEDCoupling::DataArrayInt::negate(), MEDCoupling::MEDCouplingFieldDiscretization::normL1(), MEDCoupling::MEDCouplingFieldDiscretization::normL2(), MEDCoupling::DataArrayInt::partitionByDifferentValues(), MEDCoupling::MEDCouplingUMesh::PartitionBySpreadZone(), MEDCoupling::MEDCouplingFieldDiscretizationKriging::performDrift(), MEDCoupling::MEDCouplingFieldDiscretizationKriging::PerformDriftOfVec(), MEDCoupling::MEDCouplingFieldDiscretizationKriging::PerformDriftRect(), MEDCoupling::DataArrayDouble::Pow(), MEDCoupling::DataArrayInt::Pow(), MEDCoupling::DataArrayDouble::powEqual(), MEDCoupling::DataArrayInt::powEqual(), MEDCoupling::DataArrayDouble::recenterForMaxPrecision(), MEDCoupling::MEDCouplingUMesh::renumberCells(), MEDCoupling::MEDCouplingFieldDiscretization::RenumberEntitiesFromN2OArr(), MEDCoupling::MEDCouplingFieldDiscretization::RenumberEntitiesFromO2NArr(), MEDCoupling::DataArrayDouble::reprCppStream(), MEDCoupling::DataArrayInt::reprCppStream(), MEDCoupling::DataArrayDouble::reprNotTooLongWithoutNameStream(), MEDCoupling::DataArrayInt::reprNotTooLongWithoutNameStream(), MEDCoupling::MEDCouplingCurveLinearMesh::reprQuickOverview(), MEDCoupling::MEDCouplingCMesh::reprQuickOverview(), MEDCoupling::MEDCouplingUMesh::reprQuickOverview(), MEDCoupling::MEDCoupling1SGTUMesh::reprQuickOverview(), MEDCoupling::MEDCoupling1DGTUMesh::reprQuickOverview(), reprWithoutNameStream(), MEDCoupling::DataArrayDouble::reprWithoutNameStream(), MEDCoupling::DataArrayInt::reprWithoutNameStream(), MEDCoupling::DataArrayDouble::reprZipWithoutNameStream(), MEDCoupling::DataArrayInt::reprZipWithoutNameStream(), MEDCoupling::DataArrayTemplate< T >::setContigPartOfSelectedValues(), MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::setFieldProfile(), setInfoAndChangeNbOfCompo(), setInfoOnComponents(), MEDCoupling::DataArrayTemplate< T >::setPartOfValuesAdv(), MEDCoupling::DataArrayDouble::setSelectedComponents(), MEDCoupling::DataArrayInt::setSelectedComponents(), MEDCoupling::MEDFileUMesh::simpleRepr(), MEDCoupling::DataArrayInt::sortEachPairToMakeALinkedList(), MEDCoupling::DataArrayDouble::sortPerTuple(), MEDCoupling::DataArrayInt::splitByValueRange(), MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::splitComponents(), MEDCoupling::DataArrayInt::splitInBalancedSlices(), MEDCoupling::MEDCoupling1GTUMesh::splitProfilePerType(), MEDCoupling::MEDCouplingStructuredMesh::splitProfilePerType(), MEDCoupling::MEDCouplingUMesh::splitProfilePerType(), MEDCoupling::MEDCouplingIMesh::SpreadCoarseToFine(), MEDCoupling::MEDCouplingIMesh::SpreadCoarseToFineGhost(), MEDCoupling::MEDCouplingIMesh::SpreadCoarseToFineGhostZone(), MEDCoupling::DataArrayDouble::Substract(), MEDCoupling::DataArrayInt::Substract(), MEDCoupling::DataArrayDouble::substractEqual(), MEDCoupling::DataArrayInt::substractEqual(), MEDCoupling::DataArrayDouble::sumPerTuple(), MEDCoupling::DataArrayInt::sumPerTuple(), MEDCoupling::DataArrayInt::switchOnTupleEqualTo(), MEDCoupling::DataArrayInt::switchOnTupleNotEqualTo(), MEDCoupling::DataArrayDouble::symmetry3DPlane(), MEDCoupling::DataArrayDouble::toNoInterlace(), MEDCoupling::DataArrayInt::toNoInterlace(), MEDCoupling::DataArrayDouble::toVectorOfBool(), MEDCoupling::DataArrayDouble::trace(), MEDCoupling::DataArrayInt::transformWithIndArr(), MEDCoupling::DataArrayInt::transformWithIndArrR(), MEDCoupling::DataArrayDouble::writeVTK(), and MEDCoupling::DataArrayInt::writeVTK().
void DataArray::setPartOfValuesBase3 | ( | const DataArray * | aBase, |
const int * | bgTuples, | ||
const int * | endTuples, | ||
int | bgComp, | ||
int | endComp, | ||
int | stepComp, | ||
bool | strictCompoCompare = true |
||
) |
This method is only a dispatcher towards DataArrayDouble::setPartOfValues3, DataArrayInt::setPartOfValues3, DataArrayChar::setPartOfValues3 depending on the true type of this and aBase.
If | aBase and this do not have the same type. |
References MEDCoupling::DataArrayTemplate< T >::setPartOfValues3().
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in MEDCoupling::DataArrayTemplate< T >, MEDCoupling::DataArrayTemplate< double >, MEDCoupling::DataArrayTemplate< int >, and MEDCoupling::DataArrayTemplate< char >.
Referenced by MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::copyTinyInfoFrom(), MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::setFieldProfile(), setInfoAndChangeNbOfCompo(), MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::simpleRepr(), MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::unloadArrays(), and MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::updateData().
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in MEDCoupling::DataArrayTemplate< T >, MEDCoupling::DataArrayTemplate< double >, MEDCoupling::DataArrayTemplate< int >, and MEDCoupling::DataArrayTemplate< char >.
Referenced by MEDCoupling::MEDCouplingFieldDiscretizationP0::checkCoherencyBetween(), MEDCoupling::MEDCouplingFieldDiscretizationOnNodes::checkCoherencyBetween(), MEDCoupling::MEDCouplingFieldDiscretizationGauss::checkCoherencyBetween(), MEDCoupling::MEDCouplingFieldDiscretizationGaussNE::checkCoherencyBetween(), checkNbOfTuples(), checkNbOfTuplesAndComp(), MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::copyTinyInfoFrom(), MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::setFieldProfile(), MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::simpleRepr(), and MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::unloadArrays().
|
pure virtual |
Implemented in MEDCoupling::DataArrayTemplate< T >, MEDCoupling::DataArrayTemplate< double >, MEDCoupling::DataArrayTemplate< int >, and MEDCoupling::DataArrayTemplate< char >.
Referenced by checkNbOfElems().
|
pure virtual |
|
pure virtual |
Implemented in MEDCoupling::DataArrayTemplate< T >, MEDCoupling::DataArrayTemplate< double >, MEDCoupling::DataArrayTemplate< int >, and MEDCoupling::DataArrayTemplate< char >.
Referenced by MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::allocIfNecessaryTheArrayToReceiveDataFromFile(), MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::allocNotFromFile(), MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::makeReduction(), and MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::updateData().
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in MEDCoupling::DataArrayTemplate< T >, MEDCoupling::DataArrayTemplate< double >, MEDCoupling::DataArrayTemplate< int >, and MEDCoupling::DataArrayTemplate< char >.
Referenced by MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::makeReduction(), and MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::updateData().
|
pure virtual |
Implemented in MEDCoupling::DataArrayChar, MEDCoupling::DataArrayInt, and MEDCoupling::DataArrayDouble.
|
pure virtual |
Implemented in MEDCoupling::DataArrayChar, MEDCoupling::DataArrayInt, and MEDCoupling::DataArrayDouble.
Referenced by MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::splitComponents().
|
pure virtual |
Implemented in MEDCoupling::DataArrayChar, MEDCoupling::DataArrayInt, and MEDCoupling::DataArrayDouble.
|
pure virtual |
Implemented in MEDCoupling::DataArrayChar, MEDCoupling::DataArrayInt, and MEDCoupling::DataArrayDouble.
|
pure virtual |
Implemented in MEDCoupling::DataArrayChar, MEDCoupling::DataArrayInt, and MEDCoupling::DataArrayDouble.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
void DataArray::checkNbOfTuples | ( | int | nbOfTuples, |
const std::string & | msg | ||
) | const |
References getNumberOfTuples().
Referenced by checkNbOfTuplesAndComp(), MEDCoupling::MEDCouplingUMesh::computeCellNeighborhoodFromNodesOne(), MEDCoupling::DataArrayDouble::Divide(), MEDCoupling::DataArrayInt::Divide(), MEDCoupling::DataArrayInt::Modulus(), MEDCoupling::DataArrayDouble::Substract(), and MEDCoupling::DataArrayInt::Substract().
void DataArray::checkNbOfComps | ( | int | nbOfCompo, |
const std::string & | msg | ||
) | const |
References getNumberOfComponents().
Referenced by checkNbOfTuplesAndComp(), MEDCoupling::MEDCouplingUMesh::computeCellNeighborhoodFromNodesOne(), MEDCoupling::DataArrayDouble::Divide(), MEDCoupling::DataArrayInt::Divide(), MEDCoupling::DataArrayInt::Modulus(), MEDCoupling::MEDCouplingCMesh::setCoords(), MEDCoupling::MEDCouplingCMesh::setCoordsAt(), MEDCoupling::DataArrayDouble::Substract(), and MEDCoupling::DataArrayInt::Substract().
void DataArray::checkNbOfTuplesAndComp | ( | const DataArray & | other, |
const std::string & | msg | ||
) | const |
References getNumberOfComponents(), and getNumberOfTuples().
Referenced by MEDCoupling::MEDCouplingFieldDiscretizationGauss::checkForUnserialization(), MEDCoupling::MEDFileUMesh::setFamilyFieldArr(), MEDCoupling::MEDFileStructuredMesh::setFamilyFieldArr(), MEDCoupling::MEDFileUMesh::setNameFieldAtLevel(), MEDCoupling::MEDFileStructuredMesh::setNameFieldAtLevel(), MEDCoupling::MEDFileUMesh::setRenumFieldArr(), and MEDCoupling::MEDFileStructuredMesh::setRenumFieldArr().
void DataArray::checkNbOfTuplesAndComp | ( | int | nbOfTuples, |
int | nbOfCompo, | ||
const std::string & | msg | ||
) | const |
References checkNbOfComps(), and checkNbOfTuples().
void DataArray::checkNbOfElems | ( | std::size_t | nbOfElems, |
const std::string & | msg | ||
) | const |
References getNbOfElems().
|
static |
This method is useful to slice work among a pool of threads or processes. begin, end step is the input whole slice of work to perform, typically it is a whole slice of tuples of DataArray or cells, nodes of a mesh...
The input sliceId should be an id in [0, nbOfSlices) that specifies the slice of work.
[in] | start | - the start of the input slice of the whole work to perform splitted into slices. |
[in] | stop | - the stop of the input slice of the whole work to perform splitted into slices. |
[in] | step | - the step (that can be <0) of the input slice of the whole work to perform splitted into slices. |
[in] | sliceId | - the slice id considered |
[in] | nbOfSlices | - the number of slices (typically the number of cores on which the work is expected to be sliced) |
[out] | startSlice | - the start of the slice considered |
[out] | stopSlice | - the stop of the slice consided |
If | step == 0 |
If | nbOfSlices not > 0 |
If | sliceId not in [0,nbOfSlices) |
References GetNumberOfItemGivenBESRelative().
|
static |
Referenced by MEDCoupling::DataArrayTemplate< T >::setContigPartOfSelectedValuesSlice(), MEDCoupling::DataArrayTemplate< T >::setPartOfValues1(), MEDCoupling::DataArrayTemplate< T >::setPartOfValues3(), MEDCoupling::DataArrayTemplate< T >::setPartOfValues4(), MEDCoupling::DataArrayTemplate< T >::setPartOfValuesSimple1(), MEDCoupling::DataArrayTemplate< T >::setPartOfValuesSimple3(), and MEDCoupling::DataArrayTemplate< T >::setPartOfValuesSimple4().
|
static |
Referenced by MEDCoupling::DataArrayInt::buildExplicitArrOfSliceOnScaledArr(), MEDCoupling::MEDFileAnyTypeFieldMultiTSWithoutSDA::buildFromTimeStepIds2(), MEDCoupling::MEDCoupling1SGTUMesh::buildPartOfMySelfKeepCoordsSlice(), MEDCoupling::MEDCouplingUMesh::buildPartOfMySelfSlice(), MEDCoupling::MEDFileFields::destroyFieldsAtPos2(), MEDCoupling::MEDFileAnyTypeFieldMultiTSWithoutSDA::eraseTimeStepIds2(), MEDCoupling::MEDCouplingUMesh::ExtractFromIndexedArraysSlice(), GetSlice(), MEDCoupling::DataArrayInt::Range(), MEDCoupling::MEDCouplingUMesh::SetPartOfIndexedArraysSameIdxSlice(), MEDCoupling::MEDCouplingUMesh::SetPartOfIndexedArraysSlice(), and MEDCoupling::MEDCouplingUMesh::setPartOfMySelfSlice().
|
static |
Referenced by MEDCoupling::MEDCouplingUMesh::SetPartOfIndexedArraysSlice().
|
static |
Returns the var part of the full component information. For example, if info == "SIGXY [N/m^2]", then this method returns "SIGXY". If a unit part of information is not detected by presence of two square brackets, then the whole info is returned. To read more about the component information format, see DataArrays infos.
[in] | info | - the full component information. |
Referenced by getVarOnComponent().
|
static |
Returns the unit part of the full component information. For example, if info == "SIGXY [ N/m^2]", then this method returns " N/m^2". If a unit part of information is not detected by presence of two square brackets, then an empty string is returned. To read more about the component information format, see DataArrays infos.
[in] | info | - the full component information. |
Referenced by getUnitOnComponent().
|
static |
This method put in info format the result of the merge of var and unit. The standard format for that is "var [unit]". Inversely you can retrieve the var part or the unit part of info string using resp. GetVarNameFromInfo and GetUnitFromInfo.
|
static |
References MEDCoupling::AX_CART, MEDCoupling::AX_CYL, and MEDCoupling::AX_SPHER.
Referenced by MEDCoupling::MEDFileMesh::checkCartesian().
Returns a new DataArray by concatenating all given arrays, so that (1) the number of tuples in the result array is a sum of the number of tuples of given arrays and (2) the number of component in the result array is same as that of each of given arrays. Info on components is copied from the first of the given arrays. Number of components in the given arrays must be the same.
[in] | arrs | - a sequence of arrays to include in the result array. All arrays must have the same type. |
If | all arrays within arrs are NULL. |
If | all not null arrays in arrs have not the same type. |
If | getNumberOfComponents() of arrays within arrs. |
References MEDCoupling::DataArrayDouble::Aggregate(), MEDCoupling::DataArrayInt::Aggregate(), and MEDCoupling::DataArrayChar::Aggregate().
|
pure virtual |
|
pure virtual |
|
virtual |
Reimplemented in MEDCoupling::DataArrayAsciiChar, MEDCoupling::DataArrayByte, MEDCoupling::DataArrayInt, and MEDCoupling::DataArrayDouble.
References _info_on_compo, and getNumberOfComponents().
Referenced by MEDCoupling::DataArrayDouble::reprNotTooLongWithoutNameStream(), MEDCoupling::DataArrayInt::reprNotTooLongWithoutNameStream(), MEDCoupling::DataArrayDouble::reprWithoutNameStream(), MEDCoupling::DataArrayInt::reprWithoutNameStream(), MEDCoupling::DataArrayDouble::reprZipWithoutNameStream(), and MEDCoupling::DataArrayInt::reprZipWithoutNameStream().
|
pure virtual |
|
pure virtual |
Implemented in MEDCoupling::DataArrayAsciiChar, MEDCoupling::DataArrayByte, MEDCoupling::DataArrayInt, and MEDCoupling::DataArrayDouble.
Referenced by cppRepr().
|
pure virtual |
|
pure virtual |
|
staticprotected |
Simply this method checks that value is in [0,ref).
Referenced by MEDCoupling::DataArrayTemplate< T >::setPartOfValues2(), MEDCoupling::DataArrayTemplate< T >::setPartOfValues3(), MEDCoupling::DataArrayTemplate< T >::setPartOfValues4(), MEDCoupling::DataArrayTemplate< T >::setPartOfValuesSimple2(), MEDCoupling::DataArrayTemplate< T >::setPartOfValuesSimple3(), and MEDCoupling::DataArrayTemplate< T >::setPartOfValuesSimple4().
|
staticprotected |
This method checks that [start, end) is compliant with ref length value. typicaly start in [0,value) and end in [0,value). If value==start and start==end, it is supported.
Referenced by MEDCoupling::DataArrayTemplate< T >::setPartOfValues1(), MEDCoupling::DataArrayTemplate< T >::setPartOfValues3(), MEDCoupling::DataArrayTemplate< T >::setPartOfValues4(), MEDCoupling::DataArrayTemplate< T >::setPartOfValuesSimple1(), MEDCoupling::DataArrayTemplate< T >::setPartOfValuesSimple3(), and MEDCoupling::DataArrayTemplate< T >::setPartOfValuesSimple4().
|
staticprotected |
|
staticprotected |
|
protected |
Referenced by areInfoEqualsIfNotWhy(), copyStringInfoFrom(), getHeapMemorySizeWithoutChildren(), MEDCoupling::DataArrayDouble::reprNotTooLongStream(), MEDCoupling::DataArrayInt::reprNotTooLongStream(), MEDCoupling::DataArrayDouble::reprStream(), MEDCoupling::DataArrayInt::reprStream(), MEDCoupling::DataArrayDouble::reprZipStream(), MEDCoupling::DataArrayInt::reprZipStream(), and setName().
|
protected |
Referenced by areInfoEqualsIfNotWhy(), copyStringInfoFrom(), getHeapMemorySizeWithoutChildren(), MEDCoupling::DataArrayTemplate< char >::getIJ(), getInfoOnComponent(), MEDCoupling::DataArrayTemplate< char >::getNumberOfTuples(), getUnitOnComponent(), getUnitsOnComponent(), getVarOnComponent(), getVarsOnComponent(), MEDCoupling::DataArrayDouble::insertAtTheEnd(), MEDCoupling::DataArrayInt::insertAtTheEnd(), MEDCoupling::DataArrayChar::insertAtTheEnd(), MEDCoupling::DataArrayDouble::reprQuickOverview(), MEDCoupling::DataArrayInt::reprQuickOverview(), MEDCoupling::DataArrayDouble::reprQuickOverviewData(), MEDCoupling::DataArrayInt::reprQuickOverviewData(), reprWithoutNameStream(), MEDCoupling::DataArrayTemplate< char >::setIJ(), MEDCoupling::DataArrayTemplate< char >::setIJSilent(), setInfoAndChangeNbOfCompo(), setInfoOnComponent(), setInfoOnComponents(), and MEDCoupling::DataArrayDouble::writeVTK().