Public Types | |
enum | State { INIT_PHASE , CONFIGURED_PHASE , SOLVED_PHASE } |
enum | SolverType { BLOCK_KRYLOV_SCHUR , BLOCK_DAVIDSON , LOBPCG , RTR } |
typedef Anasazi::MultiVec< ScalarT > | MV |
typedef Anasazi::Operator< ScalarT > | OP |
typedef AnasaziMV< ScalarT > | MV_C |
typedef AnasaziOp< ScalarT > | OP_C |
typedef Anasazi::MultiVecTraits< ScalarT, MV > | MVT |
Public Member Functions | |
AnasaziES (SolverType solverType, concepts::Operator< ScalarT > &A) | |
void | setM (concepts::Operator< ScalarT > &M) |
void | setHermitian (bool isHermite) |
void | setBlockSize (int blocksize=1) |
void | setNEV (int nev=3) |
bool | setProblem () |
int | solve () |
void | setVerbosity (int verbosity=Anasazi::Errors) |
void | setOrthogonalization (std::string mode="SVQB") |
void | setMode (std::string mode="LM") |
void | setNumBlocks (int numBlocks) |
void | setMaxRestarts (int maxRestarts=100) |
void | setConvTol (double tolerance) |
void | setRelConvTol (bool rct) |
void | setConvergenceNorm (std::string norm="2") |
void | setMaxLocked (int val) |
virtual const concepts::Array< ScalarT > & | getEV () |
Returns an array with the eigen values. | |
virtual const concepts::Array< concepts::Vector< ScalarT > * > & | getEF () |
Returns an array with the eigen functions. | |
virtual uint | converged () const |
Returns the number of converged eigen pairs. | |
virtual uint | iterations () const |
Returns the number of iterations. | |
Teuchos::RCP< Anasazi::BasicEigenproblem< ScalarT, MV, OP > > | getProblem () |
Public Attributes | |
virtual std::ostream &std::ostream &os | const |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
Definition at line 17 of file anasaziES.hh.
Definition at line 22 of file anasaziES.hh.
Definition at line 24 of file anasaziES.hh.
typedef Anasazi::MultiVecTraits<ScalarT, MV> concepts::AnasaziES< ScalarT >::MVT |
Definition at line 26 of file anasaziES.hh.
Definition at line 23 of file anasaziES.hh.
Definition at line 25 of file anasaziES.hh.
Definition at line 20 of file anasaziES.hh.
Definition at line 19 of file anasaziES.hh.
|
inline |
Definition at line 32 of file anasaziES.hh.
|
inlinevirtual |
Returns the number of converged eigen pairs.
Implements eigensolver::EigenSolver< ScalarT >.
Definition at line 180 of file anasaziES.hh.
|
inlinevirtual |
Returns an array with the eigen functions.
Implements eigensolver::EigenSolver< ScalarT >.
Definition at line 169 of file anasaziES.hh.
|
inlinevirtual |
Returns an array with the eigen values.
Implements eigensolver::EigenSolver< ScalarT >.
Definition at line 159 of file anasaziES.hh.
|
inline |
Definition at line 197 of file anasaziES.hh.
|
protectedvirtualinherited |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
|
inlinevirtual |
Returns the number of iterations.
Implements eigensolver::EigenSolver< ScalarT >.
Definition at line 190 of file anasaziES.hh.
|
inline |
Definition at line 47 of file anasaziES.hh.
|
inline |
Convergence Norm. Block Davidson: a string specifying the norm for convergence testing: "2" or "M"
Definition at line 145 of file anasaziES.hh.
Convergence Tolerance. MagnitudeType specifying the level that residual norms must reach to decide convergence. Default: machine precision.
Definition at line 129 of file anasaziES.hh.
Definition at line 41 of file anasaziES.hh.
|
inline |
Definition at line 36 of file anasaziES.hh.
Max Locked. Block Davidson: a int specifying the maximum number of eigenpairs to be locked. Default: problem->getNEV()
Definition at line 153 of file anasaziES.hh.
|
inline |
Definition at line 121 of file anasaziES.hh.
|
inline |
Definition at line 108 of file anasaziES.hh.
Definition at line 56 of file anasaziES.hh.
for Block Krylov Chur. Anasazi default: 3 * nev
Definition at line 116 of file anasaziES.hh.
|
inline |
BlockKrylovSchur: the desired orthogonalization: DGKS or SVQB
Definition at line 93 of file anasaziES.hh.
bool concepts::AnasaziES< ScalarT >::setProblem | ( | ) |
initialises the problem with the specified parameters, and returns if the configuration is valid
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 138 of file anasaziES.hh.
|
inline |
Definition at line 87 of file anasaziES.hh.
virtual std::ostream& std::ostream& os concepts::AnasaziES< ScalarT >::const |
Definition at line 203 of file anasaziES.hh.