ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
HamiltTEST< T > Class Template Reference
Collaboration diagram for HamiltTEST< T >:

Public Member Functions

void matrix (ModuleBase::MatrixBlock< T > &hk_in, ModuleBase::MatrixBlock< T > &sk_in)
void matrix (ModuleBase::MatrixBlock< T > &hk_in, ModuleBase::MatrixBlock< T > &sk_in)
void matrix (ModuleBase::MatrixBlock< T > &hk_in, ModuleBase::MatrixBlock< T > &sk_in)

Public Attributes

int desc [9]
int nrow
int ncol
std::vector< T > h_local
std::vector< T > s_local

Detailed Description

template<typename T>
class HamiltTEST< T >

Tested function:

The 2d block cyclic distribution of H/S matrix is done by self-realized functions in source_hsolver/unittests/diago_elpa_utils.h Minimal H(k)/S(k) supplier. The LCAO eigensolvers take the matrix blocks directly, so this test no longer needs a hamilt::Hamilt subclass.

Minimal H(k)/S(k) supplier. The LCAO eigensolvers take the matrix blocks directly, so this test no longer needs a hamilt::Hamilt subclass.

Member Function Documentation

◆ matrix() [1/3]

template<typename T>
void HamiltTEST< T >::matrix ( ModuleBase::MatrixBlock< T > & hk_in,
ModuleBase::MatrixBlock< T > & sk_in )
inline

◆ matrix() [2/3]

template<typename T>
void HamiltTEST< T >::matrix ( ModuleBase::MatrixBlock< T > & hk_in,
ModuleBase::MatrixBlock< T > & sk_in )
inline

◆ matrix() [3/3]

template<typename T>
void HamiltTEST< T >::matrix ( ModuleBase::MatrixBlock< T > & hk_in,
ModuleBase::MatrixBlock< T > & sk_in )
inline

Member Data Documentation

◆ desc

template<typename T>
int HamiltTEST< T >::desc

◆ h_local

template<typename T>
std::vector< T > HamiltTEST< T >::h_local

◆ ncol

template<typename T>
int HamiltTEST< T >::ncol

◆ nrow

template<typename T>
int HamiltTEST< T >::nrow

◆ s_local

template<typename T>
std::vector< T > HamiltTEST< T >::s_local

The documentation for this class was generated from the following files: