Public Member Functions | |
void | checkConsistencyLight () const |
void | checkForUnserialization (const std::vector< int > &tinyInfoI, const std::vector< DataArrayDouble * > &arrays) |
void | checkNoTimePresence () const |
void | checkTimePresence (double time) const |
void | copyTinyAttrFrom (const MEDCouplingTimeDiscretizationTemplate< double > &other) |
void | copyTinyStringsFrom (const MEDCouplingTimeDiscretizationTemplate< double > &other) |
void | finishUnserialization (const std::vector< int > &tinyInfoI, const std::vector< double > &tinyInfoD, const std::vector< std::string > &tinyInfoS) |
void | finishUnserialization2 (const std::vector< int > &tinyInfoI, const std::vector< double > &tinyInfoD) |
void | getArrays (std::vector< DataArrayDouble * > &arrays) const |
std::vector< const DataArrayDouble * > | getArraysForTime (double time) const |
std::vector< const BigMemoryObject * > | getDirectChildrenWithNull () const |
const DataArrayDouble * | getEndArray () const |
DataArrayDouble * | getEndArray () |
double | getEndTime (int &iteration, int &order) const |
std::size_t | getHeapMemorySizeWithoutChildren () const |
double | getStartTime (int &iteration, int &order) const |
void | getTinySerializationDbleInformation (std::vector< double > &tinyInfo) const |
void | getTinySerializationDbleInformation2 (std::vector< double > &tinyInfo) const |
void | getTinySerializationIntInformation (std::vector< int > &tinyInfo) const |
void | getTinySerializationIntInformation2 (std::vector< int > &tinyInfo) const |
void | getTinySerializationStrInformation (std::vector< std::string > &tinyInfo) const |
bool | isEqualIfNotWhy (const MEDCouplingTimeDiscretizationTemplate< double > *other, double prec, std::string &reason) const |
bool | isEqualWithoutConsideringStr (const MEDCouplingTimeDiscretizationTemplate< double > *other, double prec) const |
void | resizeForUnserialization (const std::vector< int > &tinyInfoI, std::vector< DataArrayDouble * > &arrays) |
void | setArrays (const std::vector< DataArrayDouble * > &arrays, TimeLabel *owner) |
void | setEndArray (DataArrayDouble *array, TimeLabel *owner) |
void | setEndIteration (int it) |
void | setEndOrder (int order) |
void | setEndTime (double time, int iteration, int order) |
void | setEndTimeValue (double time) |
void | setStartIteration (int it) |
void | setStartOrder (int order) |
void | setStartTime (double time, int iteration, int order) |
void | setStartTimeValue (double time) |
void | synchronizeTimeWith (const MEDCouplingMesh *mesh) |
void | updateTime () const |
Public Member Functions inherited from MEDCoupling::MEDCouplingTimeDiscretization | |
virtual MEDCouplingTimeDiscretization * | add (const MEDCouplingTimeDiscretization *other) const =0 |
virtual void | addEqual (const MEDCouplingTimeDiscretization *other)=0 |
virtual MEDCouplingTimeDiscretization * | aggregate (const MEDCouplingTimeDiscretization *other) const =0 |
virtual MEDCouplingTimeDiscretization * | aggregate (const std::vector< const MEDCouplingTimeDiscretization * > &other) const =0 |
virtual void | applyFunc (int nbOfComp, FunctionToEvaluate func) |
virtual void | applyFunc (int nbOfComp, const std::string &func) |
virtual void | applyFunc (const std::string &func) |
virtual void | applyFuncCompo (int nbOfComp, const std::string &func) |
virtual void | applyFuncFast32 (const std::string &func) |
virtual void | applyFuncFast64 (const std::string &func) |
virtual void | applyFuncNamedCompo (int nbOfComp, const std::vector< std::string > &varsOrder, const std::string &func) |
virtual void | applyLin (double a, double b, int compoId) |
virtual void | applyLin (double a, double b) |
virtual bool | areCompatibleForMeld (const MEDCouplingTimeDiscretization *other) const |
virtual MEDCouplingTimeDiscretization * | buildNewTimeReprFromThis (TypeOfTimeDiscretization type, bool deepCopy) const |
virtual void | changeNbOfComponents (int newNbOfComp, double dftValue) |
virtual MEDCouplingTimeDiscretization * | computeVectorFieldCyl (const DataArrayDouble *coords, const double center[3], const double vect[3]) const |
virtual MEDCouplingTimeDiscretization * | crossProduct (const MEDCouplingTimeDiscretization *other) const =0 |
virtual MEDCouplingTimeDiscretization * | determinant () const |
virtual MEDCouplingTimeDiscretization * | deviator () const |
virtual MEDCouplingTimeDiscretization * | divide (const MEDCouplingTimeDiscretization *other) const =0 |
virtual void | divideEqual (const MEDCouplingTimeDiscretization *other)=0 |
virtual MEDCouplingTimeDiscretization * | dot (const MEDCouplingTimeDiscretization *other) const =0 |
virtual MEDCouplingTimeDiscretization * | doublyContractedProduct () const |
virtual MEDCouplingTimeDiscretization * | eigenValues () const |
virtual MEDCouplingTimeDiscretization * | eigenVectors () const |
virtual void | fillFromAnalytic (const DataArrayDouble *loc, int nbOfComp, FunctionToEvaluate func) |
virtual void | fillFromAnalytic (const DataArrayDouble *loc, int nbOfComp, const std::string &func) |
virtual void | fillFromAnalyticCompo (const DataArrayDouble *loc, int nbOfComp, const std::string &func) |
virtual void | fillFromAnalyticNamedCompo (const DataArrayDouble *loc, int nbOfComp, const std::vector< std::string > &varsOrder, const std::string &func) |
virtual void | getValueForTime (double time, const std::vector< double > &vals, double *res) const =0 |
virtual void | getValueOnDiscTime (int eltId, int iteration, int order, double *value) const =0 |
virtual void | getValueOnTime (int eltId, double time, double *value) const =0 |
virtual MEDCouplingTimeDiscretization * | inverse () const |
virtual bool | isBefore (const MEDCouplingTimeDiscretization *other) const |
virtual bool | isEqual (const MEDCouplingTimeDiscretization *other, double prec) const |
virtual bool | isStrictlyBefore (const MEDCouplingTimeDiscretization *other) const |
virtual MEDCouplingTimeDiscretization * | keepSelectedComponents (const std::vector< int > &compoIds) const |
virtual MEDCouplingTimeDiscretization * | magnitude () const |
virtual MEDCouplingTimeDiscretization * | max (const MEDCouplingTimeDiscretization *other) const =0 |
virtual MEDCouplingTimeDiscretization * | maxPerTuple () const |
virtual MEDCouplingTimeDiscretization * | meld (const MEDCouplingTimeDiscretization *other) const =0 |
virtual MEDCouplingTimeDiscretization * | min (const MEDCouplingTimeDiscretization *other) const =0 |
virtual MEDCouplingTimeDiscretization * | multiply (const MEDCouplingTimeDiscretization *other) const =0 |
virtual void | multiplyEqual (const MEDCouplingTimeDiscretization *other)=0 |
virtual MEDCouplingTimeDiscretization * | negate () const |
virtual MEDCouplingTimeDiscretization * | pow (const MEDCouplingTimeDiscretization *other) const =0 |
virtual void | powEqual (const MEDCouplingTimeDiscretization *other)=0 |
virtual void | setOrCreateUniformValueOnAllComponents (int nbOfTuple, double value) |
virtual void | setSelectedComponents (const MEDCouplingTimeDiscretization *other, const std::vector< int > &compoIds) |
virtual void | setUniformValue (int nbOfTuple, int nbOfCompo, double value) |
virtual void | sortPerTuple (bool asc) |
virtual MEDCouplingTimeDiscretization * | substract (const MEDCouplingTimeDiscretization *other) const =0 |
virtual void | substractEqual (const MEDCouplingTimeDiscretization *other)=0 |
virtual MEDCouplingTimeDiscretization * | trace () const |
Public Member Functions inherited from MEDCoupling::MEDCouplingTimeDiscretizationTemplate< double > | |
virtual bool | areCompatible (const MEDCouplingTimeDiscretizationTemplate< double > *other) const |
virtual bool | areStrictlyCompatible (const MEDCouplingTimeDiscretizationTemplate< double > *other, std::string &reason) const |
virtual bool | areStrictlyCompatibleForDiv (const MEDCouplingTimeDiscretizationTemplate< double > *other) const |
virtual bool | areStrictlyCompatibleForMul (const MEDCouplingTimeDiscretizationTemplate< double > *other) const |
Traits< double >::ArrayType * | getArray () |
const Traits< double >::ArrayType * | getArray () const |
virtual void | getArrays (std::vector< typename Traits< double >::ArrayType * > &arrays) const |
virtual TypeOfTimeDiscretization | getEnum () const =0 |
virtual std::string | getStringRepr () const =0 |
double | getTime (int &iteration, int &order) const |
double | getTimeTolerance () const |
std::string | getTimeUnit () const |
virtual MEDCouplingTimeDiscretizationTemplate < double > * | performCopyOrIncrRef (bool deepCopy) const =0 |
virtual void | setArray (typename Traits< double >::ArrayType *array, TimeLabel *owner) |
virtual void | setArrays (const std::vector< typename Traits< double >::ArrayType * > &arrays, TimeLabel *owner) |
virtual void | setEndArray (typename Traits< double >::ArrayType *array, TimeLabel *owner) |
void | setIteration (int it) |
void | setOrder (int order) |
void | setTime (double time, int iteration, int order) |
void | setTimeTolerance (double val) |
void | setTimeUnit (const std::string &unit) |
void | setTimeValue (double val) |
void | updateTime () const |
virtual | ~MEDCouplingTimeDiscretizationTemplate () |
Public Member Functions inherited from MEDCoupling::TimeLabel | |
void | declareAsNew () const |
std::size_t | getTimeOfThis () const |
TimeLabel & | operator= (const TimeLabel &other) |
Public Member Functions inherited from MEDCoupling::BigMemoryObject | |
std::vector< const BigMemoryObject * > | getAllTheProgeny () const |
std::vector< const BigMemoryObject * > | getDirectChildren () const |
std::size_t | getHeapMemorySize () const |
std::string | getHeapMemorySizeStr () const |
bool | isObjectInTheProgeny (const BigMemoryObject *obj) const |
virtual | ~BigMemoryObject () |
Protected Member Functions | |
MEDCouplingTwoTimeSteps (const MEDCouplingTwoTimeSteps &other, bool deepCopy) | |
MEDCouplingTwoTimeSteps () | |
~MEDCouplingTwoTimeSteps () | |
Protected Member Functions inherited from MEDCoupling::MEDCouplingTimeDiscretization | |
MEDCouplingTimeDiscretization () | |
MEDCouplingTimeDiscretization (const MEDCouplingTimeDiscretization &other, bool deepCopy) | |
Protected Member Functions inherited from MEDCoupling::MEDCouplingTimeDiscretizationTemplate< double > | |
MEDCouplingTimeDiscretizationTemplate () | |
MEDCouplingTimeDiscretizationTemplate (const MEDCouplingTimeDiscretizationTemplate< double > &other, bool deepCopy) | |
Protected Member Functions inherited from MEDCoupling::TimeLabel | |
void | forceTimeOfThis (const TimeLabel &other) const |
TimeLabel () | |
void | updateTimeWith (const TimeLabel &other) const |
virtual | ~TimeLabel () |
Protected Attributes | |
MEDCouplingTimeKeeper | _end |
DataArrayDouble * | _end_array |
MEDCouplingTimeKeeper | _start |
Static Protected Attributes | |
static const char | EXCEPTION_MSG [] ="No data on this time." |
Additional Inherited Members | |
Static Public Member Functions inherited from MEDCoupling::MEDCouplingTimeDiscretization | |
static MEDCouplingTimeDiscretization * | New (TypeOfTimeDiscretization type) |
|
protected |
References _end_array, and MEDCoupling::DataArrayDouble::performCopyOrIncrRef().
|
protected |
|
protected |
References _end_array, and MEDCoupling::RefCountObjectOnly::decrRef().
|
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 _end_array, MEDCoupling::MEDCouplingTimeDiscretizationTemplate< double >::updateTime(), and MEDCoupling::TimeLabel::updateTimeWith().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Reimplemented from MEDCoupling::MEDCouplingTimeDiscretizationTemplate< double >.
References _end_array.
Referenced by MEDCoupling::MEDCouplingLinearTime::add(), MEDCoupling::MEDCouplingLinearTime::addEqual(), MEDCoupling::MEDCouplingLinearTime::aggregate(), MEDCoupling::MEDCouplingLinearTime::crossProduct(), MEDCoupling::MEDCouplingLinearTime::divide(), MEDCoupling::MEDCouplingLinearTime::divideEqual(), MEDCoupling::MEDCouplingLinearTime::dot(), MEDCoupling::MEDCouplingLinearTime::max(), MEDCoupling::MEDCouplingLinearTime::meld(), MEDCoupling::MEDCouplingLinearTime::min(), MEDCoupling::MEDCouplingLinearTime::multiply(), MEDCoupling::MEDCouplingLinearTime::multiplyEqual(), MEDCoupling::MEDCouplingLinearTime::pow(), MEDCoupling::MEDCouplingLinearTime::powEqual(), MEDCoupling::MEDCouplingLinearTime::substract(), and MEDCoupling::MEDCouplingLinearTime::substractEqual().
|
virtual |
Reimplemented from MEDCoupling::MEDCouplingTimeDiscretizationTemplate< double >.
References _end_array.
|
virtual |
Reimplemented from MEDCoupling::MEDCouplingTimeDiscretizationTemplate< double >.
Reimplemented in MEDCoupling::MEDCouplingLinearTime.
References MEDCoupling::MEDCouplingTimeDiscretizationTemplate< double >::_array, _end_array, MEDCoupling::MEDCouplingTimeDiscretizationTemplate< double >::checkConsistencyLight(), MEDCoupling::DataArray::getNumberOfComponents(), and MEDCoupling::DataArrayTemplate< T >::getNumberOfTuples().
Referenced by MEDCoupling::MEDCouplingLinearTime::checkConsistencyLight().
|
virtual |
Reimplemented from MEDCoupling::MEDCouplingTimeDiscretization.
References _end, _end_array, _start, MEDCoupling::MEDCouplingTimeDiscretizationTemplate< double >::_time_tolerance, MEDCoupling::MEDCouplingTimeKeeper::isEqualIfNotWhy(), MEDCoupling::MEDCouplingTimeDiscretization::isEqualIfNotWhy(), and MEDCoupling::DataArrayDouble::isEqualIfNotWhy().
|
virtual |
Reimplemented from MEDCoupling::MEDCouplingTimeDiscretization.
References _end, _end_array, _start, MEDCoupling::MEDCouplingTimeDiscretizationTemplate< double >::_time_tolerance, MEDCoupling::MEDCouplingTimeKeeper::isEqual(), MEDCoupling::MEDCouplingTimeDiscretization::isEqualWithoutConsideringStr(), and MEDCoupling::DataArrayDouble::isEqualWithoutConsideringStr().
|
virtual |
Implements MEDCoupling::MEDCouplingTimeDiscretization.
|
virtual |
void MEDCouplingTwoTimeSteps::getArrays | ( | std::vector< DataArrayDouble * > & | arrays | ) | const |
void MEDCouplingTwoTimeSteps::setEndArray | ( | DataArrayDouble * | array, |
TimeLabel * | owner | ||
) |
References _end_array, MEDCoupling::TimeLabel::declareAsNew(), MEDCoupling::RefCountObjectOnly::decrRef(), and MEDCoupling::RefCountObjectOnly::incrRef().
Referenced by MEDCoupling::MEDCouplingLinearTime::add(), MEDCoupling::MEDCouplingLinearTime::aggregate(), MEDCoupling::MEDCouplingLinearTime::crossProduct(), MEDCoupling::MEDCouplingLinearTime::dot(), MEDCoupling::MEDCouplingLinearTime::max(), MEDCoupling::MEDCouplingLinearTime::meld(), MEDCoupling::MEDCouplingLinearTime::min(), and setArrays().
|
virtual |
Implements MEDCoupling::MEDCouplingTimeDiscretizationTemplate< double >.
References _start, and MEDCoupling::MEDCouplingTimeKeeper::setAllInfo().
|
virtual |
Implements MEDCoupling::MEDCouplingTimeDiscretizationTemplate< double >.
References _end, and MEDCoupling::MEDCouplingTimeKeeper::setAllInfo().
|
virtual |
Implements MEDCoupling::MEDCouplingTimeDiscretizationTemplate< double >.
References _start, and MEDCoupling::MEDCouplingTimeKeeper::getAllInfo().
|
virtual |
Implements MEDCoupling::MEDCouplingTimeDiscretizationTemplate< double >.
References _end, and MEDCoupling::MEDCouplingTimeKeeper::getAllInfo().
|
virtual |
Implements MEDCoupling::MEDCouplingTimeDiscretizationTemplate< double >.
References _start, and MEDCoupling::MEDCouplingTimeKeeper::setIteration().
|
virtual |
Implements MEDCoupling::MEDCouplingTimeDiscretizationTemplate< double >.
References _end, and MEDCoupling::MEDCouplingTimeKeeper::setIteration().
|
virtual |
Implements MEDCoupling::MEDCouplingTimeDiscretizationTemplate< double >.
References _start, and MEDCoupling::MEDCouplingTimeKeeper::setOrder().
|
virtual |
Implements MEDCoupling::MEDCouplingTimeDiscretizationTemplate< double >.
References _end, and MEDCoupling::MEDCouplingTimeKeeper::setOrder().
|
virtual |
Implements MEDCoupling::MEDCouplingTimeDiscretizationTemplate< double >.
References _start, and MEDCoupling::MEDCouplingTimeKeeper::setTimeValue().
|
virtual |
Implements MEDCoupling::MEDCouplingTimeDiscretizationTemplate< double >.
References _end, and MEDCoupling::MEDCouplingTimeKeeper::setTimeValue().
|
virtual |
Reimplemented from MEDCoupling::MEDCouplingTimeDiscretization.
References _end, _end_array, _start, MEDCoupling::MEDCouplingTimeKeeper::getIteration(), MEDCoupling::DataArray::getNumberOfComponents(), MEDCoupling::DataArrayTemplate< T >::getNumberOfTuples(), MEDCoupling::MEDCouplingTimeKeeper::getOrder(), and MEDCoupling::MEDCouplingTimeDiscretization::getTinySerializationIntInformation().
|
virtual |
|
virtual |
Reimplemented from MEDCoupling::MEDCouplingTimeDiscretization.
References MEDCoupling::MEDCouplingTimeDiscretizationTemplate< double >::_array, _end_array, and MEDCoupling::DataArray::getInfoOnComponent().
|
virtual |
|
virtual |
|
virtual |
Reimplemented from MEDCoupling::MEDCouplingTimeDiscretization.
References _end, _start, MEDCoupling::MEDCouplingTimeDiscretization::finishUnserialization(), MEDCoupling::MEDCouplingTimeKeeper::setIteration(), MEDCoupling::MEDCouplingTimeKeeper::setOrder(), and MEDCoupling::MEDCouplingTimeKeeper::setTimeValue().
|
virtual |
idem getTinySerializationIntInformation except that it is for multi field fetch
Implements MEDCoupling::MEDCouplingTimeDiscretization.
References _end, _start, MEDCoupling::MEDCouplingTimeKeeper::getIteration(), and MEDCoupling::MEDCouplingTimeKeeper::getOrder().
|
virtual |
idem getTinySerializationDbleInformation except that it is for multi field fetch
Implements MEDCoupling::MEDCouplingTimeDiscretization.
References _end, _start, MEDCoupling::MEDCouplingTimeDiscretizationTemplate< double >::_time_tolerance, and MEDCoupling::MEDCouplingTimeKeeper::getTimeValue().
|
virtual |
idem finishUnserialization except that it is for multi field fetch
Implements MEDCoupling::MEDCouplingTimeDiscretization.
References _end, _start, MEDCoupling::MEDCouplingTimeDiscretizationTemplate< double >::_time_tolerance, MEDCoupling::MEDCouplingTimeKeeper::setIteration(), MEDCoupling::MEDCouplingTimeKeeper::setOrder(), and MEDCoupling::MEDCouplingTimeKeeper::setTimeValue().
|
virtual |
Implements MEDCoupling::MEDCouplingTimeDiscretization.
References MEDCoupling::MEDCouplingTimeDiscretizationTemplate< double >::_array, _end, _end_array, _start, MEDCoupling::MEDCouplingTimeDiscretizationTemplate< double >::_time_tolerance, EXCEPTION_MSG, and MEDCoupling::MEDCouplingTimeKeeper::getTimeValue().
void MEDCouplingTwoTimeSteps::setArrays | ( | const std::vector< DataArrayDouble * > & | arrays, |
TimeLabel * | owner | ||
) |
|
staticprotected |
Referenced by getArraysForTime(), and MEDCoupling::MEDCouplingLinearTime::getValueOnDiscTime().
|
protected |
Referenced by MEDCoupling::MEDCouplingLinearTime::checkConsistencyLight(), checkTimePresence(), copyTinyAttrFrom(), finishUnserialization(), finishUnserialization2(), getArraysForTime(), getStartTime(), MEDCoupling::MEDCouplingLinearTime::getStringRepr(), getTinySerializationDbleInformation(), getTinySerializationDbleInformation2(), getTinySerializationIntInformation(), getTinySerializationIntInformation2(), MEDCoupling::MEDCouplingLinearTime::getValueForTime(), MEDCoupling::MEDCouplingLinearTime::getValueOnDiscTime(), MEDCoupling::MEDCouplingLinearTime::getValueOnTime(), isEqualIfNotWhy(), isEqualWithoutConsideringStr(), setStartIteration(), setStartOrder(), setStartTime(), setStartTimeValue(), and synchronizeTimeWith().
|
protected |
Referenced by MEDCoupling::MEDCouplingLinearTime::checkConsistencyLight(), checkTimePresence(), copyTinyAttrFrom(), finishUnserialization(), finishUnserialization2(), getArraysForTime(), getEndTime(), MEDCoupling::MEDCouplingLinearTime::getStringRepr(), getTinySerializationDbleInformation(), getTinySerializationDbleInformation2(), getTinySerializationIntInformation(), getTinySerializationIntInformation2(), MEDCoupling::MEDCouplingLinearTime::getValueForTime(), MEDCoupling::MEDCouplingLinearTime::getValueOnDiscTime(), MEDCoupling::MEDCouplingLinearTime::getValueOnTime(), isEqualIfNotWhy(), isEqualWithoutConsideringStr(), setEndIteration(), setEndOrder(), setEndTime(), setEndTimeValue(), and synchronizeTimeWith().
|
protected |
Referenced by MEDCoupling::MEDCouplingLinearTime::areCompatible(), MEDCoupling::MEDCouplingLinearTime::areStrictlyCompatibleForDiv(), checkConsistencyLight(), checkForUnserialization(), copyTinyStringsFrom(), getArrays(), getArraysForTime(), getDirectChildrenWithNull(), getEndArray(), getTinySerializationIntInformation(), getTinySerializationStrInformation(), MEDCoupling::MEDCouplingLinearTime::getValueOnDiscTime(), MEDCoupling::MEDCouplingLinearTime::getValueOnTime(), isEqualIfNotWhy(), isEqualWithoutConsideringStr(), MEDCouplingTwoTimeSteps(), resizeForUnserialization(), setEndArray(), updateTime(), and ~MEDCouplingTwoTimeSteps().