Base class for a value history. More...
#include <arcane/impl/internal/TimeHistoryMngInternal.h>
Public Member Functions | |
| TimeHistoryValue (const TimeHistoryAddValueArgInternal &thpi, eDataType dt, Integer index, Integer sub_size) | |
| virtual | ~TimeHistoryValue ()=default |
| Frees resources. | |
| virtual void | fromOldToNewVariables (IVariableMng *vm, IMesh *default_mesh)=0 |
| Method allowing the conversion of variables from old saves to the new format. | |
| virtual void | dumpValues (ITraceMng *msg, ITimeHistoryCurveWriter2 *writer, const TimeHistoryCurveWriterInfo &infos) const =0 |
| Prints the history values using the writer writer. | |
| virtual void | arrayToWrite (UniqueArray< Int32 > &iterations, UniqueArray< Real > &values, const TimeHistoryCurveWriterInfo &infos) const =0 |
| Method allowing the retrieval of iterations and values from a value history. | |
| virtual void | applyTransformation (ITraceMng *msg, ITimeHistoryTransformer *v)=0 |
| Method allowing the application of a transformation on the values of the value history. | |
| virtual Integer | size () const =0 |
| Method allowing the retrieval of the number of recorded values. | |
| virtual void | removeAfterIteration (Integer last_iteration)=0 |
| Method allowing the removal of all values after a certain iteration. | |
| const String & | name () const |
| History name. | |
| eDataType | dataType () const |
| History data type. | |
| Integer | index () const |
| History index in the list. | |
| Integer | subSize () const |
| const MeshHandle & | meshHandle () const |
| Method allowing the retrieval of the registered MeshHandle. | |
| bool | isLocal () const |
| Method allowing determination if it is a global history or local to a subdomain. | |
| Integer | localSubDomainId () const |
| Method allowing the retrieval of the subdomain ID to which this history belongs. | |
Private Attributes | |
| eDataType | m_data_type |
| Data type. | |
| Integer | m_index |
| History index in the list. | |
| Integer | m_sub_size |
| TimeHistoryAddValueArgInternal | m_thpi |
Base class for a value history.
A history contains a set of values for certain iterations. It is characterized by a name.
Definition at line 58 of file TimeHistoryMngInternal.h.
|
inline |
Definition at line 62 of file TimeHistoryMngInternal.h.
|
pure virtual |
Method allowing the application of a transformation on the values of the value history.
| msg | The traceMng where messages should be written. |
| v | The transformer. |
Implemented in Arcane::TimeHistoryValueT< DataType >.
Referenced by Arcane::TimeHistoryMngInternal::applyTransformation().
|
pure virtual |
Method allowing the retrieval of iterations and values from a value history.
| iterations | [OUT] The iterations where each value was retrieved. |
| values | [OUT] The retrieved values. |
| infos | The information necessary to retrieve the history. |
Implemented in Arcane::TimeHistoryValueT< DataType >.
Referenced by Arcane::TimeHistoryMngInternal::dumpCurves().
|
inline |
History data type.
Definition at line 126 of file TimeHistoryMngInternal.h.
References m_data_type.
Referenced by Arcane::TimeHistoryMngInternal::updateMetaData().
|
pure virtual |
Prints the history values using the writer writer.
Implemented in Arcane::TimeHistoryValueT< DataType >.
Referenced by Arcane::TimeHistoryMngInternal::dumpCurves().
|
pure virtual |
Method allowing the conversion of variables from old saves to the new format.
| vm | The VariableMng. |
| default_mesh | The default mesh. |
Implemented in Arcane::TimeHistoryValueT< DataType >.
Referenced by Arcane::TimeHistoryMngInternal::readVariables().
|
inline |
History index in the list.
Definition at line 129 of file TimeHistoryMngInternal.h.
References m_index.
Referenced by Arcane::TimeHistoryValueT< DataType >::fromOldToNewVariables(), Arcane::TimeHistoryValueT< DataType >::TimeHistoryValueT(), Arcane::TimeHistoryValueT< DataType >::TimeHistoryValueT(), and Arcane::TimeHistoryMngInternal::updateMetaData().
|
inline |
Method allowing determination if it is a global history or local to a subdomain.
Definition at line 148 of file TimeHistoryMngInternal.h.
Referenced by Arcane::TimeHistoryMngInternal::_dumpSummaryOfCurves(), Arcane::TimeHistoryMngInternal::_dumpSummaryOfCurvesLegacy(), and Arcane::TimeHistoryMngInternal::updateMetaData().
|
inline |
Method allowing the retrieval of the subdomain ID to which this history belongs.
Definition at line 155 of file TimeHistoryMngInternal.h.
Referenced by Arcane::TimeHistoryValueT< DataType >::dumpValues(), and Arcane::TimeHistoryMngInternal::updateMetaData().
|
inline |
Method allowing the retrieval of the registered MeshHandle.
Note: For global histories, this MeshHandle is null!
Definition at line 140 of file TimeHistoryMngInternal.h.
Referenced by Arcane::TimeHistoryMngInternal::_dumpSummaryOfCurves(), Arcane::TimeHistoryMngInternal::_dumpSummaryOfCurvesLegacy(), Arcane::TimeHistoryMngInternal::dumpCurves(), Arcane::TimeHistoryValueT< DataType >::dumpValues(), Arcane::TimeHistoryValueT< DataType >::TimeHistoryValueT(), and Arcane::TimeHistoryMngInternal::updateMetaData().
|
inline |
History name.
Definition at line 123 of file TimeHistoryMngInternal.h.
Referenced by Arcane::TimeHistoryMngInternal::_dumpSummaryOfCurves(), Arcane::TimeHistoryMngInternal::_dumpSummaryOfCurvesLegacy(), Arcane::TimeHistoryValueT< DataType >::applyTransformation(), Arcane::TimeHistoryMngInternal::dumpCurves(), Arcane::TimeHistoryValueT< DataType >::dumpValues(), and Arcane::TimeHistoryMngInternal::updateMetaData().
|
pure virtual |
Method allowing the removal of all values after a certain iteration.
| last_iteration | The desired last iteration. |
Implemented in Arcane::TimeHistoryValueT< DataType >.
|
pure virtual |
Method allowing the retrieval of the number of recorded values.
Implemented in Arcane::TimeHistoryValueT< DataType >.
|
inline |
Definition at line 131 of file TimeHistoryMngInternal.h.
|
private |
|
private |
History index in the list.
Definition at line 160 of file TimeHistoryMngInternal.h.
Referenced by index().
|
private |
Definition at line 161 of file TimeHistoryMngInternal.h.
|
private |
Definition at line 162 of file TimeHistoryMngInternal.h.