XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Field< VarType::Scalar, PhiInterpType::Planes > Struct Template Reference

#include <field.hpp>

Public Member Functions

KOKKOS_INLINE_FUNCTION void gather (Simd< double > &sca, int i_simd, double wp, const double(&wphi)[2]) const
 
KOKKOS_INLINE_FUNCTION void gather (Simd< double > &sca, int i_simd, double wp, const FieldWeights< GyroKin, PhiInterpType::Planes > &wts, const Field< VarType::Scalar, PhiInterpType::Planes > &field2) const
 
KOKKOS_INLINE_FUNCTION void scatter (const FieldWeights< DriftKin, PhiInterpType::Planes > &wts, double wp)
 
KOKKOS_INLINE_FUNCTION void scatter (const FieldWeights< GyroKin, PhiInterpType::Planes > &wts, double wp, Field< VarType::Scalar, PhiInterpType::Planes > &field2)
 
Field< VarType::Scalar,
PhiInterpType::Planes > & 
operator+= (const Field< VarType::Scalar, PhiInterpType::Planes > &rhs)
 

Static Public Member Functions

static constexpr int NDIM ()
 
static constexpr int NPHI ()
 
static constexpr int SIZE ()
 

Public Attributes

double S [2]
 

Static Public Attributes

static constexpr PhiInterpType PIT = PhiInterpType::Planes
 
static constexpr VarType VT = VarType::Scalar
 

Member Function Documentation

KOKKOS_INLINE_FUNCTION void Field< VarType::Scalar, PhiInterpType::Planes >::gather ( Simd< double > &  sca,
int  i_simd,
double  wp,
const double(&)  wphi[2] 
) const
inline
Gathers field info from a grid point
Parameters
[out]sca,:scalar to be gathered into
[in]i_simd,:which vector index
[in]wp,:triangle vertex weight
[in]wphi,:plane weight
KOKKOS_INLINE_FUNCTION void Field< VarType::Scalar, PhiInterpType::Planes >::gather ( Simd< double > &  sca,
int  i_simd,
double  wp,
const FieldWeights< GyroKin, PhiInterpType::Planes > &  wts,
const Field< VarType::Scalar, PhiInterpType::Planes > &  field2 
) const
inline
Gathers field info from a grid point
Parameters
[out]sca,:scalar to be gathered into
[in]i_simd,:which vector index
[in]wp,:triangle vertex weight
[in]wts,:grid weights
[in]field2,:the field info at another rho
static constexpr int Field< VarType::Scalar, PhiInterpType::Planes >::NDIM ( )
inlinestatic
static constexpr int Field< VarType::Scalar, PhiInterpType::Planes >::NPHI ( )
inlinestatic
KOKKOS_INLINE_FUNCTION void Field< VarType::Scalar, PhiInterpType::Planes >::scatter ( const FieldWeights< DriftKin, PhiInterpType::Planes > &  wts,
double  wp 
)
inline

Here is the call graph for this function:

KOKKOS_INLINE_FUNCTION void Field< VarType::Scalar, PhiInterpType::Planes >::scatter ( const FieldWeights< GyroKin, PhiInterpType::Planes > &  wts,
double  wp,
Field< VarType::Scalar, PhiInterpType::Planes > &  field2 
)
inline

Here is the call graph for this function:

static constexpr int Field< VarType::Scalar, PhiInterpType::Planes >::SIZE ( )
inlinestatic

Member Data Documentation


The documentation for this struct was generated from the following file: