XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
restart.cpp File Reference
#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"
Include dependency graph for restart.cpp:

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)
 
int get_spall_num_g (int isp)
 
void transfer_restart_ptl (int idx)
 
void validity_check ()
 
void restart_read_copy_tmp_to_f0f0g ()
 
void chargei_f0 ()
 
void chargee_f0 ()
 
void restart_read (Plasma &plasma, DomainDecomposition< DeviceType > &pol_decomp, const VelocityGrid &vgrid, bool sml_f0_grid)
 

Function Documentation

void chargee_f0 ( )
void chargei_f0 ( )
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:

int get_spall_num_g ( int  isp)
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 restart_read_copy_tmp_to_f0f0g ( )

Here is the caller graph for this function:

void restart_read_fort ( )

Here is the caller graph for this function:

void transfer_restart_ptl ( int  idx)

Here is the caller graph for this function:

void validity_check ( )

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:

void write_restart_p1 ( )

Here is the caller graph for this function:

void write_restart_p2 ( )

Here is the caller graph for this function: