ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
hsolver::DiagoCusolver< T > Class Template Reference

#include <diago_cusolver.h>

Collaboration diagram for hsolver::DiagoCusolver< T >:

Public Member Functions

 DiagoCusolver (const int nlocal_in, const int nbands_in)
 ~DiagoCusolver ()
void diag (ModuleBase::MatrixBlock< T > &h_mat, ModuleBase::MatrixBlock< T > &s_mat, psi::Psi< T > &psi, Real *eigenvalue_in)

Public Attributes

Diag_Cusolver_gvd dc

Static Public Attributes

static int DecomposedState

Private Types

using Real = typename GetTypeReal<T>::type

Private Member Functions

bool ifElpaHandle (const bool &newIteration, const bool &ifNSCF) const

Private Attributes

const int nlocal
const int nbands

Member Typedef Documentation

◆ Real

template<typename T>
using hsolver::DiagoCusolver< T >::Real = typename GetTypeReal<T>::type
private

Constructor & Destructor Documentation

◆ DiagoCusolver()

template<typename T>
hsolver::DiagoCusolver< T >::DiagoCusolver ( const int nlocal_in,
const int nbands_in )
Parameters
nlocal_inglobal dimension of the NAO Hamiltonian
nbands_innumber of lowest eigenpairs to compute

◆ ~DiagoCusolver()

template<typename T>
hsolver::DiagoCusolver< T >::~DiagoCusolver ( )

Member Function Documentation

◆ diag()

template<typename T>
void hsolver::DiagoCusolver< T >::diag ( ModuleBase::MatrixBlock< T > & h_mat,
ModuleBase::MatrixBlock< T > & s_mat,
psi::Psi< T > & psi,
Real * eigenvalue_in )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ifElpaHandle()

template<typename T>
bool hsolver::DiagoCusolver< T >::ifElpaHandle ( const bool & newIteration,
const bool & ifNSCF ) const
private

Member Data Documentation

◆ dc

template<typename T>
Diag_Cusolver_gvd hsolver::DiagoCusolver< T >::dc

◆ DecomposedState

template<typename T>
int hsolver::DiagoCusolver< T >::DecomposedState
static

◆ nbands

template<typename T>
const int hsolver::DiagoCusolver< T >::nbands
private

◆ nlocal

template<typename T>
const int hsolver::DiagoCusolver< T >::nlocal
private

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