Anasazi
Version of the Day
|
This class defines the interface required by an eigensolver and status test class to compute solutions to an eigenproblem. More...
#include <AnasaziEigenproblem.hpp>
Public Member Functions | |
Constructors/Destructor | |
Eigenproblem () | |
Empty constructor. More... | |
virtual | ~Eigenproblem () |
Destructor. More... | |
Set Methods | |
virtual void | setOperator (const Teuchos::RCP< const OP > &Op)=0 |
Set the operator for which eigenvalues will be computed. More... | |
virtual void | setA (const Teuchos::RCP< const OP > &A)=0 |
Set the operator A of the eigenvalue problem . More... | |
virtual void | setM (const Teuchos::RCP< const OP > &M)=0 |
Set the operator M of the eigenvalue problem . More... | |
virtual void | setPrec (const Teuchos::RCP< const OP > &Prec)=0 |
Set the preconditioner for this eigenvalue problem . More... | |
virtual void | setInitVec (const Teuchos::RCP< MV > &InitVec)=0 |
Set the initial guess. More... | |
virtual void | setAuxVecs (const Teuchos::RCP< const MV > &AuxVecs)=0 |
Set auxiliary vectors. More... | |
virtual void | setNEV (int nev)=0 |
The number of eigenvalues (NEV) that are requested. More... | |
virtual void | setHermitian (bool isSym)=0 |
Specify the symmetry of the eigenproblem. More... | |
virtual bool | setProblem ()=0 |
Specify that this eigenproblem is fully defined. More... | |
virtual void | setSolution (const Eigensolution< ScalarType, MV > &sol)=0 |
Set the solution to the eigenproblem. More... | |
Accessor Methods | |
virtual Teuchos::RCP< const OP > | getOperator () const =0 |
Get a pointer to the operator for which eigenvalues will be computed. More... | |
virtual Teuchos::RCP< const OP > | getA () const =0 |
Get a pointer to the operator A of the eigenproblem . More... | |
virtual Teuchos::RCP< const OP > | getM () const =0 |
Get a pointer to the operator M of the eigenproblem . More... | |
virtual Teuchos::RCP< const OP > | getPrec () const =0 |
Get a pointer to the preconditioner. More... | |
virtual Teuchos::RCP< const MV > | getInitVec () const =0 |
Get a pointer to the initial vector. More... | |
virtual Teuchos::RCP< const MV > | getAuxVecs () const =0 |
Get a pointer to the auxiliary vector. More... | |
virtual int | getNEV () const =0 |
Get the number of eigenvalues (NEV) that are required by this eigenproblem. More... | |
virtual bool | isHermitian () const =0 |
Get the symmetry information for this eigenproblem. More... | |
virtual bool | isProblemSet () const =0 |
If the problem has been set, this method will return true. More... | |
virtual const Eigensolution < ScalarType, MV > & | getSolution () const =0 |
Get the solution to the eigenproblem. More... | |
This class defines the interface required by an eigensolver and status test class to compute solutions to an eigenproblem.
Definition at line 32 of file AnasaziEigenproblem.hpp.
|
inline |
Empty constructor.
Definition at line 40 of file AnasaziEigenproblem.hpp.
|
inlinevirtual |
Destructor.
Definition at line 43 of file AnasaziEigenproblem.hpp.
|
pure virtual |
Set the operator for which eigenvalues will be computed.
A
if a spectral transformation is employed. For example, this operator may apply the operation if you are looking for eigenvalues of A
around . Implemented in Anasazi::BasicEigenproblem< ScalarType, MV, OP >.
|
pure virtual |
Set the operator A
of the eigenvalue problem .
Implemented in Anasazi::BasicEigenproblem< ScalarType, MV, OP >.
|
pure virtual |
Set the operator M
of the eigenvalue problem .
Implemented in Anasazi::BasicEigenproblem< ScalarType, MV, OP >.
|
pure virtual |
Set the preconditioner for this eigenvalue problem .
Implemented in Anasazi::BasicEigenproblem< ScalarType, MV, OP >.
|
pure virtual |
Set the initial guess.
Implemented in Anasazi::BasicEigenproblem< ScalarType, MV, OP >.
|
pure virtual |
Set auxiliary vectors.
Implemented in Anasazi::BasicEigenproblem< ScalarType, MV, OP >.
|
pure virtual |
The number of eigenvalues (NEV) that are requested.
Implemented in Anasazi::BasicEigenproblem< ScalarType, MV, OP >.
|
pure virtual |
Specify the symmetry of the eigenproblem.
This knowledge may allow the solver to take advantage of the eigenproblems' symmetry. Some computational work may be avoided by setting this properly.
Implemented in Anasazi::BasicEigenproblem< ScalarType, MV, OP >.
|
pure virtual |
Specify that this eigenproblem is fully defined.
This routine serves multiple purpose:
true
signifies success, false
signifies error. Implemented in Anasazi::BasicEigenproblem< ScalarType, MV, OP >.
|
pure virtual |
Set the solution to the eigenproblem.
This mechanism allows an Eigensolution struct to be associated with an Eigenproblem object. setSolution() is usually called by a solver manager at the end of its SolverManager::solve() routine.
Implemented in Anasazi::BasicEigenproblem< ScalarType, MV, OP >.
|
pure virtual |
Get a pointer to the operator for which eigenvalues will be computed.
Implemented in Anasazi::BasicEigenproblem< ScalarType, MV, OP >.
|
pure virtual |
Get a pointer to the operator A
of the eigenproblem .
Implemented in Anasazi::BasicEigenproblem< ScalarType, MV, OP >.
|
pure virtual |
Get a pointer to the operator M
of the eigenproblem .
Implemented in Anasazi::BasicEigenproblem< ScalarType, MV, OP >.
|
pure virtual |
Get a pointer to the preconditioner.
Implemented in Anasazi::BasicEigenproblem< ScalarType, MV, OP >.
|
pure virtual |
Get a pointer to the initial vector.
Implemented in Anasazi::BasicEigenproblem< ScalarType, MV, OP >.
|
pure virtual |
Get a pointer to the auxiliary vector.
Implemented in Anasazi::BasicEigenproblem< ScalarType, MV, OP >.
|
pure virtual |
Get the number of eigenvalues (NEV) that are required by this eigenproblem.
Implemented in Anasazi::BasicEigenproblem< ScalarType, MV, OP >.
|
pure virtual |
Get the symmetry information for this eigenproblem.
Implemented in Anasazi::BasicEigenproblem< ScalarType, MV, OP >.
|
pure virtual |
If the problem has been set, this method will return true.
Implemented in Anasazi::BasicEigenproblem< ScalarType, MV, OP >.
|
pure virtual |
Get the solution to the eigenproblem.
There is no computation associated with this method. It only provides a mechanism for associating an Eigensolution with a Eigenproblem.
Implemented in Anasazi::BasicEigenproblem< ScalarType, MV, OP >.