#include <checkpoint_files.hpp>
|
| CheckpointFiles (NLReader::NamelistReader &nlr) |
|
bool | do_restart (NLReader::NamelistReader &nlr) |
|
bool | write_restart_now (int gstep) |
|
void | write (const Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, ElectricField< DeviceType > &electric_field, Plasma &plasma, const Sheath< DeviceType > &sheath, const Charges &charges, const PerturbedBField< DeviceType > &perturbed_B_field, const VelocityGrid &vgrid, const Neutrals< DeviceType > &neutrals, DomainDecomposition< DeviceType > &pol_decomp, DMWrapper &pseudo_inv_dm, Diagnostics &diagnostics, RestartOption restart_option=RestartOption::NotFinal) |
|
void | read (Simulation< DeviceType > &sml, Plasma &plasma, ElectricField< DeviceType > &electric_field, Sheath< DeviceType > &sheath, Charges &charges, PerturbedBField< DeviceType > &perturbed_B_field, DomainDecomposition< DeviceType > &pol_decomp, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, const VelocityGrid &vgrid, Neutrals< DeviceType > &neutrals) |
|
< increase # of particle with different toroidal angle when reading restart file
< Whether to restart if possible
void CheckpointFiles::read |
( |
Simulation< DeviceType > & |
sml, |
|
|
Plasma & |
plasma, |
|
|
ElectricField< DeviceType > & |
electric_field, |
|
|
Sheath< DeviceType > & |
sheath, |
|
|
Charges & |
charges, |
|
|
PerturbedBField< DeviceType > & |
perturbed_B_field, |
|
|
DomainDecomposition< DeviceType > & |
pol_decomp, |
|
|
const Grid< DeviceType > & |
grid, |
|
|
const MagneticField< DeviceType > & |
magnetic_field, |
|
|
const VelocityGrid & |
vgrid, |
|
|
Neutrals< DeviceType > & |
neutrals |
|
) |
| |
void CheckpointFiles::write |
( |
const Simulation< DeviceType > & |
sml, |
|
|
const Grid< DeviceType > & |
grid, |
|
|
const MagneticField< DeviceType > & |
magnetic_field, |
|
|
ElectricField< DeviceType > & |
electric_field, |
|
|
Plasma & |
plasma, |
|
|
const Sheath< DeviceType > & |
sheath, |
|
|
const Charges & |
charges, |
|
|
const PerturbedBField< DeviceType > & |
perturbed_B_field, |
|
|
const VelocityGrid & |
vgrid, |
|
|
const Neutrals< DeviceType > & |
neutrals, |
|
|
DomainDecomposition< DeviceType > & |
pol_decomp, |
|
|
DMWrapper & |
pseudo_inv_dm, |
|
|
Diagnostics & |
diagnostics, |
|
|
RestartOption |
restart_option = RestartOption::NotFinal |
|
) |
| |
Writes restart files. If at the end of the simulation and resampling is on, data is moved from the phase space mesh into the particle weights first.
- Parameters
-
[in] | sml | is used for the resampling control parameters |
- Returns
- void
bool CheckpointFiles::write_restart_now |
( |
int |
gstep | ) |
|
bool CheckpointFiles::adios_stage_restart |
|
private |
Enable/disable Adios stage mode for xgc.restart.
bool CheckpointFiles::adios_stage_restart_f0 |
|
private |
Enable/disable Adios stage mode for xgc.restartf0.
bool CheckpointFiles::increase_ptl_tor_on |
|
private |
int CheckpointFiles::restart_write_period |
How many steps between restart writes.
int CheckpointFiles::run_count |
How many times the simulation has been restarted.
The documentation for this class was generated from the following files: