XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
restart.cpp File Reference
#include "sml.hpp"
#include "restart.hpp"
#include "move_f0g_to_ptl.hpp"
Include dependency graph for restart.cpp:

Functions

void write_restart_p1 ()
 
void write_restart_p2 ()
 
void coupling_particle_write ()
 
void write_restart ()
 
void final_write_restart (FortranPtr psn_fptr, FortranPtr spall_fptr, const Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, ElectricField< DeviceType > &electric_field, std::vector< Species< DeviceType >> &all_species, TmpSpecies< DeviceType > &tmp_species, const VelocityGrid &vgrid, const DomainDecomposition< DeviceType > &pol_decomp)
 

Function Documentation

void coupling_particle_write ( )

Here is the caller graph for this function:

void final_write_restart ( FortranPtr  psn_fptr,
FortranPtr  spall_fptr,
const Simulation< DeviceType > &  sml,
const Grid< DeviceType > &  grid,
const MagneticField< DeviceType > &  magnetic_field,
ElectricField< DeviceType > &  electric_field,
std::vector< Species< DeviceType >> &  all_species,
TmpSpecies< DeviceType > &  tmp_species,
const VelocityGrid vgrid,
const DomainDecomposition< DeviceType > &  pol_decomp 
)

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. The particle write for coupling is also written here.

Parameters
[in]smlis used for the resampling control parameters
Returns
void

Here is the call graph for this function:

Here is the caller graph for this function:

void write_restart ( )

Writes restart files

Returns
void

Here is the call graph for this function:

Here is the caller graph for this function:

void write_restart_p1 ( )

Here is the caller graph for this function:

void write_restart_p2 ( )

Here is the caller graph for this function: