Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MEDCoupling::MEDCouplingLinearTime Class Reference
Inheritance diagram for MEDCoupling::MEDCouplingLinearTime:
Collaboration diagram for MEDCoupling::MEDCouplingLinearTime:

Public Member Functions

MEDCouplingTimeDiscretizationadd (const MEDCouplingTimeDiscretization *other) const
 
void addEqual (const MEDCouplingTimeDiscretization *other)
 
MEDCouplingTimeDiscretizationaggregate (const MEDCouplingTimeDiscretization *other) const
 
MEDCouplingTimeDiscretizationaggregate (const std::vector< const MEDCouplingTimeDiscretization * > &other) const
 
bool areCompatible (const MEDCouplingTimeDiscretizationTemplate< double > *other) const
 
bool areCompatibleForMeld (const MEDCouplingTimeDiscretization *other) const
 
bool areStrictlyCompatible (const MEDCouplingTimeDiscretizationTemplate< double > *other, std::string &reason) const
 
bool areStrictlyCompatibleForDiv (const MEDCouplingTimeDiscretizationTemplate< double > *other) const
 
bool areStrictlyCompatibleForMul (const MEDCouplingTimeDiscretizationTemplate< double > *other) const
 
void checkConsistencyLight () const
 
MEDCouplingTimeDiscretizationcrossProduct (const MEDCouplingTimeDiscretization *other) const
 
MEDCouplingTimeDiscretizationdivide (const MEDCouplingTimeDiscretization *other) const
 
void divideEqual (const MEDCouplingTimeDiscretization *other)
 
MEDCouplingTimeDiscretizationdot (const MEDCouplingTimeDiscretization *other) const
 
TypeOfTimeDiscretization getEnum () const
 
std::string getStringRepr () const
 
void getValueForTime (double time, const std::vector< double > &vals, double *res) const
 
void getValueOnDiscTime (int eltId, int iteration, int order, double *value) const
 
void getValueOnTime (int eltId, double time, double *value) const
 
MEDCouplingTimeDiscretizationmax (const MEDCouplingTimeDiscretization *other) const
 
 MEDCouplingLinearTime ()
 
MEDCouplingTimeDiscretizationmeld (const MEDCouplingTimeDiscretization *other) const
 
MEDCouplingTimeDiscretizationmin (const MEDCouplingTimeDiscretization *other) const
 
MEDCouplingTimeDiscretizationmultiply (const MEDCouplingTimeDiscretization *other) const
 
void multiplyEqual (const MEDCouplingTimeDiscretization *other)
 
MEDCouplingTimeDiscretizationperformCopyOrIncrRef (bool deepCopy) const
 
MEDCouplingTimeDiscretizationpow (const MEDCouplingTimeDiscretization *other) const
 
void powEqual (const MEDCouplingTimeDiscretization *other)
 
MEDCouplingTimeDiscretizationsubstract (const MEDCouplingTimeDiscretization *other) const
 
void substractEqual (const MEDCouplingTimeDiscretization *other)
 
- Public Member Functions inherited from MEDCoupling::MEDCouplingTwoTimeSteps
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 DataArrayDoublegetEndArray () const
 
DataArrayDoublegetEndArray ()
 
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 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
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
determinant () const
 
virtual
MEDCouplingTimeDiscretization
deviator () const
 
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
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
maxPerTuple () const
 
virtual
MEDCouplingTimeDiscretization
negate () const
 
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
trace () const
 
- Public Member Functions inherited from MEDCoupling::MEDCouplingTimeDiscretizationTemplate< double >
Traits< double >::ArrayType * getArray ()
 
const Traits< double >::ArrayType * getArray () const
 
virtual void getArrays (std::vector< typename Traits< double >::ArrayType * > &arrays) const
 
double getTime (int &iteration, int &order) const
 
double getTimeTolerance () const
 
std::string getTimeUnit () const
 
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
 
TimeLabeloperator= (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 ()
 

Static Public Attributes

static const
TypeOfTimeDiscretization 
DISCRETIZATION =LINEAR_TIME
 
static const char REPR [] ="Linear time between 2 time steps."
 

Protected Member Functions

 MEDCouplingLinearTime (const MEDCouplingLinearTime &other, bool deepCopy)
 
- Protected Member Functions inherited from MEDCoupling::MEDCouplingTwoTimeSteps
 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 ()
 

Additional Inherited Members

- Static Public Member Functions inherited from MEDCoupling::MEDCouplingTimeDiscretization
static
MEDCouplingTimeDiscretization
New (TypeOfTimeDiscretization type)
 
- Protected Attributes inherited from MEDCoupling::MEDCouplingTwoTimeSteps
MEDCouplingTimeKeeper _end
 
DataArrayDouble_end_array
 
MEDCouplingTimeKeeper _start
 
- Static Protected Attributes inherited from MEDCoupling::MEDCouplingTwoTimeSteps
static const char EXCEPTION_MSG [] ="No data on this time."
 

Constructor & Destructor Documentation

MEDCouplingLinearTime::MEDCouplingLinearTime ( const MEDCouplingLinearTime other,
bool  deepCopy 
)
protected
MEDCouplingLinearTime::MEDCouplingLinearTime ( )

Member Function Documentation

TypeOfTimeDiscretization MEDCoupling::MEDCouplingLinearTime::getEnum ( ) const
virtual
MEDCouplingTimeDiscretization * MEDCouplingLinearTime::performCopyOrIncrRef ( bool  deepCopy) const
virtual
bool MEDCouplingLinearTime::areStrictlyCompatible ( const MEDCouplingTimeDiscretizationTemplate< double > *  other,
std::string &  reason 
) const
virtual
bool MEDCouplingLinearTime::areStrictlyCompatibleForMul ( const MEDCouplingTimeDiscretizationTemplate< double > *  other) const
virtual
bool MEDCouplingLinearTime::areCompatibleForMeld ( const MEDCouplingTimeDiscretization other) const
virtual
void MEDCouplingLinearTime::getValueForTime ( double  time,
const std::vector< double > &  vals,
double *  res 
) const
virtual

vals is expected to be of size 2*_array->getNumberOfTuples()==_array->getNumberOfTuples()+_end_array->getNumberOfTuples()

Implements MEDCoupling::MEDCouplingTimeDiscretization.

References MEDCoupling::MEDCouplingTwoTimeSteps::_end, MEDCoupling::MEDCouplingTwoTimeSteps::_start, and MEDCoupling::MEDCouplingTimeKeeper::getTimeValue().

Member Data Documentation

const TypeOfTimeDiscretization MEDCoupling::MEDCouplingLinearTime::DISCRETIZATION =LINEAR_TIME
static
const char MEDCouplingLinearTime::REPR ="Linear time between 2 time steps."
static

Referenced by getStringRepr().