Anasazi  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
List of all members
Anasazi::SolverManager< ScalarType, MV, OP > Class Template Referenceabstract

The Anasazi::SolverManager is a templated virtual base class that defines the basic interface that any solver manager will support. More...

#include <AnasaziSolverManager.hpp>

Inheritance diagram for Anasazi::SolverManager< ScalarType, MV, OP >:
Anasazi::BlockDavidsonSolMgr< ScalarType, MV, OP > Anasazi::BlockKrylovSchurSolMgr< ScalarType, MV, OP > Anasazi::Experimental::TraceMinBaseSolMgr< ScalarType, MV, OP > Anasazi::GeneralizedDavidsonSolMgr< ScalarType, MV, OP > Anasazi::LOBPCGSolMgr< ScalarType, MV, OP > Anasazi::RTRSolMgr< ScalarType, MV, OP > Anasazi::SimpleLOBPCGSolMgr< ScalarType, MV, OP > Anasazi::Experimental::TraceMinDavidsonSolMgr< ScalarType, MV, OP > Anasazi::Experimental::TraceMinSolMgr< ScalarType, MV, OP >

Public Member Functions

Constructors/Destructor
 SolverManager ()
 Empty constructor. More...
 
virtual ~SolverManager ()
 Destructor. More...
 
Accessor methods
virtual const Eigenproblem
< ScalarType, MV, OP > & 
getProblem () const =0
 Return the eigenvalue problem. More...
 
virtual int getNumIters () const =0
 Get the iteration count for the most recent call to solve(). More...
 
virtual Teuchos::Array
< Teuchos::RCP< Teuchos::Time > > 
getTimers () const
 Return the timers for this object. More...
 
Solver application methods
virtual ReturnType solve ()=0
 This method performs possibly repeated calls to the underlying eigensolver's iterate() routine until the problem has been solved (as decided by the solver manager) or the solver manager decides to quit. More...
 

Detailed Description

template<class ScalarType, class MV, class OP>
class Anasazi::SolverManager< ScalarType, MV, OP >

The Anasazi::SolverManager is a templated virtual base class that defines the basic interface that any solver manager will support.

Definition at line 34 of file AnasaziSolverManager.hpp.

Constructor & Destructor Documentation

template<class ScalarType , class MV , class OP >
Anasazi::SolverManager< ScalarType, MV, OP >::SolverManager ( )
inline

Empty constructor.

Definition at line 42 of file AnasaziSolverManager.hpp.

template<class ScalarType , class MV , class OP >
virtual Anasazi::SolverManager< ScalarType, MV, OP >::~SolverManager ( )
inlinevirtual

Destructor.

Definition at line 45 of file AnasaziSolverManager.hpp.

Member Function Documentation

template<class ScalarType , class MV , class OP >
virtual const Eigenproblem<ScalarType,MV,OP>& Anasazi::SolverManager< ScalarType, MV, OP >::getProblem ( ) const
pure virtual
template<class ScalarType , class MV , class OP >
virtual int Anasazi::SolverManager< ScalarType, MV, OP >::getNumIters ( ) const
pure virtual
template<class ScalarType , class MV , class OP >
virtual Teuchos::Array<Teuchos::RCP<Teuchos::Time> > Anasazi::SolverManager< ScalarType, MV, OP >::getTimers ( ) const
inlinevirtual
template<class ScalarType , class MV , class OP >
virtual ReturnType Anasazi::SolverManager< ScalarType, MV, OP >::solve ( )
pure virtual

This method performs possibly repeated calls to the underlying eigensolver's iterate() routine until the problem has been solved (as decided by the solver manager) or the solver manager decides to quit.

Returns
ReturnType specifying:
  • Converged: the eigenproblem was solved to the specification required by the solver manager.
  • Unconverged: the eigenproblem was not solved to the specification desired by the solver manager

Implemented in Anasazi::LOBPCGSolMgr< ScalarType, MV, OP >, Anasazi::BlockKrylovSchurSolMgr< ScalarType, MV, OP >, Anasazi::Experimental::TraceMinBaseSolMgr< ScalarType, MV, OP >, Anasazi::BlockDavidsonSolMgr< ScalarType, MV, OP >, Anasazi::SimpleLOBPCGSolMgr< ScalarType, MV, OP >, Anasazi::RTRSolMgr< ScalarType, MV, OP >, and Anasazi::GeneralizedDavidsonSolMgr< ScalarType, MV, OP >.


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