|
XGC1
|
#include <diag_3d.hpp>


Public Member Functions | |
| Diag3D () | |
| void | init (NLReader::NamelistReader &nlr, const Grid< DeviceType > &grid, const Plasma &plasma, 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 | additional (const DomainDecomposition< DeviceType > &pol_decomp, const Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, Plasma &plasma) const |
| void | diag_marker_den (const DomainDecomposition< DeviceType > &pol_decomp, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, Plasma &plasma, bool is_XGCa) const |
| 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 |
| View< double ***, CLayout, HostType > | diag_3d_add |
| View< double **, CLayout, HostType > | marker_den |
| View< double **, CLayout, HostType > | weight_mean |
| View< double **, CLayout, HostType > | weight_variance |
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 | ||
| ) |


| void Diag3D::additional | ( | const DomainDecomposition< DeviceType > & | pol_decomp, |
| const Simulation< DeviceType > & | sml, | ||
| const Grid< DeviceType > & | grid, | ||
| const MagneticField< DeviceType > & | magnetic_field, | ||
| Plasma & | plasma | ||
| ) | const |


| 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::diag_marker_den | ( | const DomainDecomposition< DeviceType > & | pol_decomp, |
| const Grid< DeviceType > & | grid, | ||
| const MagneticField< DeviceType > & | magnetic_field, | ||
| Plasma & | plasma, | ||
| bool | is_XGCa | ||
| ) | const |


| void Diag3D::init | ( | NLReader::NamelistReader & | nlr, |
| const Grid< DeviceType > & | grid, | ||
| const Plasma & | plasma, | ||
| 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 |