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

#include <diag_3d.hpp>

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

Public Member Functions

 Diag3D ()
 
void init (NLReader::NamelistReader &nlr, const Grid< DeviceType > &grid, int default_period)
 
void write (const Grid< DeviceType > &grid, const Simulation< DeviceType > &sml, const Sheath< DeviceType > &sheath, const PerturbedBField< DeviceType > &perturbed_B_field, const DomainDecomposition< DeviceType > &pol_decomp, Plasma &plasma, const Charges &charges, const ElectricField< DeviceType > &electric_field, double time, int gstep)
 
void calculate_E_out (const Grid< DeviceType > &grid, const ElectricField< DeviceType > &electric_field, const View< double **, CLayout, HostType > &E_grid, View< double **, CLayout, HostType > &E_out, View< double **, CLayout, HostType > &dEdt_out, double dt)
 
void store_E_field (const ElectricField< DeviceType > &electric_field)
 
View< double **, CLayout,
HostType
calculate_B_out_base (const Grid< DeviceType > &grid, const View< double **, CLayout, HostType > &B_grid)
 
void add_B_out_ptb_3db (const Grid< DeviceType > &grid, const PerturbedBField< DeviceType > &perturbed_B_field, const View< double **, CLayout, HostType > &B_out, double phi)
 
View< double **, CLayout,
HostType
calculate_B_out (const Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, const DomainDecomposition< DeviceType > &pol_decomp, const PerturbedBField< DeviceType > &perturbed_B_field, const View< double **, CLayout, HostType > &B_grid)
 
- 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 weight_stats
 
bool additional_moments
 
- Public Attributes inherited from Diagnostic
bool is_on
 

Private Attributes

View< double **, CLayout,
HostType
E_saved
 

Additional Inherited Members

- Protected Attributes inherited from Diagnostic
StepTrigger step_trigger
 

Constructor & Destructor Documentation

Diag3D::Diag3D ( )
inline

Member Function Documentation

void Diag3D::add_B_out_ptb_3db ( const Grid< DeviceType > &  grid,
const PerturbedBField< DeviceType > &  perturbed_B_field,
const View< double **, CLayout, HostType > &  B_out,
double  phi 
)

Here is the call graph for this function:

Here is the caller graph for this function:

View< double **, CLayout, HostType > Diag3D::calculate_B_out ( const Simulation< DeviceType > &  sml,
const Grid< DeviceType > &  grid,
const DomainDecomposition< DeviceType > &  pol_decomp,
const PerturbedBField< DeviceType > &  perturbed_B_field,
const View< double **, CLayout, HostType > &  B_grid 
)

Here is the call graph for this function:

View< double **, CLayout, HostType > Diag3D::calculate_B_out_base ( const Grid< DeviceType > &  grid,
const View< double **, CLayout, HostType > &  B_grid 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Diag3D::calculate_E_out ( const Grid< DeviceType > &  grid,
const ElectricField< DeviceType > &  electric_field,
const View< double **, CLayout, HostType > &  E_grid,
View< double **, CLayout, HostType > &  E_out,
View< double **, CLayout, HostType > &  dEdt_out,
double  dt 
)

Here is the call graph for this function:

void Diag3D::init ( NLReader::NamelistReader nlr,
const Grid< DeviceType > &  grid,
int  default_period 
)

< Enable/disable Adios stage mode for xgc.3d

Here is the call graph for this function:

Here is the caller graph for this function:

void Diag3D::store_E_field ( const ElectricField< DeviceType > &  electric_field)

Here is the call graph for this function:

Here is the caller graph for this function:

void Diag3D::write ( const Grid< DeviceType > &  grid,
const Simulation< DeviceType > &  sml,
const Sheath< DeviceType > &  sheath,
const PerturbedBField< DeviceType > &  perturbed_B_field,
const DomainDecomposition< DeviceType > &  pol_decomp,
Plasma plasma,
const Charges charges,
const ElectricField< DeviceType > &  electric_field,
double  time,
int  gstep 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

bool Diag3D::additional_moments
bool Diag3D::adios_stage
View<double**,CLayout,HostType> Diag3D::E_saved
private
bool Diag3D::weight_stats

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