XGC1
|
#include "sml.hpp"
#include "move_f0g_to_ptl.hpp"
#include "timer_macro.hpp"
#include "checkpoint.hpp"
#include "memory_cleaning_simple.hpp"
#include "f0_redistribute.hpp"
#include "restart.hpp"
Functions | |
void | write_restart_p1 () |
void | write_restart_p2 () |
void | restart_read_fort () |
void | write_restart (Plasma &plasma) |
void | final_write_restart (const Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, ElectricField< DeviceType > &electric_field, Plasma &plasma, const VelocityGrid &vgrid, const DomainDecomposition< DeviceType > &pol_decomp, DMWrapper &pseudo_inv_dm, Diagnostics &diagnostics) |
int | get_spall_num_g (int isp) |
void | transfer_restart_ptl (int idx) |
void | restart_read_copy_tmp_to_f0f0g () |
void | restart_read (Plasma &plasma, DomainDecomposition< DeviceType > &pol_decomp, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, const VelocityGrid &vgrid, bool sml_f0_grid) |
void final_write_restart | ( | const Simulation< DeviceType > & | sml, |
const Grid< DeviceType > & | grid, | ||
const MagneticField< DeviceType > & | magnetic_field, | ||
ElectricField< DeviceType > & | electric_field, | ||
Plasma & | plasma, | ||
const VelocityGrid & | vgrid, | ||
const DomainDecomposition< DeviceType > & | pol_decomp, | ||
DMWrapper & | pseudo_inv_dm, | ||
Diagnostics & | diagnostics | ||
) |
Writes restart files at the end of the simulation. If resampling is on, data is moved from the phase space mesh into the particle weights first.
[in] | sml | is used for the resampling control parameters |
int get_spall_num_g | ( | int | isp | ) |
void restart_read | ( | Plasma & | plasma, |
DomainDecomposition< DeviceType > & | pol_decomp, | ||
const Grid< DeviceType > & | grid, | ||
const MagneticField< DeviceType > & | magnetic_field, | ||
const VelocityGrid & | vgrid, | ||
bool | sml_f0_grid | ||
) |
void restart_read_copy_tmp_to_f0f0g | ( | ) |
void restart_read_fort | ( | ) |
void transfer_restart_ptl | ( | int | idx | ) |
void write_restart | ( | Plasma & | plasma | ) |
Writes restart files
void write_restart_p1 | ( | ) |
void write_restart_p2 | ( | ) |