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::MultiplePlanes, 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)
 
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 iphi, int inode, int irho) const
 

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::MultiplePlanes, KinType::GyroKin, ScatterType::Atomic >::device_type = Device
template<class Device , VarType VT, PhiInterpType PIT>
using GridField< Device, VT, PIT, TorType::MultiplePlanes, KinType::GyroKin, ScatterType::Atomic >::field_type = Field<VT,PIT>

Constructor & Destructor Documentation

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

Member Function Documentation

template<class Device , VarType VT, PhiInterpType PIT>
field_type* GridField< Device, VT, PIT, TorType::MultiplePlanes, KinType::GyroKin, ScatterType::Atomic >::data ( ) const
inline
template<class Device , VarType VT, PhiInterpType PIT>
KOKKOS_INLINE_FUNCTION bool GridField< Device, VT, PIT, TorType::MultiplePlanes, KinType::GyroKin, ScatterType::Atomic >::is_allocated ( ) const
inline
template<class Device , VarType VT, PhiInterpType PIT>
int GridField< Device, VT, PIT, TorType::MultiplePlanes, KinType::GyroKin, ScatterType::Atomic >::nnode ( ) const
inline
template<class Device , VarType VT, PhiInterpType PIT>
int GridField< Device, VT, PIT, TorType::MultiplePlanes, KinType::GyroKin, ScatterType::Atomic >::nphi ( ) const
inline
template<class Device , VarType VT, PhiInterpType PIT>
int GridField< Device, VT, PIT, TorType::MultiplePlanes, KinType::GyroKin, ScatterType::Atomic >::nrhop1 ( ) const
inline
template<class Device , VarType VT, PhiInterpType PIT>
KOKKOS_INLINE_FUNCTION field_type& GridField< Device, VT, PIT, TorType::MultiplePlanes, KinType::GyroKin, ScatterType::Atomic >::operator() ( int  iphi,
int  inode,
int  irho 
) const
inline
template<class Device , VarType VT, PhiInterpType PIT>
int GridField< Device, VT, PIT, TorType::MultiplePlanes, 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::MultiplePlanes, KinType::GyroKin, ScatterType::Atomic >::f
template<class Device , VarType VT, PhiInterpType PIT>
constexpr KinType GridField< Device, VT, PIT, TorType::MultiplePlanes, KinType::GyroKin, ScatterType::Atomic >::KT = KinType::GyroKin
static

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