XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 dependency graph for checkpoint_files.cpp:

Functions

void set_sml_time (double time)
 
void set_fortran_sml_restart_false ()
 
void mon_write_restart ()
 
void mon_write_restart_stop ()
 
void set_species_maxgid (int idx, long long int maxgid)
 
double * get_sheath_pot_loc ()
 
double * get_psn_jpar0_loc ()
 
double * get_psn_cden0_loc ()
 
void background_edensity0_output_wrap ()
 
void set_3db_rampup_fac (double rampup_fac)
 
void interpolate_array_toroidally (const View< double **, CLayout, HostType > &input, const View< double **, CLayout, HostType, Kokkos::MemoryTraits< Kokkos::Unmanaged >> &output)
 
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 ptb_3db_write_checkpoint_files (const XGC_IO_Stream &stream)
 
void ptb_3db_read_checkpoint_files (const XGC_IO_Stream &stream)
 
void sheath_write_checkpoint_files (const Sheath< DeviceType > &sheath, const XGC_IO_Stream &stream)
 
void sheath_read_checkpoint_files (Sheath< DeviceType > &sheath, const XGC_IO_Stream &stream)
 
void loop_voltage_write_checkpoint_files (const ElectricField< DeviceType > &electric_field, const XGC_IO_Stream &stream)
 
void loop_voltage_read_checkpoint_files (const ElectricField< DeviceType > &electric_field, 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 PerturbedBField< DeviceType > &perturbed_B_field, const XGC_IO_Stream &stream)
 
void em_read_checkpoint_files (const Simulation< DeviceType > &sml, const ElectricField< DeviceType > &electric_field, const DomainDecomposition< DeviceType > &pol_decomp, const Grid< DeviceType > &grid, const PerturbedBField< DeviceType > &perturbed_B_field, const XGC_IO_Stream &stream)
 
bool checkpoint_timestep_file_exists ()
 

Function Documentation

void background_edensity0_output_wrap ( )

Here is the call graph for this function:

Here is the caller graph for this function:

bool checkpoint_timestep_file_exists ( )

Here is the call graph for this function:

Here is the caller graph for this function:

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:

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:

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:

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:

void em_read_checkpoint_files ( const Simulation< DeviceType > &  sml,
const ElectricField< DeviceType > &  electric_field,
const DomainDecomposition< DeviceType > &  pol_decomp,
const Grid< DeviceType > &  grid,
const PerturbedBField< DeviceType > &  perturbed_B_field,
const XGC_IO_Stream stream 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void em_write_checkpoint_files ( const Simulation< DeviceType > &  sml,
const ElectricField< DeviceType > &  electric_field,
const DomainDecomposition< DeviceType > &  pol_decomp,
const Grid< DeviceType > &  grid,
const PerturbedBField< DeviceType > &  perturbed_B_field,
const XGC_IO_Stream stream 
)

Here is the call graph for this function:

Here is the caller graph for this function:

double* get_psn_cden0_loc ( )

Here is the caller graph for this function:

double* get_psn_jpar0_loc ( )

Here is the caller graph for this function:

double* get_sheath_pot_loc ( )

Here is the caller graph for this function:

void interpolate_array_toroidally ( const View< double **, CLayout, HostType > &  input,
const View< double **, CLayout, HostType, Kokkos::MemoryTraits< Kokkos::Unmanaged >> &  output 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void loop_voltage_read_checkpoint_files ( 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:

void loop_voltage_write_checkpoint_files ( 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:

void mon_write_restart ( )

Here is the caller graph for this function:

void mon_write_restart_stop ( )

Here is the caller graph for this function:

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:

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:

void ptb_3db_read_checkpoint_files ( const XGC_IO_Stream stream)

Here is the call graph for this function:

Here is the caller graph for this function:

void ptb_3db_write_checkpoint_files ( const XGC_IO_Stream stream)

Here is the call graph for this function:

Here is the caller graph for this function:

void set_3db_rampup_fac ( double  rampup_fac)

Here is the caller graph for this function:

void set_fortran_sml_restart_false ( )

Here is the caller graph for this function:

void set_sml_time ( double  time)

Here is the caller graph for this function:

void set_species_maxgid ( int  idx,
long long int  maxgid 
)

Here is the caller graph for this function:

void sheath_read_checkpoint_files ( Sheath< DeviceType > &  sheath,
const XGC_IO_Stream stream 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void sheath_write_checkpoint_files ( const Sheath< DeviceType > &  sheath,
const XGC_IO_Stream stream 
)

Here is the call graph for this function:

Here is the caller graph for this function:

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:

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: