#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 Sources &sources, 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, const Sources &sources) | 
|   | 
◆ CheckpointFiles()
< increase # of particle with different toroidal angle when reading restart file
 
 
◆ do_restart()
< Whether to restart if possible
 
 
◆ read()
      
        
          | 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,  | 
        
        
           | 
           | 
          const Sources &  | 
          sources  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ write()
      
        
          | 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 Sources &  | 
          sources,  | 
        
        
           | 
           | 
          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 
 
 
 
◆ write_restart_now()
      
        
          | bool CheckpointFiles::write_restart_now  | 
          ( | 
          int  | 
          gstep | ) | 
           | 
        
      
 
 
◆ adios_stage_restart
  
  
      
        
          | bool CheckpointFiles::adios_stage_restart | 
         
       
   | 
  
private   | 
  
 
Enable/disable Adios stage mode for xgc.restart. 
 
 
◆ adios_stage_restart_f0
  
  
      
        
          | bool CheckpointFiles::adios_stage_restart_f0 | 
         
       
   | 
  
private   | 
  
 
Enable/disable Adios stage mode for xgc.restartf0. 
 
 
◆ increase_ptl_tor_on
  
  
      
        
          | bool CheckpointFiles::increase_ptl_tor_on | 
         
       
   | 
  
private   | 
  
 
 
◆ increase_ptl_tor_settings
◆ restart_write_period
      
        
          | int CheckpointFiles::restart_write_period | 
        
      
 
How many steps between restart writes. 
 
 
◆ run_count
      
        
          | int CheckpointFiles::run_count | 
        
      
 
How many times the simulation has been restarted. 
 
 
◆ stream
The documentation for this class was generated from the following files: