|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
Classes | |
| class | LRHSOperator |
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, const int &nk, const std::vector< int > &nocc, const std::vector< int > &nvirt, const std::vector< Parallel_Blkcyclic > &pX, double *eig, const std::string method, const Real< T > &diag_ethr, const std::vector< Real< T > > &precondition, const bool hermitian) |
| eigensolver for common Hamilt | |
| template void | solve< double, HamiltLR< double > > (const HamiltLR< double > &, double *, const int &, const int &, const int &, const std::vector< int > &, const std::vector< int > &, const std::vector< Parallel_Blkcyclic > &, double *, const std::string, const double &, const std::vector< double > &, const bool) |
| template void | solve< double, HamiltULR< double > > (const HamiltULR< double > &, double *, const int &, const int &, const int &, const std::vector< int > &, const std::vector< int > &, const std::vector< Parallel_Blkcyclic > &, double *, const std::string, const double &, const std::vector< double > &, const bool) |
|
inline |
| void LR::HSolver::solve | ( | const THamilt & | hm, |
| T * | psi, | ||
| const int & | dim, | ||
| const int & | nband, | ||
| const int & | nk, | ||
| const std::vector< int > & | nocc, | ||
| const std::vector< int > & | nvirt, | ||
| const std::vector< Parallel_Blkcyclic > & | pX, | ||
| double * | eig, | ||
| const std::string | method, | ||
| const Real< T > & | diag_ethr, | ||
| const std::vector< Real< T > > & | precondition, | ||
| const bool | hermitian ) |
eigensolver for common Hamilt
Solve the distributed LR eigenproblem using the selected dense or iterative backend.
| dim | local leading dimension (or nbasis) |
| nband | nstates in LR-TDDFT, not (nocc+nvirt) |
| diag_ethr | threshold for diagonalization |
| template void LR::HSolver::solve< double, HamiltLR< double > > | ( | const HamiltLR< double > & | , |
| double * | , | ||
| const int & | , | ||
| const int & | , | ||
| const int & | , | ||
| const std::vector< int > & | , | ||
| const std::vector< int > & | , | ||
| const std::vector< Parallel_Blkcyclic > & | , | ||
| double * | , | ||
| const std::string | , | ||
| const double & | , | ||
| const std::vector< double > & | , | ||
| const bool | ) |
| template void LR::HSolver::solve< double, HamiltULR< double > > | ( | const HamiltULR< double > & | , |
| double * | , | ||
| const int & | , | ||
| const int & | , | ||
| const int & | , | ||
| const std::vector< int > & | , | ||
| const std::vector< int > & | , | ||
| const std::vector< Parallel_Blkcyclic > & | , | ||
| double * | , | ||
| const std::string | , | ||
| const double & | , | ||
| const std::vector< double > & | , | ||
| const bool | ) |