|
| | HamiltLIPHSOperator (HamiltLIP< T > *hm, const ModulePW::PW_Basis_K *wfc_basis, const bool cal_exx, const double hybrid_alpha) |
| | HamiltHSOperator (Hamilt< T, base_device::DEVICE_CPU > *hm, const ModulePW::PW_Basis_K *wfc_basis) |
| void | update_k (const int ik) override |
| | switch H and S to k point ik; must precede hpsi()/spsi() for that k
|
| void | hpsi (const T *x, T *hx, const int ld, const int nvec) const override |
| | hx[:, 0:nvec) = H * x[:, 0:nvec), both with leading dimension ld
|
| void | spsi (const T *x, T *sx, const int ld, const int nvec) const override |
| | sx[:, 0:nvec) = S * x[:, 0:nvec), both with leading dimension ld
|
| virtual | ~HSOperator ()=default |
| virtual void | add_to_subspace_h (T *hcc, const int n) const |
| virtual void | export_subspace_vec (const T *vcc, const int n, const int nband) const |
template<typename
T>
class hamilt::HamiltLIPHSOperator< T >
HamiltLIP seen through hsolver::HSOperator. Besides H and S it feeds the EXX term into the subspace Hamiltonian and hands the subspace eigenvectors back to Exx_Lip, which is what HSolverLIP needs.