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

#include <push_diagnostic.hpp>

Public Member Functions

 PushDiagnostic (NLReader::NamelistReader &nlr, bool allocate_df_diagnostic, int np, int nspecies, int nthreads)
 
 PushDiagnostic ()
 
bool determine_diag_on (int istep, int ipc)
 
KOKKOS_INLINE_FUNCTION void scatter_single_diag (bool is_deltaf, int ithread, int isp, int ip, double w, double dw, double wp, int i_v, double v) const
 
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 isp, const VFDiag< PushDiagToggle::On > &vf) const
 

Public Attributes

int d1d_period
 steps between diag recording 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 >
PushDiagnostic< Device >::PushDiagnostic ( NLReader::NamelistReader nlr,
bool  allocate_df_diagnostic,
int  np,
int  nspecies,
int  nthreads 
)

Constructor for pushe diagnostics

Here is the call graph for this function:

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

Member Function Documentation

template<class Device>
KOKKOS_INLINE_FUNCTION void PushDiagnostic< Device >::d1d_port1 ( const Grid< Device > &  grid,
const Species< Device > &  species,
const MagneticField< Device > &  magnetic_field,
const SimdParticles part,
const SimdPhase derivs,
int  isp,
const VFDiag< PushDiagToggle::On > &  vd 
) const

Bin particle contributions to diagnostics

Parameters
[in]partVector of particles
[in]derivsVector of phase derivatives
[in]ispType 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 PushDiagnostic< Device >::determine_diag_on ( int  istep,
int  ipc 
)
inline

Determine if diagnostics will be recorded this step/substep

template<class Device >
KOKKOS_INLINE_FUNCTION void PushDiagnostic< Device >::scatter_single_diag ( bool  is_deltaf,
int  ithread,
int  isp,
int  ip,
double  w,
double  dw,
double  wp,
int  i_v,
double  v 
) const

Here is the call graph for this function:

Member Data Documentation

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

Array of delta f diagnostic quantities (optional)

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

Array of diagnostic quantities.

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

steps between diag recording


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