#include <AnasaziBasicEigenproblem.hpp>
Inheritance diagram for Anasazi::BasicEigenproblem< ScalarType, MV, OP >:

Public Member Functions | |
Constructors/Destructor | |
| BasicEigenproblem () | |
| Empty constructor - allows Anasazi::BasicEigenproblem to be described at a later time through "Set Methods". | |
| BasicEigenproblem (const Teuchos::RCP< const OP > &Op, const Teuchos::RCP< MV > &InitVec) | |
| Standard Eigenvalue Problem Constructor. | |
| BasicEigenproblem (const Teuchos::RCP< const OP > &Op, const Teuchos::RCP< const OP > &B, const Teuchos::RCP< MV > &InitVec) | |
| Generalized Eigenvalue Problem Constructor. | |
| BasicEigenproblem (const BasicEigenproblem< ScalarType, MV, OP > &Problem) | |
| Copy Constructor. | |
| virtual | ~BasicEigenproblem () |
| Destructor. | |
Set Methods | |
| void | setOperator (const Teuchos::RCP< const OP > &Op) |
| Set the operator for which eigenvalues will be computed. | |
| void | setA (const Teuchos::RCP< const OP > &A) |
Set the operator A of the eigenvalue problem . | |
| void | setM (const Teuchos::RCP< const OP > &M) |
Set the operator M of the eigenvalue problem . | |
| void | setPrec (const Teuchos::RCP< const OP > &Prec) |
Set the preconditioner for this eigenvalue problem . | |
| void | setInitVec (const Teuchos::RCP< MV > &InitVec) |
| Set the initial guess. | |
| void | setAuxVecs (const Teuchos::RCP< const MV > &AuxVecs) |
| Set auxiliary vectors. | |
| void | setNEV (int nev) |
| Specify the number of eigenvalues (NEV) that are requested. | |
| void | setHermitian (bool isSym) |
| Specify the symmetry of this eigenproblem. | |
| bool | setProblem () |
| Specify that this eigenproblem is fully defined. | |
| void | setSolution (const Eigensolution< ScalarType, MV > &sol) |
| Set the solution to the eigenproblem. | |
Accessor Methods | |
| Teuchos::RCP< const OP > | getOperator () const |
| Get a pointer to the operator for which eigenvalues will be computed. | |
| Teuchos::RCP< const OP > | getA () const |
Get a pointer to the operator A of the eigenproblem . | |
| Teuchos::RCP< const OP > | getM () const |
Get a pointer to the operator M of the eigenproblem . | |
| Teuchos::RCP< const OP > | getPrec () const |
Get a pointer to the preconditioner of the eigenproblem . | |
| Teuchos::RCP< const MV > | getInitVec () const |
| Get a pointer to the initial vector. | |
| Teuchos::RCP< const MV > | getAuxVecs () const |
| Get a pointer to the auxiliary vector. | |
| int | getNEV () const |
| Get the number of eigenvalues (NEV) that are required by this eigenproblem. | |
| bool | isHermitian () const |
| Get the symmetry information for this eigenproblem. | |
| bool | isProblemSet () const |
| If the problem has been set, this method will return true. | |
| const Eigensolution< ScalarType, MV > & | getSolution () const |
| Get the solution to the eigenproblem. | |
Protected Types | |
| typedef MultiVecTraits< ScalarType, MV > | MVT |
Type-definition for the MultiVecTraits class corresponding to the MV type. | |
| typedef OperatorTraits< ScalarType, MV, OP > | OPT |
Type-definition for the OperatorTraits class corresponding to the OP type. | |
Protected Attributes | |
| Teuchos::RCP< const OP > | _AOp |
Reference-counted pointer for A of the eigenproblem . | |
| Teuchos::RCP< const OP > | _MOp |
Reference-counted pointer for M of the eigenproblem . | |
| Teuchos::RCP< const OP > | _Op |
Reference-counted pointer for the operator of the eigenproblem . | |
| Teuchos::RCP< const OP > | _Prec |
Reference-counted pointer for the preconditioner of the eigenproblem . | |
| Teuchos::RCP< MV > | _InitVec |
Reference-counted pointer for the initial vector of the eigenproblem . | |
| Teuchos::RCP< const MV > | _AuxVecs |
Reference-counted pointer for the auxiliary vector of the eigenproblem . | |
| int | _nev |
| Number of eigenvalues requested. | |
| bool | _isSym |
| Symmetry of the eigenvalue problem. | |
| bool | _isSet |
| Sanity Check Flag. | |
| Eigensolution< ScalarType, MV > | _sol |
| Solution to problem. | |
typedef MultiVecTraits<ScalarType,MV> Anasazi::BasicEigenproblem< ScalarType, MV, OP >::MVT [protected] |
Type-definition for the MultiVecTraits class corresponding to the MV type.
typedef OperatorTraits<ScalarType,MV,OP> Anasazi::BasicEigenproblem< ScalarType, MV, OP >::OPT [protected] |
Type-definition for the OperatorTraits class corresponding to the OP type.
| Anasazi::BasicEigenproblem< ScalarType, MV, OP >::BasicEigenproblem | ( | ) |
Empty constructor - allows Anasazi::BasicEigenproblem to be described at a later time through "Set Methods".
| Anasazi::BasicEigenproblem< ScalarType, MV, OP >::BasicEigenproblem | ( | const Teuchos::RCP< const OP > & | Op, | |
| const Teuchos::RCP< MV > & | InitVec | |||
| ) |
Standard Eigenvalue Problem Constructor.
| Anasazi::BasicEigenproblem< ScalarType, MV, OP >::BasicEigenproblem | ( | const Teuchos::RCP< const OP > & | Op, | |
| const Teuchos::RCP< const OP > & | B, | |||
| const Teuchos::RCP< MV > & | InitVec | |||
| ) |
Generalized Eigenvalue Problem Constructor.
| Anasazi::BasicEigenproblem< ScalarType, MV, OP >::BasicEigenproblem | ( | const BasicEigenproblem< ScalarType, MV, OP > & | Problem | ) |
Copy Constructor.
| virtual Anasazi::BasicEigenproblem< ScalarType, MV, OP >::~BasicEigenproblem | ( | ) | [inline, virtual] |
Destructor.
| void Anasazi::BasicEigenproblem< ScalarType, MV, OP >::setOperator | ( | const Teuchos::RCP< const OP > & | Op | ) | [inline, 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
. Implements Anasazi::Eigenproblem< ScalarType, MV, OP >.
| void Anasazi::BasicEigenproblem< ScalarType, MV, OP >::setA | ( | const Teuchos::RCP< const OP > & | A | ) | [inline, virtual] |
Set the operator A of the eigenvalue problem
.
Implements Anasazi::Eigenproblem< ScalarType, MV, OP >.
| void Anasazi::BasicEigenproblem< ScalarType, MV, OP >::setM | ( | const Teuchos::RCP< const OP > & | M | ) | [inline, virtual] |
Set the operator M of the eigenvalue problem
.
Implements Anasazi::Eigenproblem< ScalarType, MV, OP >.
| void Anasazi::BasicEigenproblem< ScalarType, MV, OP >::setPrec | ( | const Teuchos::RCP< const OP > & | Prec | ) | [inline, virtual] |
Set the preconditioner for this eigenvalue problem
.
Implements Anasazi::Eigenproblem< ScalarType, MV, OP >.
| void Anasazi::BasicEigenproblem< ScalarType, MV, OP >::setInitVec | ( | const Teuchos::RCP< MV > & | InitVec | ) | [inline, virtual] |
Set the initial guess.
This vector is required to create all the space needed by Anasazi to solve the eigenvalue problem.
Implements Anasazi::Eigenproblem< ScalarType, MV, OP >.
| void Anasazi::BasicEigenproblem< ScalarType, MV, OP >::setAuxVecs | ( | const Teuchos::RCP< const MV > & | AuxVecs | ) | [inline, virtual] |
Set auxiliary vectors.
Implements Anasazi::Eigenproblem< ScalarType, MV, OP >.
| void Anasazi::BasicEigenproblem< ScalarType, MV, OP >::setNEV | ( | int | nev | ) | [inline, virtual] |
Specify the number of eigenvalues (NEV) that are requested.
Implements Anasazi::Eigenproblem< ScalarType, MV, OP >.
| void Anasazi::BasicEigenproblem< ScalarType, MV, OP >::setHermitian | ( | bool | isSym | ) | [inline, virtual] |
Specify the symmetry of this eigenproblem.
This knowledge may allow the solver to take advantage of the eigenproblems' symmetry. Some computational work can be avoided by setting this properly.
Implements Anasazi::Eigenproblem< ScalarType, MV, OP >.
| bool Anasazi::BasicEigenproblem< ScalarType, MV, OP >::setProblem | ( | ) | [virtual] |
Specify that this eigenproblem is fully defined.
This routine serves multiple purpose:
This method reallocates internal storage, so that any previously retrieved references to internal storage (eigenvectors or eigenvalues) are invalidated.
true signifies success, false signifies error. Implements Anasazi::Eigenproblem< ScalarType, MV, OP >.
| void Anasazi::BasicEigenproblem< ScalarType, MV, OP >::setSolution | ( | const Eigensolution< ScalarType, MV > & | sol | ) | [inline, 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.
Implements Anasazi::Eigenproblem< ScalarType, MV, OP >.
| Teuchos::RCP<const OP> Anasazi::BasicEigenproblem< ScalarType, MV, OP >::getOperator | ( | ) | const [inline, virtual] |
Get a pointer to the operator for which eigenvalues will be computed.
Implements Anasazi::Eigenproblem< ScalarType, MV, OP >.
| Teuchos::RCP<const OP> Anasazi::BasicEigenproblem< ScalarType, MV, OP >::getA | ( | ) | const [inline, virtual] |
Get a pointer to the operator A of the eigenproblem
.
Implements Anasazi::Eigenproblem< ScalarType, MV, OP >.
| Teuchos::RCP<const OP> Anasazi::BasicEigenproblem< ScalarType, MV, OP >::getM | ( | ) | const [inline, virtual] |
Get a pointer to the operator M of the eigenproblem
.
Implements Anasazi::Eigenproblem< ScalarType, MV, OP >.
| Teuchos::RCP<const OP> Anasazi::BasicEigenproblem< ScalarType, MV, OP >::getPrec | ( | ) | const [inline, virtual] |
Get a pointer to the preconditioner of the eigenproblem
.
Implements Anasazi::Eigenproblem< ScalarType, MV, OP >.
| Teuchos::RCP<const MV> Anasazi::BasicEigenproblem< ScalarType, MV, OP >::getInitVec | ( | ) | const [inline, virtual] |
| Teuchos::RCP<const MV> Anasazi::BasicEigenproblem< ScalarType, MV, OP >::getAuxVecs | ( | ) | const [inline, virtual] |
| int Anasazi::BasicEigenproblem< ScalarType, MV, OP >::getNEV | ( | ) | const [inline, virtual] |
Get the number of eigenvalues (NEV) that are required by this eigenproblem.
Implements Anasazi::Eigenproblem< ScalarType, MV, OP >.
| bool Anasazi::BasicEigenproblem< ScalarType, MV, OP >::isHermitian | ( | ) | const [inline, virtual] |
Get the symmetry information for this eigenproblem.
Implements Anasazi::Eigenproblem< ScalarType, MV, OP >.
| bool Anasazi::BasicEigenproblem< ScalarType, MV, OP >::isProblemSet | ( | ) | const [inline, virtual] |
If the problem has been set, this method will return true.
Implements Anasazi::Eigenproblem< ScalarType, MV, OP >.
| const Eigensolution<ScalarType,MV>& Anasazi::BasicEigenproblem< ScalarType, MV, OP >::getSolution | ( | ) | const [inline, 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.
Implements Anasazi::Eigenproblem< ScalarType, MV, OP >.
Teuchos::RCP<const OP> Anasazi::BasicEigenproblem< ScalarType, MV, OP >::_AOp [protected] |
Reference-counted pointer for A of the eigenproblem
.
Teuchos::RCP<const OP> Anasazi::BasicEigenproblem< ScalarType, MV, OP >::_MOp [protected] |
Reference-counted pointer for M of the eigenproblem
.
Teuchos::RCP<const OP> Anasazi::BasicEigenproblem< ScalarType, MV, OP >::_Op [protected] |
Reference-counted pointer for the operator of the eigenproblem
.
Teuchos::RCP<const OP> Anasazi::BasicEigenproblem< ScalarType, MV, OP >::_Prec [protected] |
Reference-counted pointer for the preconditioner of the eigenproblem
.
Teuchos::RCP<MV> Anasazi::BasicEigenproblem< ScalarType, MV, OP >::_InitVec [protected] |
Reference-counted pointer for the initial vector of the eigenproblem
.
Teuchos::RCP<const MV> Anasazi::BasicEigenproblem< ScalarType, MV, OP >::_AuxVecs [protected] |
Reference-counted pointer for the auxiliary vector of the eigenproblem
.
int Anasazi::BasicEigenproblem< ScalarType, MV, OP >::_nev [protected] |
Number of eigenvalues requested.
bool Anasazi::BasicEigenproblem< ScalarType, MV, OP >::_isSym [protected] |
Symmetry of the eigenvalue problem.
is considered symmetric if the operator \c M is positive (semi) definite. bool Anasazi::BasicEigenproblem< ScalarType, MV, OP >::_isSet [protected] |
Sanity Check Flag.
Eigensolution<ScalarType,MV> Anasazi::BasicEigenproblem< ScalarType, MV, OP >::_sol [protected] |
Solution to problem.
1.4.7