#include <hsolver_lcao.h>
|
| | HSolverLCAO (const Parallel_Orbitals *ParaV_in, const std::string method_in, const int kpar_lcao_in, const int nlocal_in, const int nbands_in, const double nelec_in, const bool use_gpu_in, const int world_nproc_in, const int world_rank_in, const double overlap_cutoff_in) |
| void | solve (HSMatrix< TK > &hs, psi::Psi< TK > &psi, elecstate::ElecState *pes, module_dm::DensityMatrix< TK, double > &dm, Charge &chr, const int nspin, const double omega, const bool skip_charge) |
|
| void | hamiltSolvePsiK (ModuleBase::MatrixBlock< TK > &hk, ModuleBase::MatrixBlock< TK > &sk, psi::Psi< TK > &psi, double *eigenvalue, int kpoint, const Parallel_Blkcyclic *pool) |
| void | parakSolve (HSMatrix< TK > &hs, psi::Psi< TK > &psi, elecstate::ElecState *pes, const int kpar, const int nspin) |
| void | parakSolve_cusolver (HSMatrix< TK > &hs, psi::Psi< TK > &psi, elecstate::ElecState *pes) |
◆ HSolverLCAO()
template<typename TK>
| hsolver::HSolverLCAO< TK >::HSolverLCAO |
( |
const Parallel_Orbitals * | ParaV_in, |
|
|
const std::string | method_in, |
|
|
const int | kpar_lcao_in, |
|
|
const int | nlocal_in, |
|
|
const int | nbands_in, |
|
|
const double | nelec_in, |
|
|
const bool | use_gpu_in, |
|
|
const int | world_nproc_in, |
|
|
const int | world_rank_in, |
|
|
const double | overlap_cutoff_in ) |
|
inline |
◆ hamiltSolvePsiK()
◆ parakSolve()
set psi_pool
Loop over k points for solve Hamiltonian to charge density
global index of k point
local psi in pool
◆ parakSolve_cusolver()
◆ solve()
- Parameters
-
| hs | supplies H(k) and S(k) of the Hamiltonian for each k point |
Loop over k points for solve Hamiltonian to eigenpairs(eigenvalues and eigenvectors).
H(k) and S(k) are all the eigensolvers need from the Hamiltonian
find psi pointer for each k point
solve eigenvector and eigenvalue for H(k)
◆ kpar_lcao
◆ method
◆ nbands
◆ nelec
◆ nlocal
◆ overlap_cutoff
◆ ParaV
◆ use_gpu
◆ world_nproc
◆ world_rank
The documentation for this class was generated from the following files:
- /home/runner/work/abacus-develop/abacus-develop/source/source_hsolver/hsolver_lcao.h
- /home/runner/work/abacus-develop/abacus-develop/source/source_hsolver/hsolver_lcao.cpp