Class allowing the addition of one or more values to a value history. More...
#include <arcane/core/MeshTimeHistoryAdder.h>
Public Member Functions | |
| MeshTimeHistoryAdder (ITimeHistoryMng *time_history_mng, const MeshHandle &mesh_handle) | |
| Constructor. | |
| void | addValue (const TimeHistoryAddValueArg &thp, Real value) override |
| Method allowing the addition of a value to a history. | |
| void | addValue (const TimeHistoryAddValueArg &thp, Int32 value) override |
| Method allowing the addition of a value to a history. | |
| void | addValue (const TimeHistoryAddValueArg &thp, Int64 value) override |
| Method allowing the addition of a value to a history. | |
| void | addValue (const TimeHistoryAddValueArg &thp, RealConstArrayView values) override |
| Method allowing the addition of values to a history. | |
| void | addValue (const TimeHistoryAddValueArg &thp, Int32ConstArrayView values) override |
| Method allowing the addition of values to a history. | |
| void | addValue (const TimeHistoryAddValueArg &thp, Int64ConstArrayView values) override |
| Method allowing the addition of values to a history. | |
| Public Member Functions inherited from Arcane::ITimeHistoryAdder | |
| virtual | ~ITimeHistoryAdder ()=default |
| Frees resources. | |
Class allowing the addition of one or more values to a value history.
This class will record curves supported by a mesh. That is, the curves will be linked to a mesh, in addition to being linked to the entire domain or the requested subdomain. If the link to the mesh is not desired, the GlobalTimeHistoryAdder class may be more interesting.
For a given history name, there may be only one curve of a or several values per mesh and per subdomain (and one global one for all subdomains).
Example: several curves of pressure averages (let's call them "avg_pressure"), two subdomains (0 and 1) and two meshes (mesh0 and mesh1). One value per iteration.
It can be noted that it is possible to have several independent curves with the same name but linked to different meshes and different subdomains (+1 global curve). It is important to emphasize that this same name can also be used with the curves of GlobalTimeHistoryAdder independently, so the example above can be complementary to the one given in the description of GlobalTimeHistoryAdder! (meaning potentially 9 independent curves but with the same name!)
Definition at line 74 of file MeshTimeHistoryAdder.h.
| Arcane::MeshTimeHistoryAdder::MeshTimeHistoryAdder | ( | ITimeHistoryMng * | time_history_mng, |
| const MeshHandle & | mesh_handle ) |
Constructor.
| time_history_mng | A pointer to an instance of ITimeHistoryMng. |
| mesh_handle | The mesh to link to the curves. |
Definition at line 26 of file MeshTimeHistoryAdder.cc.
|
overridevirtual |
Method allowing the addition of a value to a history.
| thpi | The parameters of the value. |
| value | The value to add. |
Implements Arcane::ITimeHistoryAdder.
Definition at line 46 of file MeshTimeHistoryAdder.cc.
|
overridevirtual |
Method allowing the addition of values to a history.
| thpi | The parameters of the values. |
| value | The values to add. |
Implements Arcane::ITimeHistoryAdder.
Definition at line 58 of file MeshTimeHistoryAdder.cc.
|
overridevirtual |
Method allowing the addition of a value to a history.
| thpi | The parameters of the value. |
| value | The value to add. |
Implements Arcane::ITimeHistoryAdder.
Definition at line 40 of file MeshTimeHistoryAdder.cc.
|
overridevirtual |
Method allowing the addition of values to a history.
| thpi | The parameters of the values. |
| value | The values to add. |
Implements Arcane::ITimeHistoryAdder.
Definition at line 64 of file MeshTimeHistoryAdder.cc.
|
overridevirtual |
Method allowing the addition of a value to a history.
| thpi | The parameters of the value. |
| value | The value to add. |
Implements Arcane::ITimeHistoryAdder.
Definition at line 34 of file MeshTimeHistoryAdder.cc.
|
overridevirtual |
Method allowing the addition of values to a history.
| thpi | The parameters of the values. |
| value | The values to add. |
Implements Arcane::ITimeHistoryAdder.
Definition at line 52 of file MeshTimeHistoryAdder.cc.