XGC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
DiagF0 Class Reference

#include <diag_f0.hpp>

Inheritance diagram for DiagF0:
Inheritance graph
[legend]
Collaboration diagram for DiagF0:
Collaboration graph
[legend]

Public Member Functions

 DiagF0 ()
 
void init (NLReader::NamelistReader &nlr, int default_period, bool is_XGCa_in)
 
void write (const Grid< DeviceType > &grid, const DomainDecomposition< DeviceType > &pol_decomp, Plasma &plasma, const Charges &charges, const ElectricField< DeviceType > &electric_field, const VGridDistribution< HostType > &f0_f, const VGridDistribution< HostType > &f0_n, double time, int gstep)
 
- Public Member Functions inherited from Diagnostic
bool is_triggered (int step)
 
bool has_been_triggered (int step)
 
int get_period () const
 
 Diagnostic ()
 
void init (const std::string &name, int period, int first_step=-1)
 
void open_stream (const std::string &filename, const XGC_IO_Mode &mode)
 
void close_stream ()
 
void write (const XGC_IO &xgc_io)
 
void start_write_step ()
 
bool is_first_step ()
 
void end_write_step ()
 

Public Attributes

bool adios_stage
 
bool diag_f0_g
 writing f0_g output in restart_dir/xgc.f0.xxx.bp More...
 
bool diag_f0_n
 writing f0_n output in restart_dir/xgc.f0.xxx.bp More...
 
bool is_XGCa
 
- Public Attributes inherited from Diagnostic
bool is_on
 

Additional Inherited Members

- Protected Attributes inherited from Diagnostic
StepTrigger step_trigger
 

Constructor & Destructor Documentation

DiagF0::DiagF0 ( )
inline

Member Function Documentation

void DiagF0::init ( NLReader::NamelistReader nlr,
int  default_period,
bool  is_XGCa_in 
)

< Enable/disable Adios stage mode for xgc.f0

Here is the call graph for this function:

Here is the caller graph for this function:

void DiagF0::write ( const Grid< DeviceType > &  grid,
const DomainDecomposition< DeviceType > &  pol_decomp,
Plasma plasma,
const Charges charges,
const ElectricField< DeviceType > &  electric_field,
const VGridDistribution< HostType > &  f0_f,
const VGridDistribution< HostType > &  f0_n,
double  time,
int  gstep 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

bool DiagF0::adios_stage
bool DiagF0::diag_f0_g

writing f0_g output in restart_dir/xgc.f0.xxx.bp

bool DiagF0::diag_f0_n

writing f0_n output in restart_dir/xgc.f0.xxx.bp

bool DiagF0::is_XGCa

The documentation for this class was generated from the following files: