XGCa
|
#include <charge.hpp>
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, HostType > | density0_h |
View< double *, CLayout, HostType > | density00_h |
3D flux-surface averaged density More... | |
View< double *, CLayout, HostType > | den00_1d_h |
View< double **, CLayout, HostType > | jpar_h |
View< double *, CLayout, HostType > | jpar0_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 |
|
inline |
|
inline |
View<double***,CLayout,Device,Kokkos::MemoryTraits<Kokkos::Unmanaged> > Charge< Device, KT >::den_rho_ff |
GridField<Device, VarType::Scalar,PIT_GLOBAL, TorType::OnePlane, KT, SCATTER_TYPE_GLOBAL> Charge< Device, KT >::density |
Charge density distribution.
3D flux-surface averaged density
bool Charge< Device, KT >::is_electrons |
GridField<Device, VarType::Scalar,PIT_GLOBAL, TorType::OnePlane, KT, SCATTER_TYPE_GLOBAL> Charge< Device, KT >::jpar |
Current density distribution.
View<double***,CLayout,Device,Kokkos::MemoryTraits<Kokkos::Unmanaged> > Charge< Device, KT >::jpar_rho_ff |
bool Charge< Device, KT >::use_current |
Whether the class will handle current in addition to charge density.