1 #ifndef CHECKPOINT_FILES_HPP
2 #define CHECKPOINT_FILES_HPP
Definition: perturbed_B_field.hpp:11
void read(Simulation< DeviceType > &sml, Plasma &plasma, ElectricField< DeviceType > &electric_field, Sheath< DeviceType > &sheath, PerturbedBField< DeviceType > &perturbed_B_field, DomainDecomposition< DeviceType > &pol_decomp, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, const VelocityGrid &vgrid)
Definition: checkpoint_files.cpp:592
T get(const string ¶m, const T default_val, int val_ind=0)
Definition: NamelistReader.hpp:373
Definition: velocity_grid.hpp:8
Definition: diagnostics.hpp:13
subroutine plasma(grid, itr, p, dene_out, deni_out, Te_out, Ti_out, Vparai_out)
Calculate the plasma density, temperature, and parallel velocity for a point in triangle itr using pl...
Definition: neutral_totalf.F90:1238
Definition: NamelistReader.hpp:193
Definition: DM_wrapper.hpp:38
Definition: magnetic_field.hpp:12
XGC_IO_Stream f0_stream
Definition: checkpoint_files.hpp:23
bool do_restart(NLReader::NamelistReader &nlr)
Definition: checkpoint_files.cpp:742
Definition: electric_field.hpp:37
bool increase_ptl_tor_on
Definition: checkpoint_files.hpp:29
bool adios_stage_restart_f0
Enable/disable Adios stage mode for xgc.restartf0.
Definition: checkpoint_files.hpp:27
void use_namelist(const string &namelist)
Definition: NamelistReader.hpp:355
XGC_IO_Stream mvr_stream
Definition: checkpoint_files.hpp:24
bool adios_stage_restart
Enable/disable Adios stage mode for xgc.restart.
Definition: checkpoint_files.hpp:26
XGC_IO_Stream stream
Definition: checkpoint_files.hpp:22
IncreasePtlTorSettings increase_ptl_tor_settings
Definition: checkpoint_files.hpp:30
Definition: xgc_io.hpp:19
Definition: magnetic_field.F90:1
int run_count
How many times the simulation has been restarted.
Definition: checkpoint_files.hpp:35
Definition: plasma.hpp:14
Definition: checkpoint_files.hpp:21
Definition: sheath.hpp:42
void Init(const std::string &IOName)
Definition: xgc_io.hpp:24
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 PerturbedBField< DeviceType > &perturbed_B_field, const VelocityGrid &vgrid, DomainDecomposition< DeviceType > &pol_decomp, DMWrapper &pseudo_inv_dm, Diagnostics &diagnostics, RestartOption restart_option=RestartOption::NotFinal)
Definition: checkpoint_files.cpp:481
RestartOption
Definition: checkpoint_files.hpp:15
CheckpointFiles(NLReader::NamelistReader &nlr, bool f0_grid, bool em)
Definition: checkpoint_files.hpp:37
Definition: increase_ptl_tor.hpp:7
int restart_write_period
How many steps between restart writes.
Definition: checkpoint_files.hpp:34