ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
hs_matrix.h
Go to the documentation of this file.
1#ifndef HSOLVER_HS_MATRIX_H
2#define HSOLVER_HS_MATRIX_H
3
5
6namespace hsolver
7{
8
17template <typename T>
19{
20 public:
21 virtual ~HSMatrix() = default;
22
25 virtual void hs_at_k(const int ik, ModuleBase::MatrixBlock<T>& hk, ModuleBase::MatrixBlock<T>& sk) = 0;
26};
27
28} // namespace hsolver
29
30#endif // HSOLVER_HS_MATRIX_H
What a direct (dense) eigensolver needs from the generalized eigenproblem H x = e S x: the matrices H...
Definition hs_matrix.h:19
virtual void hs_at_k(const int ik, ModuleBase::MatrixBlock< T > &hk, ModuleBase::MatrixBlock< T > &sk)=0
virtual ~HSMatrix()=default
Definition dense_eigensolver.cpp:23
A non-owning description of a matrix stored in memory.
Definition matrix_block.h:23