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

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 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
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
 
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

 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)
 

Constructor & Destructor Documentation

MEDCouplingTwoTimeSteps::MEDCouplingTwoTimeSteps ( const MEDCouplingTwoTimeSteps other,
bool  deepCopy 
)
protected
MEDCouplingTwoTimeSteps::MEDCouplingTwoTimeSteps ( )
protected
MEDCouplingTwoTimeSteps::~MEDCouplingTwoTimeSteps ( )
protected

Member Function Documentation

void MEDCouplingTwoTimeSteps::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.

References _end_array, MEDCoupling::MEDCouplingTimeDiscretizationTemplate< double >::updateTime(), and MEDCoupling::TimeLabel::updateTimeWith().

std::size_t MEDCouplingTwoTimeSteps::getHeapMemorySizeWithoutChildren ( ) const
virtual
std::vector< const BigMemoryObject * > MEDCouplingTwoTimeSteps::getDirectChildrenWithNull ( ) const
virtual
DataArrayDouble * MEDCouplingTwoTimeSteps::getEndArray ( )
virtual
void MEDCouplingTwoTimeSteps::checkNoTimePresence ( ) const
virtual
void MEDCouplingTwoTimeSteps::getArrays ( std::vector< DataArrayDouble * > &  arrays) const
void MEDCoupling::MEDCouplingTwoTimeSteps::setStartTime ( double  time,
int  iteration,
int  order 
)
virtual
void MEDCoupling::MEDCouplingTwoTimeSteps::setEndTime ( double  time,
int  iteration,
int  order 
)
virtual
double MEDCoupling::MEDCouplingTwoTimeSteps::getStartTime ( int &  iteration,
int &  order 
) const
virtual
double MEDCoupling::MEDCouplingTwoTimeSteps::getEndTime ( int &  iteration,
int &  order 
) const
virtual
void MEDCoupling::MEDCouplingTwoTimeSteps::setStartIteration ( int  it)
virtual
void MEDCoupling::MEDCouplingTwoTimeSteps::setEndIteration ( int  it)
virtual
void MEDCoupling::MEDCouplingTwoTimeSteps::setStartOrder ( int  order)
virtual
void MEDCoupling::MEDCouplingTwoTimeSteps::setEndOrder ( int  order)
virtual
void MEDCoupling::MEDCouplingTwoTimeSteps::setStartTimeValue ( double  time)
virtual
void MEDCoupling::MEDCouplingTwoTimeSteps::setEndTimeValue ( double  time)
virtual
void MEDCouplingTwoTimeSteps::getTinySerializationDbleInformation ( std::vector< double > &  tinyInfo) const
virtual
void MEDCouplingTwoTimeSteps::getTinySerializationStrInformation ( std::vector< std::string > &  tinyInfo) const
virtual
void MEDCouplingTwoTimeSteps::resizeForUnserialization ( const std::vector< int > &  tinyInfoI,
std::vector< DataArrayDouble * > &  arrays 
)
virtual
void MEDCouplingTwoTimeSteps::checkForUnserialization ( const std::vector< int > &  tinyInfoI,
const std::vector< DataArrayDouble * > &  arrays 
)
virtual
void MEDCouplingTwoTimeSteps::finishUnserialization ( const std::vector< int > &  tinyInfoI,
const std::vector< double > &  tinyInfoD,
const std::vector< std::string > &  tinyInfoS 
)
virtual
void MEDCouplingTwoTimeSteps::getTinySerializationIntInformation2 ( std::vector< int > &  tinyInfo) const
virtual

idem getTinySerializationIntInformation except that it is for multi field fetch

Implements MEDCoupling::MEDCouplingTimeDiscretization.

References _end, _start, MEDCoupling::MEDCouplingTimeKeeper::getIteration(), and MEDCoupling::MEDCouplingTimeKeeper::getOrder().

void MEDCouplingTwoTimeSteps::getTinySerializationDbleInformation2 ( std::vector< double > &  tinyInfo) const
virtual
void MEDCouplingTwoTimeSteps::finishUnserialization2 ( const std::vector< int > &  tinyInfoI,
const std::vector< double > &  tinyInfoD 
)
virtual
void MEDCouplingTwoTimeSteps::setArrays ( const std::vector< DataArrayDouble * > &  arrays,
TimeLabel owner 
)

Member Data Documentation

const char MEDCouplingTwoTimeSteps::EXCEPTION_MSG ="No data on this time."
staticprotected