Interface class to Libxc.
More...
#include <xc_functional.hpp>
Inherits sirius::XC_functional_base.
|
| XC_functional (spfft::Transform const &fft__, r3::matrix< double > const &lattice_vectors__, const std::string libxc_name__, int num_spins__) |
|
| XC_functional (XC_functional &&src__) |
|
const std::string | refs () const |
|
int | family () const |
|
bool | is_vdw () const |
|
void | vdw_update_unit_cell (spfft::Transform const &fft__, r3::matrix< double > const &lattice_vectors__) |
|
int | kind () const |
|
| XC_functional_base (const std::string libxc_name__, int num_spins__) |
|
| XC_functional_base (XC_functional_base &&src__) |
|
const std::string | name () const |
|
const std::string | refs () const |
|
int | family () const |
|
xc_func_type * | handler () |
|
bool | is_lda () const |
|
bool | is_gga () const |
|
int | kind () const |
|
bool | is_exchange () const |
|
bool | is_correlation () const |
|
bool | is_exchange_correlation () const |
|
void | get_lda (const int size, const double *rho, double *v, double *e) const |
| Get LDA contribution. More...
|
|
void | get_lda (const int size, const double *rho_up, const double *rho_dn, double *v_up, double *v_dn, double *e) const |
| Get LSDA contribution. More...
|
|
void | get_gga (const int size, const double *rho, const double *sigma, double *vrho, double *vsigma, double *e) const |
| Get GGA contribution. More...
|
|
void | get_gga (const int size, const double *rho_up, const double *rho_dn, const double *sigma_uu, const double *sigma_ud, const double *sigma_dd, double *vrho_up, double *vrho_dn, double *vsigma_uu, double *vsigma_ud, double *vsigma_dd, double *e) const |
| Get spin-resolved GGA contribution. More...
|
|
void | set_dens_threshold (double tre) |
| set density threshold of libxc, if density is below tre, all xc output will be set to 0. More...
|
|
Interface class to Libxc.
Definition at line 43 of file xc_functional.hpp.
◆ XC_functional() [1/2]
sirius::XC_functional::XC_functional |
( |
spfft::Transform const & |
fft__, |
|
|
r3::matrix< double > const & |
lattice_vectors__, |
|
|
const std::string |
libxc_name__, |
|
|
int |
num_spins__ |
|
) |
| |
|
inline |
◆ XC_functional() [2/2]
◆ ~XC_functional()
sirius::XC_functional::~XC_functional |
( |
| ) |
|
|
inline |
◆ refs()
const std::string sirius::XC_functional::refs |
( |
| ) |
const |
|
inline |
◆ family()
int sirius::XC_functional::family |
( |
| ) |
const |
|
inline |
◆ is_vdw()
bool sirius::XC_functional::is_vdw |
( |
| ) |
const |
|
inline |
◆ vdw_update_unit_cell()
void sirius::XC_functional::vdw_update_unit_cell |
( |
spfft::Transform const & |
fft__, |
|
|
r3::matrix< double > const & |
lattice_vectors__ |
|
) |
| |
|
inline |
◆ kind()
int sirius::XC_functional::kind |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: