XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
restart.hpp File Reference
#include "sml.hpp"
#include "plasma.hpp"
#include "electric_field.hpp"
#include "grid.hpp"
#include "domain_decomposition.hpp"
#include "DM_wrapper.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 (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)
 
void restart_read (Plasma &plasma, DomainDecomposition< DeviceType > &pol_decomp, const VelocityGrid &vgrid, bool sml_f0_grid)
 

Function Documentation

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 
)

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.

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 restart_read ( Plasma plasma,
DomainDecomposition< DeviceType > &  pol_decomp,
const VelocityGrid vgrid,
bool  sml_f0_grid 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void write_restart ( Plasma plasma)

Writes restart files

Returns
void

Here is the call graph for this function:

Here is the caller graph for this function: