ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
occupy.h File Reference
Include dependency graph for occupy.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Occupy

Namespaces

namespace  occupy_smearing
 Smearing weight functions and the Fermi-level bisection built on them.

Functions

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.