#include <AnasaziSimpleLOBPCGSolMgr.hpp>
Inheritance diagram for Anasazi::SimpleLOBPCGSolMgr< ScalarType, MV, OP >:
Public Member Functions | |
Constructors/Destructor | |
SimpleLOBPCGSolMgr (const Teuchos::RCP< Eigenproblem< ScalarType, MV, OP > > &problem, Teuchos::ParameterList &pl) | |
Basic constructor for SimpleLOBPCGSolMgr. | |
virtual | ~SimpleLOBPCGSolMgr () |
Destructor. | |
Accessor methods | |
const Eigenproblem< ScalarType, MV, OP > & | getProblem () const |
Solver application methods | |
ReturnType | solve () |
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. |
Anasazi::SimpleLOBPCGSolMgr allows the user to specify convergence tolerance, verbosity level and block size. When block size is less than the number of requested eigenvalues specified in the eigenproblem, checkpointing is activated.
The purpose of this solver manager was to provide an example of a simple solver manager, useful for demonstration as well as a jumping-off point for solvermanager development. Also, the solver manager is useful for testing some of the features of the Anasazi::LOBPCG eigensolver, principally the use of auxiliary vectors.
This solver manager does not verify before quitting that the nev eigenvectors that have converged are also the smallest nev eigenvectors that are known.
Definition at line 86 of file AnasaziSimpleLOBPCGSolMgr.hpp.
Anasazi::SimpleLOBPCGSolMgr< ScalarType, MV, OP >::SimpleLOBPCGSolMgr | ( | const Teuchos::RCP< Eigenproblem< ScalarType, MV, OP > > & | problem, | |
Teuchos::ParameterList & | pl | |||
) |
Basic constructor for SimpleLOBPCGSolMgr.
This constructor accepts the Eigenproblem to be solved in addition to a parameter list of options for the solver manager. These options include the following:
string
specifying the desired eigenvalues: SM, LM, SR or LR. Default: SRint
specifying the block size to be used by the underlying LOBPCG solver. Default: problem->getNEV()int
specifying the maximum number of iterations the underlying solver is allowed to perform. Default: 100MagnitudeType
specifying the level that residual norms must reach to decide convergence. Default: machine precision Definition at line 151 of file AnasaziSimpleLOBPCGSolMgr.hpp.
virtual Anasazi::SimpleLOBPCGSolMgr< ScalarType, MV, OP >::~SimpleLOBPCGSolMgr | ( | ) | [inline, virtual] |
ReturnType Anasazi::SimpleLOBPCGSolMgr< ScalarType, MV, OP >::solve | ( | ) | [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.
Implements Anasazi::SolverManager< ScalarType, MV, OP >.
Definition at line 199 of file AnasaziSimpleLOBPCGSolMgr.hpp.