Anasazi Version of the Day
Anasazi::SolverManager< ScalarType, MV, OP > Class Template Reference

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::LOBPCGSolMgr< ScalarType, MV, OP > Anasazi::RTRSolMgr< ScalarType, MV, OP > Anasazi::SimpleLOBPCGSolMgr< ScalarType, MV, OP >

List of all members.

Public Member Functions

Constructors/Destructor
 SolverManager ()
 Empty constructor.
virtual ~SolverManager ()
 Destructor.
Accessor methods
virtual const Eigenproblem
< ScalarType, MV, OP > & 
getProblem () const =0
 Return the eigenvalue problem.
virtual int getNumIters () const =0
 Get the iteration count for the most recent call to solve().
virtual Teuchos::Array
< Teuchos::RCP< Teuchos::Time > > 
getTimers () const
 Return the timers for this object.
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.

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 53 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 61 of file AnasaziSolverManager.hpp.

template<class ScalarType , class MV , class OP >
virtual Anasazi::SolverManager< ScalarType, MV, OP >::~SolverManager ( ) [inline, virtual]

Destructor.

Definition at line 64 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 [inline, virtual]
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::BlockDavidsonSolMgr< ScalarType, MV, OP >, Anasazi::BlockKrylovSchurSolMgr< ScalarType, MV, OP >, Anasazi::LOBPCGSolMgr< ScalarType, MV, OP >, Anasazi::RTRSolMgr< ScalarType, MV, OP >, and Anasazi::SimpleLOBPCGSolMgr< ScalarType, MV, OP >.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends