|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include <diago_pexsi.h>
Public Member Functions | |
| DiagoPexsi (const Parallel_Orbitals *ParaV_in, const int nspin_in, const int nlocal_in, const double nelec_in, const int world_nproc_in) | |
| void | diag (ModuleBase::MatrixBlock< T > &h_mat, ModuleBase::MatrixBlock< T > &s_mat, psi::Psi< T > &psi, Real *eigenvalue_in) |
| ~DiagoPexsi () | |
Public Attributes | |
| const Parallel_Orbitals * | ParaV = nullptr |
| std::vector< T * > | DM |
| std::vector< T * > | EDM |
| double | totalEnergyH |
| double | totalEnergyS |
| double | totalFreeEnergy |
| std::unique_ptr< pexsi::PEXSI_Solver > | ps |
Private Types | |
| using | Real = typename GetTypeReal<T>::type |
Private Attributes | |
| int | nspin_dm = 1 |
| int | nlocal = 0 |
| global dimension of the NAO Hamiltonian | |
| double | nelec = 0.0 |
| int | world_nproc = 1 |
Static Private Attributes | |
| static std::vector< double > | mu_buffer |
|
private |
| hsolver::DiagoPexsi< T >::DiagoPexsi | ( | const Parallel_Orbitals * | ParaV_in, |
| const int | nspin_in, | ||
| const int | nlocal_in, | ||
| const double | nelec_in, | ||
| const int | world_nproc_in ) |
| hsolver::DiagoPexsi< T >::~DiagoPexsi | ( | ) |
| void hsolver::DiagoPexsi< T >::diag | ( | ModuleBase::MatrixBlock< T > & | h_mat, |
| ModuleBase::MatrixBlock< T > & | s_mat, | ||
| psi::Psi< T > & | psi, | ||
| Real * | eigenvalue_in ) |
| std::vector<T*> hsolver::DiagoPexsi< T >::DM |
| std::vector<T*> hsolver::DiagoPexsi< T >::EDM |
|
staticprivate |
|
private |
|
private |
global dimension of the NAO Hamiltonian
|
private |
number of density matrices to keep: nspin, except that nspin == 4 is treated as a single (spinor) density matrix
| const Parallel_Orbitals* hsolver::DiagoPexsi< T >::ParaV = nullptr |
| std::unique_ptr<pexsi::PEXSI_Solver> hsolver::DiagoPexsi< T >::ps |
| double hsolver::DiagoPexsi< T >::totalEnergyH |
| double hsolver::DiagoPexsi< T >::totalEnergyS |
| double hsolver::DiagoPexsi< T >::totalFreeEnergy |
|
private |