XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
restart.hpp File Reference
#include "sml.hpp"
#include "species.hpp"
#include "electric_field.hpp"
#include "grid.hpp"
#include "domain_decomposition.hpp"
Include dependency graph for restart.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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 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: