ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Functions
LR::HSolver Namespace Reference

Functions

template<typename T >
void print_eigs (const std::vector< T > &eigs, const std::string &label="", const double factor=1.0)
 
template<typename T , typename THamilt >
void solve (const THamilt &hm, T *psi, const int &dim, const int &nband, double *eig, const std::string method, const Real< T > &diag_ethr, const std::vector< Real< T > > &precondition, const bool hermitian=true)
 eigensolver for common Hamilt
 

Function Documentation

◆ print_eigs()

template<typename T >
void LR::HSolver::print_eigs ( const std::vector< T > &  eigs,
const std::string &  label = "",
const double  factor = 1.0 
)
inline
Here is the caller graph for this function:

◆ solve()

template<typename T , typename THamilt >
void LR::HSolver::solve ( const THamilt &  hm,
T psi,
const int &  dim,
const int &  nband,
double *  eig,
const std::string  method,
const Real< T > &  diag_ethr,
const std::vector< Real< T > > &  precondition,
const bool  hermitian = true 
)

eigensolver for common Hamilt

Parameters
dimlocal leading dimension (or nbasis)
nbandnstates in LR-TDDFT, not (nocc+nvirt)
diag_ethrthreshold for diagonalization
Here is the call graph for this function:
Here is the caller graph for this function: