#include <diag_1d.hpp>
|
| Diag1D () |
|
void | write_volume (const VolumesAndAreas &volumes_and_areas) |
|
void | init (NLReader::NamelistReader &nlr, const DomainDecomposition< DeviceType > &pol_decomp, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, const Plasma &plasma, bool allocate_df_diagnostic) |
|
View< double ***, CLayout, HostType > | diag_1d_f0 (const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, const DomainDecomposition< DeviceType > &pol_decomp, const VelocityGrid &vgrid, Plasma &plasma, PerturbedBField< DeviceType > &perturbed_B_field, const ElectricField< DeviceType > &electric_field, const Simulation< DeviceType > &sml) |
|
void | write (const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, const DomainDecomposition< DeviceType > &pol_decomp, const VelocityGrid &vgrid, Plasma &plasma, const Charges &charges, const ElectricField< DeviceType > &electric_field, PerturbedBField< DeviceType > &perturbed_B_field, const Simulation< DeviceType > &sml, double time, int gstep) |
|
void | reduce_and_copy_to_host (const View< double ****, CLayout, DeviceType > &d1d_f_pv1, const View< double ****, CLayout, DeviceType > &d1d_df_pv1) const |
|
void | clear () |
|
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 () |
|
|
enum | VarNames {
GC_Density =0
, GC_ToroidalFlow
, GC_PoloidalFlow
, ParallelFlow
,
TorAngMom
, RadialFlux
, ParallelMeanEnergy
, PerpTemp
,
RadialEnFlux
, RadialMomFluxExB
, RadialMomFlux
, RadialFluxExB
,
RadialEnFluxExB
, PoloidalExBFlow
, VParxB
, GradPsiSqr
,
RadialFlux3DB
, RadialEnFlux3DB
, MarkerDensity
, NVARS
} |
|
|
std::vector< std::string > | var_names |
|
bool | deltaf_diag_on |
|
bool | f0_diag_on |
|
View< double ***, CLayout, HostType > | d1d_f_pv1_h |
|
View< double ***, CLayout, HostType > | d1d_df_pv1_h |
|
View< double *, CLayout, HostType > | diag_1d_vol_h |
|
View< double *, CLayout, DeviceType > | v_curv_rad_fsa |
|
View< double *, CLayout, DeviceType > | v_grad_B_rad_fsa |
|
◆ VarNames
Enumerator |
---|
GC_Density | |
GC_ToroidalFlow | |
GC_PoloidalFlow | |
ParallelFlow | |
TorAngMom | |
RadialFlux | |
ParallelMeanEnergy | |
PerpTemp | |
RadialEnFlux | |
RadialMomFluxExB | |
RadialMomFlux | |
RadialFluxExB | |
RadialEnFluxExB | |
PoloidalExBFlow | |
VParxB | |
GradPsiSqr | |
RadialFlux3DB | |
RadialEnFlux3DB | |
MarkerDensity | |
NVARS | |
◆ Diag1D()
◆ clear()
◆ diag_1d_f0()
◆ init()
◆ reduce_and_copy_to_host()
◆ write()
void Diag1D::write |
( |
const Grid< DeviceType > & |
grid, |
|
|
const MagneticField< DeviceType > & |
magnetic_field, |
|
|
const DomainDecomposition< DeviceType > & |
pol_decomp, |
|
|
const VelocityGrid & |
vgrid, |
|
|
Plasma & |
plasma, |
|
|
const Charges & |
charges, |
|
|
const ElectricField< DeviceType > & |
electric_field, |
|
|
PerturbedBField< DeviceType > & |
perturbed_B_field, |
|
|
const Simulation< DeviceType > & |
sml, |
|
|
double |
time, |
|
|
int |
gstep |
|
) |
| |
◆ write_volume()
◆ d1d_df_pv1_h
◆ d1d_f_pv1_h
◆ deltaf_diag_on
bool Diag1D::deltaf_diag_on |
|
private |
◆ diag_1d_vol_h
◆ f0_diag_on
◆ v_curv_rad_fsa
◆ v_grad_B_rad_fsa
◆ var_names
std::vector<std::string> Diag1D::var_names |
|
private |
The documentation for this class was generated from the following files:
- /p/test_ssd/builds/t3_84szKM/0/xgc/XGC-Devel/XGC_core/cpp/diag_1d.hpp
- /p/test_ssd/builds/t3_84szKM/0/xgc/XGC-Devel/XGC_core/cpp/diag_1d.cpp