A class that initializes the distribution function from a previous simulation. More...
Public Member Functions | |
RestartInitialization (int iter_start, double &time_start) | |
Create an initialization object. | |
DFieldSpXVx | operator() (DFieldSpXVx allfdistribu) const override |
Triggers a PDI event to fill the distribution function with values from a hdf5 file. | |
Public Member Functions inherited from IInitialization | |
virtual DFieldSpVparMu | operator() (DFieldSpVparMu allfdistribu) const =0 |
Operator for initializing a distribution function. | |
virtual DFieldSpXYVxVy | operator() (DFieldSpXYVxVy allfdistribu) const =0 |
Operator for initializing a distribution function. | |
A class that initializes the distribution function from a previous simulation.
A class that triggers a PDI event to read the values of a distribution function saved in a hdf5 file. These values are copied to the field that represents the distribution function.
RestartInitialization::RestartInitialization | ( | int | iter_start, |
double & | time_start | ||
) |
Create an initialization object.
[in] | iter_start | An integer representing the number of iteration already performed to produce the distribution function used to initialize the current simulation. |
[in] | time_start | The physical time corresponding to iter_start. |
|
overridevirtual |
Triggers a PDI event to fill the distribution function with values from a hdf5 file.
[out] | allfdistribu | The distribution function initialized with the values read from an external file. |
Implements IInitialization.