XGCa
|
#include <diag_3d.hpp>
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 |
|
inline |
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 | ||
) |
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 | ||
) |
View< double **, CLayout, HostType > Diag3D::calculate_B_out_base | ( | const Grid< DeviceType > & | grid, |
const View< double **, CLayout, HostType > & | B_grid | ||
) |
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 | ||
) |
void Diag3D::init | ( | NLReader::NamelistReader & | nlr, |
const Grid< DeviceType > & | grid, | ||
int | default_period | ||
) |
< Enable/disable Adios stage mode for xgc.3d
void Diag3D::store_E_field | ( | const ElectricField< DeviceType > & | electric_field | ) |
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 | ||
) |
bool Diag3D::additional_moments |
bool Diag3D::adios_stage |
bool Diag3D::weight_stats |