|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
What a direct (dense) eigensolver needs from the generalized eigenproblem H x = e S x: the matrices H(k) and S(k) themselves. More...
#include <hs_matrix.h>
Public Member Functions | |
| virtual | ~HSMatrix ()=default |
| virtual void | hs_at_k (const int ik, ModuleBase::MatrixBlock< T > &hk, ModuleBase::MatrixBlock< T > &sk)=0 |
What a direct (dense) eigensolver needs from the generalized eigenproblem H x = e S x: the matrices H(k) and S(k) themselves.
The code that owns the Hamiltonian implements this interface (hamilt::HamiltHSMatrix in source_hamilt/hamilt_hs_adapter.h); HSolverLCAO and Parallel_K2D only ever ask it for the two matrix views.
|
virtualdefault |
|
pure virtual |
H(k) and S(k) of k point ik as non-owning views. The memory they point to belongs to the implementer and stays valid until the next call.
Implemented in hamilt::HamiltHSMatrix< T >.