Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MEDCoupling::MEDCouplingTimeDiscretizationTemplate< T > Class Template Referenceabstract
Inheritance diagram for MEDCoupling::MEDCouplingTimeDiscretizationTemplate< T >:
Collaboration diagram for MEDCoupling::MEDCouplingTimeDiscretizationTemplate< T >:

Public Member Functions

virtual bool areCompatible (const MEDCouplingTimeDiscretizationTemplate< T > *other) const
 
virtual bool areStrictlyCompatible (const MEDCouplingTimeDiscretizationTemplate< T > *other, std::string &reason) const
 
virtual bool areStrictlyCompatibleForDiv (const MEDCouplingTimeDiscretizationTemplate< T > *other) const
 
virtual bool areStrictlyCompatibleForMul (const MEDCouplingTimeDiscretizationTemplate< T > *other) const
 
virtual void checkConsistencyLight () const
 
virtual void copyTinyAttrFrom (const MEDCouplingTimeDiscretizationTemplate< T > &other)
 
virtual void copyTinyStringsFrom (const MEDCouplingTimeDiscretizationTemplate< T > &other)
 
Traits< T >::ArrayType * getArray ()
 
const Traits< T >::ArrayType * getArray () const
 
virtual void getArrays (std::vector< typename Traits< T >::ArrayType * > &arrays) const
 
virtual std::vector< const
BigMemoryObject * > 
getDirectChildrenWithNull () const
 
virtual const Traits< T >
::ArrayType * 
getEndArray () const
 
virtual Traits< T >::ArrayType * getEndArray ()
 
virtual double getEndTime (int &iteration, int &order) const =0
 
virtual TypeOfTimeDiscretization getEnum () const =0
 
virtual std::size_t getHeapMemorySizeWithoutChildren () const
 
virtual double getStartTime (int &iteration, int &order) const =0
 
virtual std::string getStringRepr () const =0
 
double getTime (int &iteration, int &order) const
 
double getTimeTolerance () const
 
std::string getTimeUnit () const
 
virtual bool isEqualIfNotWhy (const MEDCouplingTimeDiscretizationTemplate< T > *other, T prec, std::string &reason) const =0
 
virtual bool isEqualWithoutConsideringStr (const MEDCouplingTimeDiscretizationTemplate< T > *other, T prec) const =0
 
virtual
MEDCouplingTimeDiscretizationTemplate
< T > * 
performCopyOrIncrRef (bool deepCopy) const =0
 
virtual void setArray (typename Traits< T >::ArrayType *array, TimeLabel *owner)
 
virtual void setArrays (const std::vector< typename Traits< T >::ArrayType * > &arrays, TimeLabel *owner)
 
virtual void setEndArray (typename Traits< T >::ArrayType *array, TimeLabel *owner)
 
virtual void setEndIteration (int it)=0
 
virtual void setEndOrder (int order)=0
 
virtual void setEndTime (double time, int iteration, int order)=0
 
virtual void setEndTimeValue (double time)=0
 
void setIteration (int it)
 
void setOrder (int order)
 
virtual void setStartIteration (int it)=0
 
virtual void setStartOrder (int order)=0
 
virtual void setStartTime (double time, int iteration, int order)=0
 
virtual void setStartTimeValue (double time)=0
 
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 ()
 

Protected Member Functions

 MEDCouplingTimeDiscretizationTemplate ()
 
 MEDCouplingTimeDiscretizationTemplate (const MEDCouplingTimeDiscretizationTemplate< T > &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

Traits< T >::ArrayType * _array
 
double _time_tolerance
 
std::string _time_unit
 

Static Protected Attributes

static const double TIME_TOLERANCE_DFT =1.e-12
 

Additional Inherited Members

- Static Public Member Functions inherited from MEDCoupling::BigMemoryObject
static std::size_t GetHeapMemorySizeOfObjs (const std::vector< const BigMemoryObject * > &objs)
 

Constructor & Destructor Documentation

Member Function Documentation

template<class T >
void MEDCoupling::MEDCouplingTimeDiscretizationTemplate< T >::updateTime ( ) const
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.

template<class T>
Traits<T>::ArrayType* MEDCoupling::MEDCouplingTimeDiscretizationTemplate< T >::getArray ( )

Referenced by MEDCoupling::MEDCouplingNoTimeLabel::add(), MEDCoupling::MEDCouplingWithTimeStep::add(), MEDCoupling::MEDCouplingConstOnTimeInterval::add(), MEDCoupling::MEDCouplingLinearTime::add(), MEDCoupling::MEDCouplingNoTimeLabel::addEqual(), MEDCoupling::MEDCouplingWithTimeStep::addEqual(), MEDCoupling::MEDCouplingConstOnTimeInterval::addEqual(), MEDCoupling::MEDCouplingLinearTime::addEqual(), MEDCoupling::MEDCouplingNoTimeLabel::aggregate(), MEDCoupling::MEDCouplingWithTimeStep::aggregate(), MEDCoupling::MEDCouplingConstOnTimeInterval::aggregate(), MEDCoupling::MEDCouplingLinearTime::aggregate(), MEDCoupling::MEDCouplingNoTimeLabel::crossProduct(), MEDCoupling::MEDCouplingWithTimeStep::crossProduct(), MEDCoupling::MEDCouplingConstOnTimeInterval::crossProduct(), MEDCoupling::MEDCouplingLinearTime::crossProduct(), MEDCoupling::MEDCouplingNoTimeLabel::divide(), MEDCoupling::MEDCouplingWithTimeStep::divide(), MEDCoupling::MEDCouplingConstOnTimeInterval::divide(), MEDCoupling::MEDCouplingLinearTime::divide(), MEDCoupling::MEDCouplingNoTimeLabel::divideEqual(), MEDCoupling::MEDCouplingWithTimeStep::divideEqual(), MEDCoupling::MEDCouplingConstOnTimeInterval::divideEqual(), MEDCoupling::MEDCouplingLinearTime::divideEqual(), MEDCoupling::MEDCouplingNoTimeLabel::dot(), MEDCoupling::MEDCouplingWithTimeStep::dot(), MEDCoupling::MEDCouplingConstOnTimeInterval::dot(), MEDCoupling::MEDCouplingLinearTime::dot(), MEDCoupling::MEDCouplingFieldDouble::getValueOn(), MEDCoupling::MEDCouplingFieldDouble::getValueOnMulti(), MEDCoupling::MEDCouplingFieldDouble::getValueOnPos(), MEDCoupling::MEDCouplingTimeDiscretization::isEqualIfNotWhy(), MEDCoupling::MEDCouplingTimeDiscretizationInt::isEqualIfNotWhy(), MEDCoupling::MEDCouplingTimeDiscretization::isEqualWithoutConsideringStr(), MEDCoupling::MEDCouplingTimeDiscretizationInt::isEqualWithoutConsideringStr(), MEDCoupling::MEDCouplingNoTimeLabel::max(), MEDCoupling::MEDCouplingWithTimeStep::max(), MEDCoupling::MEDCouplingConstOnTimeInterval::max(), MEDCoupling::MEDCouplingLinearTime::max(), MEDCoupling::MEDCouplingNoTimeLabel::meld(), MEDCoupling::MEDCouplingWithTimeStep::meld(), MEDCoupling::MEDCouplingConstOnTimeInterval::meld(), MEDCoupling::MEDCouplingLinearTime::meld(), MEDCoupling::MEDCouplingNoTimeLabel::min(), MEDCoupling::MEDCouplingWithTimeStep::min(), MEDCoupling::MEDCouplingConstOnTimeInterval::min(), MEDCoupling::MEDCouplingLinearTime::min(), MEDCoupling::MEDCouplingNoTimeLabel::multiply(), MEDCoupling::MEDCouplingWithTimeStep::multiply(), MEDCoupling::MEDCouplingConstOnTimeInterval::multiply(), MEDCoupling::MEDCouplingLinearTime::multiply(), MEDCoupling::MEDCouplingNoTimeLabel::multiplyEqual(), MEDCoupling::MEDCouplingWithTimeStep::multiplyEqual(), MEDCoupling::MEDCouplingConstOnTimeInterval::multiplyEqual(), MEDCoupling::MEDCouplingLinearTime::multiplyEqual(), MEDCoupling::MEDCouplingNoTimeLabel::pow(), MEDCoupling::MEDCouplingWithTimeStep::pow(), MEDCoupling::MEDCouplingConstOnTimeInterval::pow(), MEDCoupling::MEDCouplingLinearTime::pow(), MEDCoupling::MEDCouplingNoTimeLabel::powEqual(), MEDCoupling::MEDCouplingWithTimeStep::powEqual(), MEDCoupling::MEDCouplingConstOnTimeInterval::powEqual(), MEDCoupling::MEDCouplingLinearTime::powEqual(), MEDCoupling::MEDCouplingNoTimeLabel::substract(), MEDCoupling::MEDCouplingWithTimeStep::substract(), MEDCoupling::MEDCouplingConstOnTimeInterval::substract(), MEDCoupling::MEDCouplingLinearTime::substract(), MEDCoupling::MEDCouplingNoTimeLabel::substractEqual(), MEDCoupling::MEDCouplingWithTimeStep::substractEqual(), MEDCoupling::MEDCouplingConstOnTimeInterval::substractEqual(), and MEDCoupling::MEDCouplingLinearTime::substractEqual().

template<class T>
const Traits<T>::ArrayType* MEDCoupling::MEDCouplingTimeDiscretizationTemplate< T >::getArray ( ) const
template<class T>
std::string MEDCoupling::MEDCouplingTimeDiscretizationTemplate< T >::getTimeUnit ( ) const
template<class T>
void MEDCoupling::MEDCouplingTimeDiscretizationTemplate< T >::setTimeTolerance ( double  val)
template<class T>
double MEDCoupling::MEDCouplingTimeDiscretizationTemplate< T >::getTime ( int &  iteration,
int &  order 
) const
template<class T>
void MEDCoupling::MEDCouplingTimeDiscretizationTemplate< T >::setTime ( double  time,
int  iteration,
int  order 
)
template<class T>
void MEDCoupling::MEDCouplingTimeDiscretizationTemplate< T >::setIteration ( int  it)
template<class T>
void MEDCoupling::MEDCouplingTimeDiscretizationTemplate< T >::setOrder ( int  order)
template<class T>
void MEDCoupling::MEDCouplingTimeDiscretizationTemplate< T >::setTimeValue ( double  val)
template<class T>
void MEDCoupling::MEDCouplingTimeDiscretizationTemplate< T >::setEndArray ( typename Traits< T >::ArrayType *  array,
TimeLabel owner 
)
virtual
template<class T >
Traits< T >::ArrayType * MEDCoupling::MEDCouplingTimeDiscretizationTemplate< T >::getEndArray ( )
virtual
template<class T>
void MEDCoupling::MEDCouplingTimeDiscretizationTemplate< T >::copyTinyAttrFrom ( const MEDCouplingTimeDiscretizationTemplate< T > &  other)
virtual

Reimplemented in MEDCoupling::MEDCouplingTwoTimeSteps, MEDCoupling::MEDCouplingConstOnTimeInterval, and MEDCoupling::MEDCouplingWithTimeStep.

References MEDCoupling::MEDCouplingTimeDiscretizationTemplate< T >::_time_tolerance, and MEDCoupling::MEDCouplingTimeDiscretizationTemplate< T >::_time_unit.

Referenced by MEDCoupling::MEDCouplingFieldDouble::AddFields(), MEDCoupling::MEDCouplingFieldDouble::computeVectorFieldCyl(), MEDCoupling::MEDCouplingFieldDouble::CrossProductFields(), MEDCoupling::MEDCouplingFieldDouble::determinant(), MEDCoupling::MEDCouplingFieldDouble::deviator(), MEDCoupling::MEDCouplingFieldDouble::DivideFields(), MEDCoupling::MEDCouplingFieldDouble::DotFields(), MEDCoupling::MEDCouplingFieldDouble::doublyContractedProduct(), MEDCoupling::MEDCouplingFieldDouble::eigenValues(), MEDCoupling::MEDCouplingFieldDouble::eigenVectors(), MEDCoupling::MEDCouplingFieldDouble::inverse(), MEDCoupling::MEDCouplingFieldDouble::keepSelectedComponents(), MEDCoupling::MEDCouplingFieldDouble::magnitude(), MEDCoupling::MEDCouplingFieldDouble::MaxFields(), MEDCoupling::MEDCouplingFieldDouble::maxPerTuple(), MEDCoupling::MEDCouplingFieldDouble::MeldFields(), MEDCoupling::MEDCouplingFieldDouble::MergeFields(), MEDCoupling::MEDCouplingFieldDouble::MinFields(), MEDCoupling::MEDCouplingFieldDouble::MultiplyFields(), MEDCoupling::MEDCouplingFieldDouble::negate(), MEDCoupling::MEDCouplingFieldDouble::PowFields(), MEDCoupling::MEDCouplingFieldDouble::SubstractFields(), and MEDCoupling::MEDCouplingFieldDouble::trace().

template<class T >
void MEDCoupling::MEDCouplingTimeDiscretizationTemplate< T >::checkConsistencyLight ( ) const
virtual
template<class T >
std::size_t MEDCoupling::MEDCouplingTimeDiscretizationTemplate< T >::getHeapMemorySizeWithoutChildren ( ) const
virtual
template<class T >
std::vector< const BigMemoryObject * > MEDCoupling::MEDCouplingTimeDiscretizationTemplate< T >::getDirectChildrenWithNull ( ) const
virtual

Member Data Documentation

template<class T>
const double MEDCoupling::MEDCouplingTimeDiscretizationTemplate< T >::TIME_TOLERANCE_DFT =1.e-12
staticprotected