XGC1
Functions
checkpoint_files.cpp File Reference
#include <fstream>
#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 "view_arithmetic.hpp"
#include "shift.hpp"
#include "validity_check.hpp"
#include "checkpoint_files.hpp"
#include "perf_monitor.hpp"
Include dependency graph for checkpoint_files.cpp:

Functions

void set_fortran_sml_restart_false ()
 
void set_species_maxgid (int idx, long long int maxgid)
 
void write_checkpoint_file_version (int version, const XGC_IO_Stream &stream)
 
int read_checkpoint_file_version (const XGC_IO_Stream &stream)
 
void sml_write_checkpoint_files (const Simulation< DeviceType > &sml, const XGC_IO_Stream &stream)
 
void sml_read_checkpoint_files (Simulation< DeviceType > &sml, const XGC_IO_Stream &stream)
 
void loop_voltage_write_checkpoint_files (const ElectricField< DeviceType > &electric_field, const CurrentDrive &current_drive, const XGC_IO_Stream &stream)
 
void loop_voltage_read_checkpoint_files (const ElectricField< DeviceType > &electric_field, const CurrentDrive &current_drive, const XGC_IO_Stream &stream)
 
void decomp_write_checkpoint_files (const Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, const VelocityGrid &vgrid, const DomainDecomposition< DeviceType > &pol_decomp, const XGC_IO_Stream &stream)
 
void decomp_read_checkpoint_files (const Grid< DeviceType > &grid, DomainDecomposition< DeviceType > &pol_decomp, const XGC_IO_Stream &stream)
 
void mpi_write_checkpoint_files (const XGC_IO_Stream &stream, int nranks, int my_rank)
 
void mpi_read_checkpoint_files (const XGC_IO_Stream &stream, int &previous_n_ranks)
 
void dpot_write_checkpoint_files (const Grid< DeviceType > &grid, const DomainDecomposition< DeviceType > &pol_decomp, const ElectricField< DeviceType > &electric_field, const XGC_IO_Stream &stream)
 
void dpot_read_checkpoint_files (const Grid< DeviceType > &grid, const DomainDecomposition< DeviceType > &pol_decomp, ElectricField< DeviceType > &electric_field, const XGC_IO_Stream &stream)
 
void em_write_checkpoint_files (const Simulation< DeviceType > &sml, const ElectricField< DeviceType > &electric_field, const DomainDecomposition< DeviceType > &pol_decomp, const Grid< DeviceType > &grid, const XGC_IO_Stream &stream)
 
void em_read_checkpoint_files (const ElectricField< DeviceType > &electric_field, const DomainDecomposition< DeviceType > &pol_decomp, const Grid< DeviceType > &grid, const XGC_IO_Stream &stream)
 
bool checkpoint_file_exists (const std::string &filename)
 

Function Documentation

◆ checkpoint_file_exists()

bool checkpoint_file_exists ( const std::string &  filename)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ decomp_read_checkpoint_files()

void decomp_read_checkpoint_files ( const Grid< DeviceType > &  grid,
DomainDecomposition< DeviceType > &  pol_decomp,
const XGC_IO_Stream stream 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ decomp_write_checkpoint_files()

void decomp_write_checkpoint_files ( const Simulation< DeviceType > &  sml,
const Grid< DeviceType > &  grid,
const VelocityGrid vgrid,
const DomainDecomposition< DeviceType > &  pol_decomp,
const XGC_IO_Stream stream 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dpot_read_checkpoint_files()

void dpot_read_checkpoint_files ( const Grid< DeviceType > &  grid,
const DomainDecomposition< DeviceType > &  pol_decomp,
ElectricField< DeviceType > &  electric_field,
const XGC_IO_Stream stream 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dpot_write_checkpoint_files()

void dpot_write_checkpoint_files ( const Grid< DeviceType > &  grid,
const DomainDecomposition< DeviceType > &  pol_decomp,
const ElectricField< DeviceType > &  electric_field,
const XGC_IO_Stream stream 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ em_read_checkpoint_files()

void em_read_checkpoint_files ( const ElectricField< DeviceType > &  electric_field,
const DomainDecomposition< DeviceType > &  pol_decomp,
const Grid< DeviceType > &  grid,
const XGC_IO_Stream stream 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ em_write_checkpoint_files()

void em_write_checkpoint_files ( const Simulation< DeviceType > &  sml,
const ElectricField< DeviceType > &  electric_field,
const DomainDecomposition< DeviceType > &  pol_decomp,
const Grid< DeviceType > &  grid,
const XGC_IO_Stream stream 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ loop_voltage_read_checkpoint_files()

void loop_voltage_read_checkpoint_files ( const ElectricField< DeviceType > &  electric_field,
const CurrentDrive current_drive,
const XGC_IO_Stream stream 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ loop_voltage_write_checkpoint_files()

void loop_voltage_write_checkpoint_files ( const ElectricField< DeviceType > &  electric_field,
const CurrentDrive current_drive,
const XGC_IO_Stream stream 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ mpi_read_checkpoint_files()

void mpi_read_checkpoint_files ( const XGC_IO_Stream stream,
int &  previous_n_ranks 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ mpi_write_checkpoint_files()

void mpi_write_checkpoint_files ( const XGC_IO_Stream stream,
int  nranks,
int  my_rank 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_checkpoint_file_version()

int read_checkpoint_file_version ( const XGC_IO_Stream stream)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_fortran_sml_restart_false()

void set_fortran_sml_restart_false ( )
Here is the caller graph for this function:

◆ set_species_maxgid()

void set_species_maxgid ( int  idx,
long long int  maxgid 
)
Here is the caller graph for this function:

◆ sml_read_checkpoint_files()

void sml_read_checkpoint_files ( Simulation< DeviceType > &  sml,
const XGC_IO_Stream stream 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sml_write_checkpoint_files()

void sml_write_checkpoint_files ( const Simulation< DeviceType > &  sml,
const XGC_IO_Stream stream 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ write_checkpoint_file_version()

void write_checkpoint_file_version ( int  version,
const XGC_IO_Stream stream 
)
Here is the call graph for this function:
Here is the caller graph for this function: