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

#include <charge.hpp>

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

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, HostTypedensity0_h
 
View< double *, CLayout, HostTypeden00_1d_h
 
View< double **, CLayout,
HostType
jpar_h
 
View< double *, CLayout, HostTypejpar0_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...
 

Constructor & Destructor Documentation

template<class Device >
Charge< Device >::Charge ( bool  use_current,
int  nnode,
int  nphi,
int  nrho,
int  npsi00,
int  nthreads,
bool  is_electrons 
)

Constructor for charge class

Here is the call graph for this function:

template<class Device>
Charge< Device >::Charge ( )
inline

Member Function Documentation

template<class Device >
void Charge< Device >::reset_to_zero ( )

Reset charge arrays to zero before the scatter.

Here is the caller graph for this function:

Member Data Documentation

template<class Device>
View<double*,CLayout,HostType> Charge< Device >::den00_1d_h
template<class Device>
View<double**,CLayout,HostType> Charge< Device >::den_f0_h
template<class Device>
View<double***,CLayout,HostType> Charge< Device >::den_rho_ff_h
template<class Device>
View<double****,CLayout,Device> Charge< Device >::density

Electron density distribution.

template<class Device>
View<double*,CLayout,HostType> Charge< Device >::density0_h
template<class Device>
View<double**,CLayout,HostType> Charge< Device >::density_h
template<class Device>
bool Charge< Device >::is_electrons
template<class Device>
View<double****,CLayout,Device> Charge< Device >::jpar

Electron current distribution.

template<class Device>
View<double*,CLayout,HostType> Charge< Device >::jpar0_h
template<class Device>
View<double**,CLayout,HostType> Charge< Device >::jpar_h
template<class Device>
View<double***,CLayout,HostType> Charge< Device >::jpar_rho_ff_h
template<class Device>
bool Charge< Device >::use_current

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


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