XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Public Attributes | List of all members
Diagnostics< Device > Class Template Reference

#include <pushe_diagnostics.hpp>

Public Member Functions

 Diagnostics (int d1d_period_in, int d1d_npsi_in, double d1d_pin_in, double d1d_dp_inv_in, bool allocate_df_diagnostic, int np, int nspecies, int nthreads)
 
 Diagnostics ()
 
bool determine_diag_on (int istep, int ipc)
 
KOKKOS_INLINE_FUNCTION void d1d_port1 (const Grid< Device > &grid, const Species< Device > &species, const MagneticField< Device > &magnetic_field, const SimdParticles &part, const SimdPhase &derivs, int sp_type, const Simd< double > *vd) const
 

Public Attributes

int d1d_period
 steps between diag recording More...
 
int d1d_npsi
 Number of psi bins. More...
 
double d1d_pin
 ? More...
 
double d1d_dp_inv
 Inverse of the psi bin size. More...
 
Kokkos::View< double
****, Kokkos::LayoutRight,
Device > 
d1d_f_pv1
 Array of diagnostic quantities. More...
 
Kokkos::View< double
****, Kokkos::LayoutRight,
Device > 
d1d_df_pv1
 Array of delta f diagnostic quantities (optional) More...
 

Constructor & Destructor Documentation

template<class Device >
Diagnostics< Device >::Diagnostics ( int  d1d_period_in,
int  d1d_npsi_in,
double  d1d_pin_in,
double  d1d_dp_inv_in,
bool  allocate_df_diagnostic,
int  np,
int  nspecies,
int  nthreads 
)

Constructor for pushe diagnostics without d1d_df_pv1

template<class Device>
Diagnostics< Device >::Diagnostics ( )
inline

Member Function Documentation

template<class Device >
KOKKOS_INLINE_FUNCTION void Diagnostics< Device >::d1d_port1 ( const Grid< Device > &  grid,
const Species< Device > &  species,
const MagneticField< Device > &  magnetic_field,
const SimdParticles part,
const SimdPhase derivs,
int  sp_type,
const Simd< double > *  vd 
) const

Bin particle contributions to diagnostics

Parameters
[in]partVector of particles
[in]derivsVector of phase derivatives
[in]sp_typeType of particle (currently just electron, 0)
[in]vdVector of diagnostic quantities

Here is the call graph for this function:

Here is the caller graph for this function:

template<class Device >
bool Diagnostics< Device >::determine_diag_on ( int  istep,
int  ipc 
)
inline

Determine if diagnostics will be recorded this step/substep

Here is the caller graph for this function:

Member Data Documentation

template<class Device>
Kokkos::View<double****,Kokkos::LayoutRight,Device> Diagnostics< Device >::d1d_df_pv1

Array of delta f diagnostic quantities (optional)

template<class Device>
double Diagnostics< Device >::d1d_dp_inv

Inverse of the psi bin size.

template<class Device>
Kokkos::View<double****,Kokkos::LayoutRight,Device> Diagnostics< Device >::d1d_f_pv1

Array of diagnostic quantities.

template<class Device>
int Diagnostics< Device >::d1d_npsi

Number of psi bins.

template<class Device>
int Diagnostics< Device >::d1d_period

steps between diag recording

template<class Device>
double Diagnostics< Device >::d1d_pin

?


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