|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include <elecstate_op.h>
Public Member Functions | |
| void | operator() (const Device *ctx, const int &spin, const int &nrxx, const FPTYPE &weight, FPTYPE **rho, const std::complex< FPTYPE > *wfcr) |
| Calculate psiToRho output within the band-by-band loop, NSPIN != 4. | |
| void | operator() (const Device *ctx, const bool &DOMAG, const bool &DOMAG_Z, const int &nrxx, const FPTYPE &weight, FPTYPE **rho, const std::complex< FPTYPE > *wfcr, const std::complex< FPTYPE > *wfcr_another_spin) |
| Calculate psiToRho output within the band-by-band loop, NSPIN == 4. | |
| void elecstate::elecstate_pw_op< FPTYPE, Device >::operator() | ( | const Device * | ctx, |
| const bool & | DOMAG, | ||
| const bool & | DOMAG_Z, | ||
| const int & | nrxx, | ||
| const FPTYPE & | weight, | ||
| FPTYPE ** | rho, | ||
| const std::complex< FPTYPE > * | wfcr, | ||
| const std::complex< FPTYPE > * | wfcr_another_spin | ||
| ) |
Calculate psiToRho output within the band-by-band loop, NSPIN == 4.
Input Parameters
| ctx | - which device this function runs on |
| DOMAG | - PARAM.globalv.domag |
| DOMAG_Z | - PARAM.globalv.domag_z |
| nrxx | - number of planewaves |
| weight | - input constant |
| wfcr | - input array, psi in real space |
| wfcr_another_spin | - input array, psi in real space |
Output Parameters
| rho | - electronic densities |
| void elecstate::elecstate_pw_op< FPTYPE, Device >::operator() | ( | const Device * | ctx, |
| const int & | spin, | ||
| const int & | nrxx, | ||
| const FPTYPE & | weight, | ||
| FPTYPE ** | rho, | ||
| const std::complex< FPTYPE > * | wfcr | ||
| ) |
Calculate psiToRho output within the band-by-band loop, NSPIN != 4.
Input Parameters
| ctx | - which device this function runs on |
| spin | - current spin |
| nrxx | - number of planewaves |
| weight | - input constant |
| wfcr | - input array, psi in real space |
Output Parameters
| rho | - electronic densities |