ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include <nonlocal_op.h>
Public Member Functions | |
void | operator() (const Device *dev, const int &l1, const int &l2, const int &l3, int &sum, int &iat, const int &spin, const int &nkb, const int &deeq_x, const int &deeq_y, const int &deeq_z, const FPTYPE *deeq, std::complex< FPTYPE > *ps, const std::complex< FPTYPE > *becp) |
Compute the nonlocal potential of hPsi. | |
void | operator() (const Device *dev, const int &l1, const int &l2, const int &l3, int &sum, int &iat, const int &nkb, const int &deeq_x, const int &deeq_y, const int &deeq_z, const std::complex< FPTYPE > *deeq_nc, std::complex< FPTYPE > *ps, const std::complex< FPTYPE > *becp) |
Compute the nonlocal potential of hPsi, with NSPIN > 2. | |
void hamilt::nonlocal_pw_op< FPTYPE, Device >::operator() | ( | const Device * | dev, |
const int & | l1, | ||
const int & | l2, | ||
const int & | l3, | ||
int & | sum, | ||
int & | iat, | ||
const int & | nkb, | ||
const int & | deeq_x, | ||
const int & | deeq_y, | ||
const int & | deeq_z, | ||
const std::complex< FPTYPE > * | deeq_nc, | ||
std::complex< FPTYPE > * | ps, | ||
const std::complex< FPTYPE > * | becp | ||
) |
Compute the nonlocal potential of hPsi, with NSPIN > 2.
Input Parameters
dev | : the type of computing device |
l1 | : ucell->atoms[it].na |
l2 | : nbands |
l3 | : ucell->atoms[it].ncpp.nh |
sum | : intermediate value |
iat | : intermediate value |
nkb | : ppcell->nkb, number of kpoints |
deeq_x | : second dimension of deeq |
deeq_y | : third dimension of deeq |
deeq_z | : forth dimension of deeq |
deeq_nc | : ppcell->deeq_nc |
becp | : intermediate array |
Output Parameters
ps | : output array |
void hamilt::nonlocal_pw_op< FPTYPE, Device >::operator() | ( | const Device * | dev, |
const int & | l1, | ||
const int & | l2, | ||
const int & | l3, | ||
int & | sum, | ||
int & | iat, | ||
const int & | spin, | ||
const int & | nkb, | ||
const int & | deeq_x, | ||
const int & | deeq_y, | ||
const int & | deeq_z, | ||
const FPTYPE * | deeq, | ||
std::complex< FPTYPE > * | ps, | ||
const std::complex< FPTYPE > * | becp | ||
) |
Compute the nonlocal potential of hPsi.
Input Parameters
dev | : the type of computing device |
l1 | : ucell->atoms[it].na |
l2 | : nbands |
l3 | : ucell->atoms[it].ncpp.nh |
sum | : intermediate value |
iat | : intermediate value |
spin | : current spin |
nkb | : ppcell->nkb, number of kpoints |
deeq_x | : second dimension of deeq |
deeq_y | : third dimension of deeq |
deeq_z | : forth dimension of deeq |
deeq | : ppcell->deeq |
becp | : intermediate array |
Output Parameters
ps | : output array |