Anasazi::BlockKrylovSchurSolMgr< ScalarType, MV, OP > Class Template ReferenceThe Anasazi::BlockKrylovSchurSolMgr provides a powerful and fully-featured solver manager over the BlockKrylovSchur eigensolver.
[Anasazi Eigensolver Framework]
Inheritance diagram for Anasazi::BlockKrylovSchurSolMgr< ScalarType, MV, OP >:
List of all members.
template<class ScalarType, class MV, class OP>
The Anasazi::BlockKrylovSchurSolMgr provides a powerful and fully-featured solver manager over the BlockKrylovSchur eigensolver.
class Anasazi::BlockKrylovSchurSolMgr< ScalarType, MV, OP >
- Chris Baker, Ulrich Hetmaniuk, Rich Lehoucq, Heidi Thornquist
Definition at line 72 of file AnasaziBlockKrylovSchurSolMgr.hpp.
Constructor & Destructor Documentation
Basic constructor for BlockKrylovSchurSolMgr.
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:
- "Which" - a
string specifying the desired eigenvalues: SM, LM, SR or LR. Default: "LM"
- "Block Size" - a
int specifying the block size to be used by the underlying block Krylov-Schur solver. Default: 1
- "Num Blocks" - a
int specifying the number of blocks allocated for the Krylov basis. Default: 3*nev
- "Extra NEV Blocks" - a
int specifying the number of extra blocks the solver should keep in addition to those
- required to compute the number of eigenvalues requested. Default: 0
- "Maximum Restarts" - a
int specifying the maximum number of restarts the underlying solver is allowed to perform. Default: 20
- "Orthogonalization" - a
string specifying the desired orthogonalization: DGKS and SVQB. Default: "SVQB"
- "Verbosity" - a sum of MsgType specifying the verbosity. Default: Anasazi::Errors
- "Convergence Tolerance" - a
MagnitudeType specifying the level that residual norms must reach to decide convergence. Default: machine precision.
- "Relative Convergence Tolerance" - a
bool specifying whether residuals norms should be scaled by their eigenvalues for the purposing of deciding convergence. Default: true
Definition at line 179 of file AnasaziBlockKrylovSchurSolMgr.hpp.
Member Function Documentation
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.
This method calls BlockKrylovSchur::iterate(), which will return either because a specially constructed status test evaluates to Passed or an exception is thrown.
A return from BlockKrylovSchur::iterate() signifies one of the following scenarios:
- the maximum number of restarts has been exceeded. In this scenario, the solver manager will place
all converged eigenpairs into the eigenproblem and return Unconverged.
- global convergence has been met. In this case, the most significant NEV eigenpairs in the solver and locked storage
have met the convergence criterion. (Here, NEV refers to the number of eigenpairs requested by the Eigenproblem.)
In this scenario, the solver manager will return Converged.
- 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.
Implements Anasazi::SolverManager< ScalarType, MV, OP >.
Definition at line 276 of file AnasaziBlockKrylovSchurSolMgr.hpp.
The documentation for this class was generated from the following file:
Generated on Thu Sep 18 12:31:38 2008 for Anasazi by 126.96.36.199