Gyselalib++
 
Loading...
Searching...
No Matches
RestartInitialization Class Reference

A class that initializes the distribution function from a previous simulation. More...

Inheritance diagram for RestartInitialization:
IInitialization

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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ RestartInitialization()

RestartInitialization::RestartInitialization ( int  iter_start,
double &  time_start 
)

Create an initialization object.

Parameters
[in]iter_startAn integer representing the number of iteration already performed to produce the distribution function used to initialize the current simulation.
[in]time_startThe physical time corresponding to iter_start.

Member Function Documentation

◆ operator()()

DFieldSpXVx RestartInitialization::operator() ( DFieldSpXVx  allfdistribu) const
overridevirtual

Triggers a PDI event to fill the distribution function with values from a hdf5 file.

Parameters
[out]allfdistribuThe distribution function initialized with the values read from an external file.
Returns
The initialized distribution function.

Implements IInitialization.


The documentation for this class was generated from the following file: