SIRIUS 7.5.0
Electronic structure library and applications
Public Member Functions | List of all members
sirius::la::Eigensolver_lapack Class Reference

Inherits sirius::la::Eigensolver.

Public Member Functions

int solve (ftn_int matrix_size__, dmatrix< double > &A__, double *eval__, dmatrix< double > &Z__) override
 wrapper for solving a standard eigen-value problem for all eigen-pairs. More...
 
int solve (ftn_int matrix_size__, dmatrix< std::complex< double > > &A__, double *eval__, dmatrix< std::complex< double > > &Z__) override
 Solve a standard eigen-value problem for all eigen-pairs. More...
 
int solve (ftn_int matrix_size__, dmatrix< float > &A__, float *eval__, dmatrix< float > &Z__) override
 Solve a standard eigen-value problem for all eigen-pairs. More...
 
int solve (ftn_int matrix_size__, dmatrix< std::complex< float > > &A__, float *eval__, dmatrix< std::complex< float > > &Z__) override
 Solve a standard eigen-value problem for all eigen-pairs. More...
 
template<typename T >
int solve_ (ftn_int matrix_size__, dmatrix< T > &A__, real_type< T > *eval__, dmatrix< T > &Z__)
 Solve a standard eigen-value problem for all eigen-pairs. More...
 
int solve (ftn_int matrix_size__, ftn_int nev__, dmatrix< double > &A__, double *eval__, dmatrix< double > &Z__) override
 wrapper for solving a standard eigen-value problem for N lowest eigen-pairs. More...
 
int solve (ftn_int matrix_size__, ftn_int nev__, dmatrix< std::complex< double > > &A__, double *eval__, dmatrix< std::complex< double > > &Z__) override
 Solve a standard eigen-value problem of a sub-matrix for N lowest eigen-pairs. More...
 
int solve (ftn_int matrix_size__, ftn_int nev__, dmatrix< float > &A__, float *eval__, dmatrix< float > &Z__) override
 Solve a standard eigen-value problem of a sub-matrix for N lowest eigen-pairs. More...
 
int solve (ftn_int matrix_size__, ftn_int nev__, dmatrix< std::complex< float > > &A__, float *eval__, dmatrix< std::complex< float > > &Z__) override
 Solve a standard eigen-value problem of a sub-matrix for N lowest eigen-pairs. More...
 
template<typename T >
int solve_ (ftn_int matrix_size__, ftn_int nev__, dmatrix< T > &A__, real_type< T > *eval__, dmatrix< T > &Z__)
 Solve a standard eigen-value problem for N lowest eigen-pairs. More...
 
int solve (ftn_int matrix_size__, ftn_int nev__, dmatrix< double > &A__, dmatrix< double > &B__, double *eval__, dmatrix< double > &Z__) override
 wrapper for solving a generalized eigen-value problem for N lowest eigen-pairs. More...
 
int solve (ftn_int matrix_size__, ftn_int nev__, dmatrix< std::complex< double > > &A__, dmatrix< std::complex< double > > &B__, double *eval__, dmatrix< std::complex< double > > &Z__) override
 Solve a generalized eigen-value problem for N lowest eigen-pairs. More...
 
int solve (ftn_int matrix_size__, ftn_int nev__, dmatrix< float > &A__, dmatrix< float > &B__, float *eval__, dmatrix< float > &Z__) override
 Solve a generalized eigen-value problem for N lowest eigen-pairs. More...
 
int solve (ftn_int matrix_size__, ftn_int nev__, dmatrix< std::complex< float > > &A__, dmatrix< std::complex< float > > &B__, float *eval__, dmatrix< std::complex< float > > &Z__) override
 Solve a generalized eigen-value problem for N lowest eigen-pairs. More...
 
template<typename T >
int solve_ (ftn_int matrix_size__, ftn_int nev__, dmatrix< T > &A__, dmatrix< T > &B__, real_type< T > *eval__, dmatrix< T > &Z__)
 Solve a generalized eigen-value problem for N lowest eigen-pairs. More...
 
- Public Member Functions inherited from sirius::la::Eigensolver
 Eigensolver (ev_solver_t type__, bool is_parallel__, sddk::memory_t host_memory_t__, sddk::memory_t data_memory_t__)
 Constructor. More...
 
virtual ~Eigensolver ()
 Destructor. More...
 
virtual int solve (ftn_int matrix_size__, dmatrix< double > &A__, double *eval__, dmatrix< double > &Z__)
 Solve a standard eigen-value problem for all eigen-pairs. More...
 
virtual int solve (ftn_int matrix_size__, dmatrix< std::complex< double > > &A__, double *eval__, dmatrix< std::complex< double > > &Z__)
 Solve a standard eigen-value problem for all eigen-pairs. More...
 
virtual int solve (ftn_int matrix_size__, dmatrix< float > &A__, float *eval__, dmatrix< float > &Z__)
 Solve a standard eigen-value problem for all eigen-pairs. More...
 
virtual int solve (ftn_int matrix_size__, dmatrix< std::complex< float > > &A__, float *eval__, dmatrix< std::complex< float > > &Z__)
 Solve a standard eigen-value problem for all eigen-pairs. More...
 
virtual int solve (ftn_int matrix_size__, ftn_int nev__, dmatrix< double > &A__, double *eval__, dmatrix< double > &Z__)
 Solve a standard eigen-value problem of a sub-matrix for N lowest eigen-pairs. More...
 
virtual int solve (ftn_int matrix_size__, ftn_int nev__, dmatrix< std::complex< double > > &A__, double *eval__, dmatrix< std::complex< double > > &Z__)
 Solve a standard eigen-value problem of a sub-matrix for N lowest eigen-pairs. More...
 
virtual int solve (ftn_int matrix_size__, ftn_int nev__, dmatrix< float > &A__, float *eval__, dmatrix< float > &Z__)
 Solve a standard eigen-value problem of a sub-matrix for N lowest eigen-pairs. More...
 
virtual int solve (ftn_int matrix_size__, ftn_int nev__, dmatrix< std::complex< float > > &A__, float *eval__, dmatrix< std::complex< float > > &Z__)
 Solve a standard eigen-value problem of a sub-matrix for N lowest eigen-pairs. More...
 
virtual int solve (ftn_int matrix_size__, dmatrix< double > &A__, dmatrix< double > &B__, double *eval__, dmatrix< double > &Z__)
 Solve a generalized eigen-value problem for all eigen-pairs. More...
 
virtual int solve (ftn_int matrix_size__, dmatrix< std::complex< double > > &A__, dmatrix< std::complex< double > > &B__, double *eval__, dmatrix< std::complex< double > > &Z__)
 Solve a generalized eigen-value problem for all eigen-pairs. More...
 
virtual int solve (ftn_int matrix_size__, dmatrix< float > &A__, dmatrix< float > &B__, float *eval__, dmatrix< float > &Z__)
 Solve a generalized eigen-value problem for all eigen-pairs. More...
 
virtual int solve (ftn_int matrix_size__, dmatrix< std::complex< float > > &A__, dmatrix< std::complex< float > > &B__, float *eval__, dmatrix< std::complex< float > > &Z__)
 Solve a generalized eigen-value problem for all eigen-pairs. More...
 
virtual int solve (ftn_int matrix_size__, ftn_int nev__, dmatrix< double > &A__, dmatrix< double > &B__, double *eval__, dmatrix< double > &Z__)
 Solve a generalized eigen-value problem for N lowest eigen-pairs. More...
 
virtual int solve (ftn_int matrix_size__, ftn_int nev__, dmatrix< std::complex< double > > &A__, dmatrix< std::complex< double > > &B__, double *eval__, dmatrix< std::complex< double > > &Z__)
 Solve a generalized eigen-value problem for N lowest eigen-pairs. More...
 
virtual int solve (ftn_int matrix_size__, ftn_int nev__, dmatrix< float > &A__, dmatrix< float > &B__, float *eval__, dmatrix< float > &Z__)
 Solve a generalized eigen-value problem for N lowest eigen-pairs. More...
 
virtual int solve (ftn_int matrix_size__, ftn_int nev__, dmatrix< std::complex< float > > &A__, dmatrix< std::complex< float > > &B__, float *eval__, dmatrix< std::complex< float > > &Z__)
 Solve a generalized eigen-value problem for N lowest eigen-pairs. More...
 
bool is_parallel () const
 Parallel or sequential solver. More...
 
sddk::memory_t host_memory_t () const
 Type of host memory, required by the solver. More...
 
sddk::memory_t data_memory_t () const
 Type of input memory for the solver. More...
 
ev_solver_t type () const
 Type of eigen-solver. More...
 

Additional Inherited Members

- Protected Attributes inherited from sirius::la::Eigensolver
ev_solver_t ev_solver_type_
 Type of the eigen-value solver. More...
 
const std::string error_msg_not_implemented = "solver is not implemented"
 Common error message. More...
 
bool is_parallel_ {false}
 True if solver is MPI parallel. More...
 
sddk::memory_t host_memory_t_ {sddk::memory_t::none}
 Type of host memory needed for the solver. More...
 
sddk::memory_t data_memory_t_ {sddk::memory_t::none}
 Type of input data memory. More...
 

Detailed Description

Definition at line 50 of file eigenproblem.hpp.

Constructor & Destructor Documentation

◆ Eigensolver_lapack()

sirius::la::Eigensolver_lapack::Eigensolver_lapack ( )
inline

Definition at line 53 of file eigenproblem.hpp.

Member Function Documentation

◆ solve() [1/12]

int sirius::la::Eigensolver_lapack::solve ( ftn_int  matrix_size__,
dmatrix< double > &  A__,
double *  eval__,
dmatrix< double > &  Z__ 
)
inlineoverridevirtual

wrapper for solving a standard eigen-value problem for all eigen-pairs.

Reimplemented from sirius::la::Eigensolver.

Definition at line 59 of file eigenproblem.hpp.

◆ solve() [2/12]

int sirius::la::Eigensolver_lapack::solve ( ftn_int  matrix_size__,
dmatrix< std::complex< double > > &  A__,
double *  eval__,
dmatrix< std::complex< double > > &  Z__ 
)
inlineoverridevirtual

Solve a standard eigen-value problem for all eigen-pairs.

Reimplemented from sirius::la::Eigensolver.

Definition at line 64 of file eigenproblem.hpp.

◆ solve() [3/12]

int sirius::la::Eigensolver_lapack::solve ( ftn_int  matrix_size__,
dmatrix< float > &  A__,
float *  eval__,
dmatrix< float > &  Z__ 
)
inlineoverridevirtual

Solve a standard eigen-value problem for all eigen-pairs.

Reimplemented from sirius::la::Eigensolver.

Definition at line 69 of file eigenproblem.hpp.

◆ solve() [4/12]

int sirius::la::Eigensolver_lapack::solve ( ftn_int  matrix_size__,
dmatrix< std::complex< float > > &  A__,
float *  eval__,
dmatrix< std::complex< float > > &  Z__ 
)
inlineoverridevirtual

Solve a standard eigen-value problem for all eigen-pairs.

Reimplemented from sirius::la::Eigensolver.

Definition at line 74 of file eigenproblem.hpp.

◆ solve_() [1/3]

template<typename T >
int sirius::la::Eigensolver_lapack::solve_ ( ftn_int  matrix_size__,
dmatrix< T > &  A__,
real_type< T > *  eval__,
dmatrix< T > &  Z__ 
)
inline

Solve a standard eigen-value problem for all eigen-pairs.

Definition at line 81 of file eigenproblem.hpp.

◆ solve() [5/12]

int sirius::la::Eigensolver_lapack::solve ( ftn_int  matrix_size__,
ftn_int  nev__,
dmatrix< double > &  A__,
double *  eval__,
dmatrix< double > &  Z__ 
)
inlineoverridevirtual

wrapper for solving a standard eigen-value problem for N lowest eigen-pairs.

Reimplemented from sirius::la::Eigensolver.

Definition at line 134 of file eigenproblem.hpp.

◆ solve() [6/12]

int sirius::la::Eigensolver_lapack::solve ( ftn_int  matrix_size__,
ftn_int  nev__,
dmatrix< std::complex< double > > &  A__,
double *  eval__,
dmatrix< std::complex< double > > &  Z__ 
)
inlineoverridevirtual

Solve a standard eigen-value problem of a sub-matrix for N lowest eigen-pairs.

Reimplemented from sirius::la::Eigensolver.

Definition at line 139 of file eigenproblem.hpp.

◆ solve() [7/12]

int sirius::la::Eigensolver_lapack::solve ( ftn_int  matrix_size__,
ftn_int  nev__,
dmatrix< float > &  A__,
float *  eval__,
dmatrix< float > &  Z__ 
)
inlineoverridevirtual

Solve a standard eigen-value problem of a sub-matrix for N lowest eigen-pairs.

Reimplemented from sirius::la::Eigensolver.

Definition at line 144 of file eigenproblem.hpp.

◆ solve() [8/12]

int sirius::la::Eigensolver_lapack::solve ( ftn_int  matrix_size__,
ftn_int  nev__,
dmatrix< std::complex< float > > &  A__,
float *  eval__,
dmatrix< std::complex< float > > &  Z__ 
)
inlineoverridevirtual

Solve a standard eigen-value problem of a sub-matrix for N lowest eigen-pairs.

Reimplemented from sirius::la::Eigensolver.

Definition at line 149 of file eigenproblem.hpp.

◆ solve_() [2/3]

template<typename T >
int sirius::la::Eigensolver_lapack::solve_ ( ftn_int  matrix_size__,
ftn_int  nev__,
dmatrix< T > &  A__,
real_type< T > *  eval__,
dmatrix< T > &  Z__ 
)
inline

Solve a standard eigen-value problem for N lowest eigen-pairs.

Definition at line 156 of file eigenproblem.hpp.

◆ solve() [9/12]

int sirius::la::Eigensolver_lapack::solve ( ftn_int  matrix_size__,
ftn_int  nev__,
dmatrix< double > &  A__,
dmatrix< double > &  B__,
double *  eval__,
dmatrix< double > &  Z__ 
)
inlineoverridevirtual

wrapper for solving a generalized eigen-value problem for N lowest eigen-pairs.

Reimplemented from sirius::la::Eigensolver.

Definition at line 262 of file eigenproblem.hpp.

◆ solve() [10/12]

int sirius::la::Eigensolver_lapack::solve ( ftn_int  matrix_size__,
ftn_int  nev__,
dmatrix< std::complex< double > > &  A__,
dmatrix< std::complex< double > > &  B__,
double *  eval__,
dmatrix< std::complex< double > > &  Z__ 
)
inlineoverridevirtual

Solve a generalized eigen-value problem for N lowest eigen-pairs.

Reimplemented from sirius::la::Eigensolver.

Definition at line 268 of file eigenproblem.hpp.

◆ solve() [11/12]

int sirius::la::Eigensolver_lapack::solve ( ftn_int  matrix_size__,
ftn_int  nev__,
dmatrix< float > &  A__,
dmatrix< float > &  B__,
float *  eval__,
dmatrix< float > &  Z__ 
)
inlineoverridevirtual

Solve a generalized eigen-value problem for N lowest eigen-pairs.

Reimplemented from sirius::la::Eigensolver.

Definition at line 274 of file eigenproblem.hpp.

◆ solve() [12/12]

int sirius::la::Eigensolver_lapack::solve ( ftn_int  matrix_size__,
ftn_int  nev__,
dmatrix< std::complex< float > > &  A__,
dmatrix< std::complex< float > > &  B__,
float *  eval__,
dmatrix< std::complex< float > > &  Z__ 
)
inlineoverridevirtual

Solve a generalized eigen-value problem for N lowest eigen-pairs.

Reimplemented from sirius::la::Eigensolver.

Definition at line 280 of file eigenproblem.hpp.

◆ solve_() [3/3]

template<typename T >
int sirius::la::Eigensolver_lapack::solve_ ( ftn_int  matrix_size__,
ftn_int  nev__,
dmatrix< T > &  A__,
dmatrix< T > &  B__,
real_type< T > *  eval__,
dmatrix< T > &  Z__ 
)
inline

Solve a generalized eigen-value problem for N lowest eigen-pairs.

Definition at line 288 of file eigenproblem.hpp.


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