XGC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
GridField< Device, VT, PIT, TorType::OnePlane, KinType::GyroKin, ScatterType::Atomic > Struct Template Reference

#include <grid_field.hpp>

Public Types

using field_type = Field< VT, PIT >
 
using device_type = Device
 

Public Member Functions

 GridField ()
 
 GridField (std::string name, int nphi, int nrho, int nnode)
 
 GridField (std::string name, int nrho, int nnode)
 
field_typedata () const
 
int size () const
 
int nnode () const
 
int nrhop1 () const
 
int nphi () const
 
KOKKOS_INLINE_FUNCTION bool is_allocated () const
 
KOKKOS_INLINE_FUNCTION field_typeoperator() (int inode, int irho) const
 
KOKKOS_INLINE_FUNCTION void scatter (int node, const FieldWeights< GyroKin, PIT > &wts, double particle_weight) const
 
KOKKOS_INLINE_FUNCTION void scatter (const Grid< DeviceType > &grid, int ithread, const SimdGridWeights< Order::One, PIT_GLOBAL > &grid_wts, int i_simd, const FieldWeights< GyroKin, PIT > &wts, double particle_weight) const
 
void reset_to_zero ()
 

Public Attributes

Kokkos::View< field_type
**, Kokkos::LayoutRight,
Device > 
f
 

Static Public Attributes

static constexpr KinType KT = KinType::GyroKin
 

Member Typedef Documentation

template<class Device , VarType VT, PhiInterpType PIT>
using GridField< Device, VT, PIT, TorType::OnePlane, KinType::GyroKin, ScatterType::Atomic >::device_type = Device
template<class Device , VarType VT, PhiInterpType PIT>
using GridField< Device, VT, PIT, TorType::OnePlane, KinType::GyroKin, ScatterType::Atomic >::field_type = Field<VT,PIT>

Constructor & Destructor Documentation

template<class Device , VarType VT, PhiInterpType PIT>
GridField< Device, VT, PIT, TorType::OnePlane, KinType::GyroKin, ScatterType::Atomic >::GridField ( )
inline
template<class Device , VarType VT, PhiInterpType PIT>
GridField< Device, VT, PIT, TorType::OnePlane, KinType::GyroKin, ScatterType::Atomic >::GridField ( std::string  name,
int  nphi,
int  nrho,
int  nnode 
)
inline
template<class Device , VarType VT, PhiInterpType PIT>
GridField< Device, VT, PIT, TorType::OnePlane, KinType::GyroKin, ScatterType::Atomic >::GridField ( std::string  name,
int  nrho,
int  nnode 
)
inline

Member Function Documentation

template<class Device , VarType VT, PhiInterpType PIT>
field_type* GridField< Device, VT, PIT, TorType::OnePlane, KinType::GyroKin, ScatterType::Atomic >::data ( ) const
inline
template<class Device , VarType VT, PhiInterpType PIT>
KOKKOS_INLINE_FUNCTION bool GridField< Device, VT, PIT, TorType::OnePlane, KinType::GyroKin, ScatterType::Atomic >::is_allocated ( ) const
inline
template<class Device , VarType VT, PhiInterpType PIT>
int GridField< Device, VT, PIT, TorType::OnePlane, KinType::GyroKin, ScatterType::Atomic >::nnode ( ) const
inline
template<class Device , VarType VT, PhiInterpType PIT>
int GridField< Device, VT, PIT, TorType::OnePlane, KinType::GyroKin, ScatterType::Atomic >::nphi ( ) const
inline
template<class Device , VarType VT, PhiInterpType PIT>
int GridField< Device, VT, PIT, TorType::OnePlane, KinType::GyroKin, ScatterType::Atomic >::nrhop1 ( ) const
inline
template<class Device , VarType VT, PhiInterpType PIT>
KOKKOS_INLINE_FUNCTION field_type& GridField< Device, VT, PIT, TorType::OnePlane, KinType::GyroKin, ScatterType::Atomic >::operator() ( int  inode,
int  irho 
) const
inline
template<class Device , VarType VT, PhiInterpType PIT>
void GridField< Device, VT, PIT, TorType::OnePlane, KinType::GyroKin, ScatterType::Atomic >::reset_to_zero ( )
inline
template<class Device , VarType VT, PhiInterpType PIT>
KOKKOS_INLINE_FUNCTION void GridField< Device, VT, PIT, TorType::OnePlane, KinType::GyroKin, ScatterType::Atomic >::scatter ( int  node,
const FieldWeights< GyroKin, PIT > &  wts,
double  particle_weight 
) const
inline
template<class Device , VarType VT, PhiInterpType PIT>
KOKKOS_INLINE_FUNCTION void GridField< Device, VT, PIT, TorType::OnePlane, KinType::GyroKin, ScatterType::Atomic >::scatter ( const Grid< DeviceType > &  grid,
int  ithread,
const SimdGridWeights< Order::One, PIT_GLOBAL > &  grid_wts,
int  i_simd,
const FieldWeights< GyroKin, PIT > &  wts,
double  particle_weight 
) const
inline

Here is the call graph for this function:

template<class Device , VarType VT, PhiInterpType PIT>
int GridField< Device, VT, PIT, TorType::OnePlane, KinType::GyroKin, ScatterType::Atomic >::size ( ) const
inline

Member Data Documentation

template<class Device , VarType VT, PhiInterpType PIT>
Kokkos::View<field_type**,Kokkos::LayoutRight,Device> GridField< Device, VT, PIT, TorType::OnePlane, KinType::GyroKin, ScatterType::Atomic >::f
template<class Device , VarType VT, PhiInterpType PIT>
constexpr KinType GridField< Device, VT, PIT, TorType::OnePlane, KinType::GyroKin, ScatterType::Atomic >::KT = KinType::GyroKin
static

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