XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | 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 >
 

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 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 Simd< int > &itr, const SimdGridVec &p, 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
 

Member Typedef Documentation

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>
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 Simd< int > &  itr,
const SimdGridVec p,
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

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