Public Member Functions | |
void | declareAsNew () const |
std::size_t | getTimeOfThis () const |
TimeLabel & | operator= (const TimeLabel &other) |
virtual void | updateTime () const =0 |
Protected Member Functions | |
void | forceTimeOfThis (const TimeLabel &other) const |
TimeLabel () | |
void | updateTimeWith (const TimeLabel &other) const |
virtual | ~TimeLabel () |
Class representing a label of time of the lastely modified part of this. More _time is high more the object has been modified recently.
|
protected |
|
protectedvirtual |
void TimeLabel::declareAsNew | ( | ) | const |
This method should be called when write access has been done on this.
Referenced by MEDCoupling::DataArrayDouble::abs(), MEDCoupling::DataArrayInt::abs(), MEDCoupling::DataArrayDouble::addEqual(), MEDCoupling::DataArrayInt::addEqual(), MEDCoupling::MEDCouplingCartesianAMRMeshGen::addPatch(), MEDCoupling::MEDCouplingUMesh::allocateCells(), MEDCoupling::MEDCoupling1SGTUMesh::allocateCells(), MEDCoupling::MEDCoupling1DGTUMesh::allocateCells(), MEDCoupling::DataArrayInt::applyDivideBy(), MEDCoupling::DataArrayDouble::applyFuncFast32(), MEDCoupling::DataArrayDouble::applyFuncFast64(), MEDCoupling::DataArrayDouble::applyInv(), MEDCoupling::DataArrayInt::applyInv(), MEDCoupling::DataArrayDouble::applyLin(), MEDCoupling::DataArrayInt::applyLin(), MEDCoupling::DataArrayInt::applyModulus(), MEDCoupling::DataArrayDouble::applyPow(), MEDCoupling::DataArrayInt::applyPow(), MEDCoupling::DataArrayInt::applyRModulus(), MEDCoupling::DataArrayDouble::applyRPow(), MEDCoupling::DataArrayInt::applyRPow(), MEDCoupling::DataArrayInt::changeValue(), MEDCoupling::DataArrayInt::computeOffsets(), MEDCoupling::DataArrayInt::computeOffsetsFull(), MEDCoupling::MEDCouplingIMesh::copyTinyStringsFrom(), MEDCoupling::MEDCouplingCartesianAMRMeshGen::createPatchesFromCriterion(), MEDCoupling::MEDCouplingCartesianAMRMeshSub::detachFromFather(), MEDCoupling::DataArrayDouble::divideEqual(), MEDCoupling::DataArrayInt::divideEqual(), MEDCoupling::MEDCouplingUMesh::finishInsertingCells(), MEDCoupling::DataArrayTemplate< char >::getPointer(), MEDCoupling::DataArrayDouble::iota(), MEDCoupling::DataArrayInt::iota(), MEDCoupling::DataArrayInt::modulusEqual(), MEDCoupling::DataArrayDouble::multiplyEqual(), MEDCoupling::DataArrayInt::multiplyEqual(), MEDCoupling::MEDCouplingUMesh::orientCorrectly2DCells(), MEDCoupling::DataArrayDouble::powEqual(), MEDCoupling::DataArrayInt::powEqual(), MEDCoupling::MEDCouplingIMesh::refineWithFactor(), MEDCoupling::MEDCouplingCartesianAMRMeshGen::removeAllPatches(), MEDCoupling::MEDCouplingCartesianAMRMeshGen::removePatch(), MEDCoupling::MEDCouplingUMesh::renumberNodesInConn(), MEDCoupling::MEDCouplingUMesh::renumberNodesWithOffsetInConn(), MEDCoupling::MEDCouplingPointSet::rotate(), MEDCoupling::MEDCouplingCMesh::scale(), MEDCoupling::MEDCouplingIMesh::scale(), MEDCoupling::MEDCouplingPointSet::scale(), MEDCoupling::MEDCouplingTimeDiscretizationTemplate< T >::setArray(), MEDCoupling::MEDCouplingFieldDiscretizationPerCell::setArrayOfDiscIds(), MEDCoupling::MEDCouplingIMesh::setAxisUnit(), MEDCoupling::MEDCouplingUMesh::setConnectivity(), MEDCoupling::MEDCouplingCurveLinearMesh::setCoords(), MEDCoupling::MEDCouplingPointSet::setCoords(), MEDCoupling::MEDCouplingCMesh::setCoords(), MEDCoupling::MEDCouplingCMesh::setCoordsAt(), MEDCoupling::MEDCouplingField::setDiscretization(), MEDCoupling::MEDCouplingIMesh::setDXYZ(), MEDCoupling::MEDCouplingTwoTimeSteps::setEndArray(), MEDCoupling::MEDCouplingCartesianAMRMeshGen::setFactors(), MEDCoupling::DataArrayTemplate< char >::setIJ(), MEDCoupling::MEDCouplingField::setMesh(), MEDCoupling::MEDCouplingUMesh::setMeshDimension(), MEDCoupling::MEDCoupling1SGTUMesh::setNodalConnectivity(), MEDCoupling::MEDCoupling1DGTUMesh::setNodalConnectivity(), MEDCoupling::MEDCouplingIMesh::setNodeStruct(), MEDCoupling::MEDCouplingIMesh::setOrigin(), MEDCoupling::MEDCouplingIMesh::setSpaceDimension(), MEDCoupling::MEDCouplingUMesh::shiftNodeNumbersInConn(), MEDCoupling::MEDCoupling1SGTUMesh::sortHexa8EachOther(), MEDCoupling::DataArrayDouble::sortPerTuple(), MEDCoupling::DataArrayDouble::substractEqual(), MEDCoupling::DataArrayInt::substractEqual(), MEDCoupling::DataArrayInt::transformWithIndArr(), MEDCoupling::MEDCouplingIMesh::translate(), MEDCoupling::MEDCouplingPointSet::translate(), and MEDCoupling::MEDCouplingIMesh::unserialization().
|
pure virtual |
This method should be called on high level classes as Field or Mesh to take into acount modifications done in aggregates objects.
Implemented in MEDCoupling::DataArrayChar, MEDCoupling::DataArrayInt, MEDCoupling::MEDCouplingTwoTimeSteps, MEDCoupling::DataArrayDouble, MEDCoupling::MEDCouplingFieldDiscretizationPerCell, MEDCoupling::MEDCouplingCartesianAMRMeshGen, MEDCoupling::MEDCoupling1DGTUMesh, MEDCoupling::MEDCouplingAMRAttribute, MEDCoupling::MEDCoupling1SGTUMesh, MEDCoupling::MEDCouplingFieldDouble, MEDCoupling::MEDCouplingField, MEDCoupling::MEDCouplingMappedExtrudedMesh, MEDCoupling::MEDCouplingIMesh, MEDCoupling::MEDCouplingPointSet, MEDCoupling::MEDCouplingUMesh, MEDCoupling::MEDCouplingFieldDiscretization, MEDCoupling::MEDCouplingTimeDiscretizationTemplate< T >, MEDCoupling::MEDCouplingTimeDiscretizationTemplate< double >, MEDCoupling::MEDCouplingTimeDiscretizationTemplate< int >, MEDCoupling::MEDCouplingCMesh, and MEDCoupling::MEDCouplingCurveLinearMesh.
Referenced by MEDCoupling::TimeLabelConstOverseer::checkConst(), MEDCoupling::TimeLabelConstOverseer::keepTrackOfNewTL(), MEDCoupling::TimeLabelConstOverseer::resetState(), and MEDCoupling::TimeLabelConstOverseer::TimeLabelConstOverseer().
std::size_t MEDCoupling::TimeLabel::getTimeOfThis | ( | ) | const |
|
protected |
Referenced by MEDCoupling::MEDCouplingField::setMesh(), MEDCoupling::MEDCouplingCurveLinearMesh::updateTime(), MEDCoupling::MEDCouplingCMesh::updateTime(), MEDCoupling::MEDCouplingUMesh::updateTime(), MEDCoupling::MEDCouplingPointSet::updateTime(), MEDCoupling::MEDCouplingMappedExtrudedMesh::updateTime(), MEDCoupling::MEDCouplingField::updateTime(), MEDCoupling::MEDCouplingFieldDouble::updateTime(), MEDCoupling::MEDCoupling1SGTUMesh::updateTime(), MEDCoupling::MEDCoupling1DGTUMesh::updateTime(), MEDCoupling::MEDCouplingCartesianAMRMeshGen::updateTime(), MEDCoupling::MEDCouplingFieldDiscretizationPerCell::updateTime(), and MEDCoupling::MEDCouplingTwoTimeSteps::updateTime().
|
protected |
This method has to be called with a lot of care. It set agressively the time in this with the time in other.