Go to the source code of this file.
|
| namespace | occupy_smearing |
| | Smearing weight functions and the Fermi-level bisection built on them.
|
|
| double | occupy_smearing::wgauss (const double &x, const int n) |
| | smeared occupation of a state, as a function of (ef - e) / sigma
|
| double | occupy_smearing::w1gauss (const double &x, const int n) |
| | first moment of the smearing function, used for the -TS term
|
| double | occupy_smearing::sumkg (const ModuleBase::matrix &ekb, const int nband, const int nks, const std::vector< double > &wk, const double &smearing_sigma, const int ngauss, const double &e, const int &is, const std::vector< int > &isk) |
| | number of electrons below a trial Fermi level e
|
| void | occupy_smearing::efermig (const ModuleBase::matrix &ekb, const int nbnd, const int nks, const double &nelec, const std::vector< double > &wk, const double &smearing_sigma, const int ngauss, double &ef, const int &is, const std::vector< int > &isk) |
| | Find the Fermi level using a compensated, energy-centered electron count.
|