SIRIUS 7.5.0
Electronic structure library and applications
|
Occupancy smearing functions. More...
Classes | |
struct | cold |
struct | fermi_dirac |
struct | gaussian |
struct | methfessel_paxton |
Enumerations | |
enum class | smearing_t { gaussian , fermi_dirac , cold , methfessel_paxton } |
Functions | |
double | mp_coefficients (int n) |
smearing_t | get_smearing_t (std::string name__) |
std::function< double(double)> | occupancy (smearing_t type__, double width__) |
std::function< double(double)> | entropy (smearing_t type__, double width__) |
std::function< double(double)> | delta (smearing_t type__, double width__) |
std::function< double(double)> | dxdelta (smearing_t type__, double width__) |
Variables | |
const double | pi = 3.1415926535897932385 |
const double | sqrt2 = std::sqrt(2.0) |
Occupancy smearing functions.
|
strong |
Definition at line 40 of file smearing.hpp.
double sirius::smearing::mp_coefficients | ( | int | n | ) |
Coefficients \(A_n\) required to compute the MP-smearing:
\[ \frac{(-1)^n}{n! 4^n \sqrt{\pi}} \]
Definition at line 129 of file smearing.cpp.
|
inline |
Definition at line 49 of file smearing.hpp.
|
inline |
Definition at line 111 of file smearing.hpp.
|
inline |
Definition at line 133 of file smearing.hpp.
|
inline |
Definition at line 155 of file smearing.hpp.
|
inline |
Definition at line 177 of file smearing.hpp.
const double sirius::smearing::pi = 3.1415926535897932385 |
Definition at line 10 of file smearing.cpp.
const double sirius::smearing::sqrt2 = std::sqrt(2.0) |
Definition at line 12 of file smearing.cpp.