|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include <cmath>#include <complex>#include <vector>Go to the source code of this file.
Namespaces | |
| namespace | DFTU_LCAO |
Functions | |
| void | DFTU_LCAO::cal_pot_onsite (const std::vector< double > &occ, const int m_size, const double u_value, double *pot_onsite, double &eu) |
| On-site potential and Hubbard energy for one correlated shell: pot_onsite(m,m') = U_eff * (0.5 * delta_{m,m'} - occ(m,m')) EU = (U_eff / 2) * sum_{m,m'} occ(m,m') * (delta_{m,m'} - occ(m',m)). | |
| template<typename TR> | |
| void | DFTU_LCAO::transfer_pot_onsite (const std::vector< double > &pot_onsite_tmp, std::vector< TR > &pot_onsite) |
| transfer pot_onsite format from Pauli matrix storage to the target matrix-element type used by the Hamiltonian. | |
| template<> | |
| void | DFTU_LCAO::transfer_pot_onsite< std::complex< double > > (const std::vector< double > &pot_onsite_tmp, std::vector< std::complex< double > > &pot_onsite) |
| double | DFTU_LCAO::get_onsite_pot (const Plus_U_Base &dftu, const int T, const int iat, const int L, const int spin, const int m0, const int m1, const bool new_occ_mat) |
| one-body effective onsite potential element for a given (m0,m1) pair. | |
| template<typename T> | |
| void | DFTU_LCAO::cal_pot_onsite (const Plus_U_Base &dftu, const UnitCell &ucell, const Parallel_Orbitals *pv, const int spin, const bool new_occ_mat, T *pot_onsite) |
| Calculate onsite effective potential matrix in the local orbital basis. | |
| template void | DFTU_LCAO::cal_pot_onsite< double > (const Plus_U_Base &dftu, const UnitCell &ucell, const Parallel_Orbitals *pv, const int spin, const bool new_occ_mat, double *pot_onsite) |
| template void | DFTU_LCAO::cal_pot_onsite< std::complex< double > > (const Plus_U_Base &dftu, const UnitCell &ucell, const Parallel_Orbitals *pv, const int spin, const bool new_occ_mat, std::complex< double > *pot_onsite) |
| template<typename T> | |
| void | DFTU_LCAO::cal_pot_uterm (Plus_U_Base &dftu, const UnitCell &ucell, const Parallel_Orbitals *pv, const int spin, T *pot_uterm, const T *sk) |
| Compute the LCAO-basis U-term effective potential matrix. | |
| template void | DFTU_LCAO::cal_pot_uterm< double > (Plus_U_Base &dftu, const UnitCell &ucell, const Parallel_Orbitals *pv, const int spin, double *pot_uterm, const double *sk) |
| template void | DFTU_LCAO::cal_pot_uterm< std::complex< double > > (Plus_U_Base &dftu, const UnitCell &ucell, const Parallel_Orbitals *pv, const int spin, std::complex< double > *pot_uterm, const std::complex< double > *sk) |