XGCa
|
#include <charge.hpp>
Public Member Functions | |
Charge (bool use_current, int nnode, int nphi, int nrho, int npsi00, int nthreads, bool is_electrons) | |
Charge () | |
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 > | den00_1d_h |
View< double **, CLayout, HostType > | jpar_h |
View< double *, CLayout, HostType > | jpar0_h |
View< double **, CLayout, HostType > | den_f0_h |
View< double ***, CLayout, HostType > | den_rho_ff_h |
View< double ***, CLayout, HostType > | jpar_rho_ff_h |
View< double ****, CLayout, Device > | density |
Electron density distribution. More... | |
View< double ****, CLayout, Device > | jpar |
Electron current distribution. More... | |
Charge< Device >::Charge | ( | bool | use_current, |
int | nnode, | ||
int | nphi, | ||
int | nrho, | ||
int | npsi00, | ||
int | nthreads, | ||
bool | is_electrons | ||
) |
Constructor for charge class
void Charge< Device >::reset_to_zero | ( | ) |
Reset charge arrays to zero before the scatter.
Electron density distribution.
bool Charge< Device >::is_electrons |
Electron current distribution.
bool Charge< Device >::use_current |
Whether the class will handle current in addition to charge density.