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

#include <charge.hpp>

Collaboration diagram for Charge< Device, KT >:
Collaboration graph
[legend]

Public Member Functions

 Charge ()
 
 Charge (bool use_current, int nnode, int nphi, int nrho, int npsi00, bool use_fsa_den, bool is_electrons)
 
void reset_to_zero ()
 

Public Attributes

bool is_electrons
 
bool use_current
 Whether the class will handle current in addition to charge density. More...
 
View< double **, CLayout,
HostType
density_h
 
View< double *, CLayout, HostTypedensity0_h
 
View< double *, CLayout, HostTypedensity00_h
 3D flux-surface averaged density More...
 
View< double *, CLayout, HostTypeden00_1d_h
 
View< double **, CLayout,
HostType
jpar_h
 
View< double *, CLayout, HostTypejpar0_h
 
View< double **, CLayout,
HostType
den_f0_h
 
GridField< Device,
VarType::Scalar, PIT_GLOBAL,
TorType::OnePlane, KT,
SCATTER_TYPE_GLOBAL
density
 Charge density distribution. More...
 
GridField< Device,
VarType::Scalar, PIT_GLOBAL,
TorType::OnePlane, KT,
SCATTER_TYPE_GLOBAL
jpar
 Current density distribution. More...
 
View< double ***, CLayout,
Device, Kokkos::MemoryTraits
< Kokkos::Unmanaged > > 
den_rho_ff
 
View< double ***, CLayout,
Device, Kokkos::MemoryTraits
< Kokkos::Unmanaged > > 
jpar_rho_ff
 

Constructor & Destructor Documentation

template<class Device, KinType KT>
Charge< Device, KT >::Charge ( )
inline
template<class Device, KinType KT>
Charge< Device, KT >::Charge ( bool  use_current,
int  nnode,
int  nphi,
int  nrho,
int  npsi00,
bool  use_fsa_den,
bool  is_electrons 
)
inline

Member Function Documentation

template<class Device, KinType KT>
void Charge< Device, KT >::reset_to_zero ( )
inline

Here is the caller graph for this function:

Member Data Documentation

template<class Device, KinType KT>
View<double*,CLayout,HostType> Charge< Device, KT >::den00_1d_h
template<class Device, KinType KT>
View<double**,CLayout,HostType> Charge< Device, KT >::den_f0_h
template<class Device, KinType KT>
View<double***,CLayout,Device,Kokkos::MemoryTraits<Kokkos::Unmanaged> > Charge< Device, KT >::den_rho_ff
template<class Device, KinType KT>
GridField<Device, VarType::Scalar,PIT_GLOBAL, TorType::OnePlane, KT, SCATTER_TYPE_GLOBAL> Charge< Device, KT >::density

Charge density distribution.

template<class Device, KinType KT>
View<double*,CLayout,HostType> Charge< Device, KT >::density00_h

3D flux-surface averaged density

template<class Device, KinType KT>
View<double*,CLayout,HostType> Charge< Device, KT >::density0_h
template<class Device, KinType KT>
View<double**,CLayout,HostType> Charge< Device, KT >::density_h
template<class Device, KinType KT>
bool Charge< Device, KT >::is_electrons
template<class Device, KinType KT>
GridField<Device, VarType::Scalar,PIT_GLOBAL, TorType::OnePlane, KT, SCATTER_TYPE_GLOBAL> Charge< Device, KT >::jpar

Current density distribution.

template<class Device, KinType KT>
View<double*,CLayout,HostType> Charge< Device, KT >::jpar0_h
template<class Device, KinType KT>
View<double**,CLayout,HostType> Charge< Device, KT >::jpar_h
template<class Device, KinType KT>
View<double***,CLayout,Device,Kokkos::MemoryTraits<Kokkos::Unmanaged> > Charge< Device, KT >::jpar_rho_ff
template<class Device, KinType KT>
bool Charge< Device, KT >::use_current

Whether the class will handle current in addition to charge density.


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