eigensolver::GEVPSolver< F > Class Template Referenceabstract

#include <gevp_solver.hh>

Inheritance diagram for eigensolver::GEVPSolver< F >:
eigensolver::EigenSolver< Cmplx > concepts::OutputOperator

Public Member Functions

virtual uint converged () const
 
virtual uint converged () const=0
 Returns the number of converged eigen pairs. More...
 
virtual const concepts::Array< concepts::Vector< Cmplx > * > & getEF ()
 
virtual const concepts::Array< Cmplx > & getEV ()
 Returns an array with the eigen values. More...
 
 GEVPSolver (concepts::ShiftAndInvertOperatorForGEVPs< F > OP, int kmax=6, Real tol=EPS, int maxiter=300)
 
 GEVPSolver (SparseMatrix< F > &A, SparseMatrix< F > &B, F shift, int kmax=6, Real tol=EPS, int maxiter=300)
 
virtual uint iterations () const
 
virtual uint iterations () const=0
 Returns the number of iterations. More...
 
virtual ~GEVPSolver ()
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream. More...
 

Private Attributes

_shift
 
concepts::Array< Cmplx > _unshifted_eigenvalues
 
ArPackppStd< F > standard_evp_solver
 

Detailed Description

template<typename F>
class eigensolver::GEVPSolver< F >

Definition at line 79 of file gevp_solver.hh.

Constructor & Destructor Documentation

◆ GEVPSolver() [1/2]

template<typename F >
eigensolver::GEVPSolver< F >::GEVPSolver ( SparseMatrix< F > &  A,
SparseMatrix< F > &  B,
shift,
int  kmax = 6,
Real  tol = EPS,
int  maxiter = 300 
)
inline

Definition at line 83 of file gevp_solver.hh.

◆ GEVPSolver() [2/2]

template<typename F >
eigensolver::GEVPSolver< F >::GEVPSolver ( concepts::ShiftAndInvertOperatorForGEVPs< F >  OP,
int  kmax = 6,
Real  tol = EPS,
int  maxiter = 300 
)
inline

Definition at line 90 of file gevp_solver.hh.

◆ ~GEVPSolver()

template<typename F >
virtual eigensolver::GEVPSolver< F >::~GEVPSolver ( )
inlinevirtual

Definition at line 96 of file gevp_solver.hh.

Member Function Documentation

◆ converged() [1/2]

template<typename F >
virtual uint eigensolver::GEVPSolver< F >::converged ( ) const
virtual

◆ converged() [2/2]

virtual uint eigensolver::EigenSolver< Cmplx >::converged
pure virtualinherited

Returns the number of converged eigen pairs.

◆ getEF()

template<typename F >
virtual const concepts::Array<concepts::Vector<Cmplx>*>& eigensolver::GEVPSolver< F >::getEF ( )
virtual

◆ getEV()

template<typename F >
virtual const concepts::Array<Cmplx>& eigensolver::GEVPSolver< F >::getEV ( )
virtual

Returns an array with the eigen values.

Deprecated:
: this interface requires that the returned array must be hold as a member variable of the class.

(use std::auto_pointer or similar)

Implements eigensolver::EigenSolver< Cmplx >.

◆ info()

template<typename F >
virtual std::ostream& eigensolver::GEVPSolver< F >::info ( std::ostream &  os) const
inlineprotectedvirtual

Returns information in an output stream.

Reimplemented from eigensolver::EigenSolver< Cmplx >.

Definition at line 109 of file gevp_solver.hh.

◆ iterations() [1/2]

template<typename F >
virtual uint eigensolver::GEVPSolver< F >::iterations ( ) const
virtual

◆ iterations() [2/2]

virtual uint eigensolver::EigenSolver< Cmplx >::iterations
pure virtualinherited

Returns the number of iterations.

Member Data Documentation

◆ _shift

template<typename F >
F eigensolver::GEVPSolver< F >::_shift
private

Definition at line 116 of file gevp_solver.hh.

◆ _unshifted_eigenvalues

template<typename F >
concepts::Array<Cmplx> eigensolver::GEVPSolver< F >::_unshifted_eigenvalues
private

Definition at line 117 of file gevp_solver.hh.

◆ standard_evp_solver

template<typename F >
ArPackppStd<F> eigensolver::GEVPSolver< F >::standard_evp_solver
private

Definition at line 115 of file gevp_solver.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich