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

#include <diago_elpa_native.h>

Collaboration diagram for hsolver::DiagoElpaNative< T >:

Public Member Functions

 DiagoElpaNative (const int nlocal_in, const int nbands_in, const bool use_gpu_in)
 DiagoElpaNative (const int nlocal_in, const int nbands_in, const bool use_gpu_in, int &overlap_factor_in)
void diag (ModuleBase::MatrixBlock< T > &h_mat, ModuleBase::MatrixBlock< T > &s_mat, psi::Psi< T > &psi, Real *eigenvalue_in)
void diag_pool (ModuleBase::MatrixBlock< T > &h_mat, ModuleBase::MatrixBlock< T > &s_mat, psi::Psi< T > &psi, Real *eigenvalue_in, MPI_Comm &comm)
MPI_Comm setmpicomm ()

Static Public Attributes

static int elpa_num_thread
static int lastmpinum
static int DecomposedState

Private Types

using Real = typename GetTypeReal<T>::type

Private Attributes

const int nlocal
const int nbands
const bool use_gpu
int & overlap_factor

Member Typedef Documentation

◆ Real

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

Constructor & Destructor Documentation

◆ DiagoElpaNative() [1/2]

template<typename T>
hsolver::DiagoElpaNative< T >::DiagoElpaNative ( const int nlocal_in,
const int nbands_in,
const bool use_gpu_in )
inline
Parameters
nlocal_inglobal dimension of the NAO Hamiltonian
nbands_innumber of lowest eigenpairs to compute
use_gpu_inoffload to the NVIDIA-GPU ELPA kernels when ELPA was built with GPU support
Here is the call graph for this function:
Here is the caller graph for this function:

◆ DiagoElpaNative() [2/2]

template<typename T>
hsolver::DiagoElpaNative< T >::DiagoElpaNative ( const int nlocal_in,
const int nbands_in,
const bool use_gpu_in,
int & overlap_factor_in )
inline
Parameters
overlap_factor_inFactorization state of the supplied overlap buffer.

Member Function Documentation

◆ diag()

template<typename T>
void hsolver::DiagoElpaNative< 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:

◆ diag_pool()

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

◆ setmpicomm()

template<typename T>
MPI_Comm hsolver::DiagoElpaNative< T >::setmpicomm ( )
Here is the caller graph for this function:

Member Data Documentation

◆ DecomposedState

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

◆ elpa_num_thread

template<typename T>
int hsolver::DiagoElpaNative< T >::elpa_num_thread
static

◆ lastmpinum

template<typename T>
int hsolver::DiagoElpaNative< T >::lastmpinum
static

◆ nbands

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

◆ nlocal

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

◆ overlap_factor

template<typename T>
int& hsolver::DiagoElpaNative< T >::overlap_factor
private

◆ use_gpu

template<typename T>
const bool hsolver::DiagoElpaNative< T >::use_gpu
private

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