Interface for the internal part of a value history manager. More...
#include <arcane/core/internal/ITimeHistoryMngInternal.h>
Public Member Functions | |
| virtual | ~ITimeHistoryMngInternal ()=default |
| Releases resources. | |
| virtual void | addValue (const TimeHistoryAddValueArgInternal &thpi, Real value)=0 |
| Method allowing a value to be added to a history. | |
| virtual void | addValue (const TimeHistoryAddValueArgInternal &thpi, Int32 value)=0 |
| Method allowing a value to be added to a history. | |
| virtual void | addValue (const TimeHistoryAddValueArgInternal &thpi, Int64 value)=0 |
| Method allowing a value to be added to a history. | |
| virtual void | addValue (const TimeHistoryAddValueArgInternal &thpi, RealConstArrayView values)=0 |
| Method allowing values to be added to a history. | |
| virtual void | addValue (const TimeHistoryAddValueArgInternal &thpi, Int32ConstArrayView values)=0 |
| Method allowing values to be added to a history. | |
| virtual void | addValue (const TimeHistoryAddValueArgInternal &thpi, Int64ConstArrayView values)=0 |
| Method allowing values to be added to a history. | |
| virtual void | addNowInGlobalTime ()=0 |
| Method allowing the current GlobalTime to be added to the GlobalTimes array. | |
| virtual void | updateGlobalTimeCurve ()=0 |
| Method allowing the GlobalTime array to be copied into the global GlobalTime variable. | |
| virtual void | resizeArrayAfterRestore ()=0 |
| Method allowing the value arrays to be resized after a restart. | |
| virtual void | dumpCurves (ITimeHistoryCurveWriter2 *writer)=0 |
| Method allowing curves to be written using the provided writer. | |
| virtual void | dumpHistory ()=0 |
| Method allowing all curves to be written using all registered writers. | |
| virtual void | updateMetaData ()=0 |
| Method allowing the curve metadata to be updated. | |
| virtual void | readVariables (IMeshMng *mesh_mng, IMesh *default_mesh)=0 |
| Method allowing previously written curves to be retrieved during a restart. | |
| virtual void | addCurveWriter (Ref< ITimeHistoryCurveWriter2 > writer)=0 |
| Method allowing a writer to be added for curve output. | |
| virtual void | removeCurveWriter (const String &name)=0 |
| Method allowing a writer to be removed. | |
| virtual void | applyTransformation (ITimeHistoryTransformer *v)=0 |
| Applies the transformation v to all curves. | |
| virtual bool | isShrinkActive () const =0 |
| Returns a boolean indicating if the history is compressed. | |
| virtual void | setShrinkActive (bool is_active)=0 |
| Sets the boolean indicating if the history is compressed. | |
| virtual bool | active () const =0 |
| Indicates the activation status. | |
| virtual void | setActive (bool is_active)=0 |
| Sets the activation status. | |
| virtual bool | isDumpActive () const =0 |
| Indicates the output activation status. | |
| virtual void | setDumpActive (bool is_active)=0 |
| Sets the output activation status. | |
| virtual bool | isMasterIO ()=0 |
| Method allowing to know if our process is the writer. | |
| virtual bool | isMasterIOOfSubDomain ()=0 |
| Method allowing to know if our process is the writer for our subdomain. In the case where replication is enabled, only one process among the replicas can write (and only if isNonIOMasterCurvesEnabled() == true). | |
| virtual bool | isNonIOMasterCurvesEnabled ()=0 |
| Method allowing to know if all processes can have a value history. | |
| virtual bool | isIOMasterWriteOnly ()=0 |
| Method allowing to know if only the master process calls the writers. | |
| virtual void | setIOMasterWriteOnly (bool is_active)=0 |
| Method allowing to define if only the master process calls the writers. | |
| virtual void | addObservers (IPropertyMng *prop_mng)=0 |
| Method allowing observers saving the history before a checkpoint to be added. | |
| virtual void | editOutputPath (const Directory &directory)=0 |
| Method allowing the curve output directory to be changed. | |
| virtual void | iterationsAndValues (const TimeHistoryAddValueArgInternal &thpi, UniqueArray< Int32 > &iterations, UniqueArray< Real > &values)=0 |
| Method allowing the iterations and values of a history to be outputted. | |
Interface for the internal part of a value history manager.
Definition at line 78 of file ITimeHistoryMngInternal.h.
|
pure virtual |
Indicates the activation status.
The addValue() functions are only considered if the instance is active. Otherwise, calls to addValue() are ignored.
Implemented in Arcane::TimeHistoryMngInternal.
|
pure virtual |
Method allowing a writer to be added for curve output.
| writer | A reference to the writer. |
Implemented in Arcane::TimeHistoryMngInternal.
|
pure virtual |
Method allowing the current GlobalTime to be added to the GlobalTimes array.
Implemented in Arcane::TimeHistoryMngInternal.
|
pure virtual |
Method allowing observers saving the history before a checkpoint to be added.
| prop_mng | A pointer to an IPropertyMng. |
Implemented in Arcane::TimeHistoryMngInternal.
|
pure virtual |
Method allowing a value to be added to a history.
| thpi | History parameters. |
| value | The value to add. |
Implemented in Arcane::TimeHistoryMngInternal.
|
pure virtual |
Method allowing values to be added to a history.
| thpi | History parameters. |
| value | The values to add. |
Implemented in Arcane::TimeHistoryMngInternal.
|
pure virtual |
Method allowing a value to be added to a history.
| thpi | History parameters. |
| value | The value to add. |
Implemented in Arcane::TimeHistoryMngInternal.
|
pure virtual |
Method allowing values to be added to a history.
| thpi | History parameters. |
| value | The values to add. |
Implemented in Arcane::TimeHistoryMngInternal.
|
pure virtual |
Method allowing a value to be added to a history.
| thpi | History parameters. |
| value | The value to add. |
Implemented in Arcane::TimeHistoryMngInternal.
|
pure virtual |
Method allowing values to be added to a history.
| thpi | History parameters. |
| value | The values to add. |
Implemented in Arcane::TimeHistoryMngInternal.
|
pure virtual |
Applies the transformation v to all curves.
| v | The transformation to apply. |
Implemented in Arcane::TimeHistoryMngInternal.
|
pure virtual |
Method allowing curves to be written using the provided writer.
| writer | The writer with which the curves must be written. |
| master_only | If all histories must be transferred to the masterIO before copying. |
Implemented in Arcane::TimeHistoryMngInternal.
|
pure virtual |
Method allowing all curves to be written using all registered writers.
Implemented in Arcane::TimeHistoryMngInternal.
|
pure virtual |
Method allowing the curve output directory to be changed.
Note that the directory will be created if it does not exist.
| directory | The new output directory. |
Implemented in Arcane::TimeHistoryMngInternal.
|
pure virtual |
Indicates the output activation status.
The dumpHistory() function is inactive if isDumpActive() is false.
Implemented in Arcane::TimeHistoryMngInternal.
|
pure virtual |
Method allowing to know if only the master process calls the writers.
Implemented in Arcane::TimeHistoryMngInternal.
|
pure virtual |
Method allowing to know if our process is the writer.
Implemented in Arcane::TimeHistoryMngInternal.
|
pure virtual |
Method allowing to know if our process is the writer for our subdomain. In the case where replication is enabled, only one process among the replicas can write (and only if isNonIOMasterCurvesEnabled() == true).
The environment variable ARCANE_ENABLE_ALL_REPLICATS_WRITE_CURVES allows bypassing this protection and allows all processes to write.
Implemented in Arcane::TimeHistoryMngInternal.
|
pure virtual |
Method allowing to know if all processes can have a value history.
Implemented in Arcane::TimeHistoryMngInternal.
|
pure virtual |
Returns a boolean indicating if the history is compressed.
Implemented in Arcane::TimeHistoryMngInternal.
|
pure virtual |
Method allowing the iterations and values of a history to be outputted.
Useful method for debug/test. Caution in domain replication mode: only the masterRank of the subdomains possess the values.
| thpi | Information necessary for retrieving the history. |
| iterations | [OUT] The iterations where each value was retrieved. |
| values | [OUT] The retrieved values. |
Implemented in Arcane::TimeHistoryMngInternal.
|
pure virtual |
Method allowing previously written curves to be retrieved during a restart.
| mesh_mng | A pointer to a meshMng. |
| default_mesh | A pointer to the default mesh (only necessary for retrieving old checkpoints). |
Implemented in Arcane::TimeHistoryMngInternal.
|
pure virtual |
Method allowing a writer to be removed.
| writer | The name of the writer. |
Implemented in Arcane::TimeHistoryMngInternal.
|
pure virtual |
Method allowing the value arrays to be resized after a restart.
Implemented in Arcane::TimeHistoryMngInternal.
|
pure virtual |
|
pure virtual |
Sets the output activation status.
Implemented in Arcane::TimeHistoryMngInternal.
|
pure virtual |
Method allowing to define if only the master process calls the writers.
| is_active | True if yes. |
Implemented in Arcane::TimeHistoryMngInternal.
|
pure virtual |
Sets the boolean indicating if the history is compressed.
Implemented in Arcane::TimeHistoryMngInternal.
|
pure virtual |
Method allowing the GlobalTime array to be copied into the global GlobalTime variable.
Implemented in Arcane::TimeHistoryMngInternal.
|
pure virtual |
Method allowing the curve metadata to be updated.
Implemented in Arcane::TimeHistoryMngInternal.