ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include <vector>
Go to the source code of this file.
Functions | |
void | projgen (const int l, const int nr, const double *r, const double *chi, const double rcut, const int nbes, std::vector< double > &alpha) |
Generates a projector's radial function for DFT+U. | |
void | smoothgen (const int nr, const double *r, const double *chi, const double rcut, std::vector< double > &alpha) |
void projgen | ( | const int | l, |
const int | nr, | ||
const double * | r, | ||
const double * | chi, | ||
const double | rcut, | ||
const int | nbes, | ||
std::vector< double > & | alpha | ||
) |
Generates a projector's radial function for DFT+U.
Starting with a numerical radial function chi on grid r with angular momentum l, given a smaller cutoff radius rcut and the number of spherical Bessel components (j_l), this function generates a new radial function alpha of the same l on the truncated grid which satisfies the following conditions:
[in] | l | angular momentum |
[in] | nr | number of grid points |
[in] | r | radial grid |
[in] | chi | radial function |
[in] | rcut | cutoff radius of the projector |
[in] | nbes | number of spherical Bessel components |
[out] | alpha | new radial function of the projector |
void smoothgen | ( | const int | nr, |
const double * | r, | ||
const double * | chi, | ||
const double | rcut, | ||
std::vector< double > & | alpha | ||
) |