#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::RefCountPtr< OP > &Op, const Teuchos::RefCountPtr< MV > &InitVec) | |
| Standard Eigenvalue Problem Constructor. | |
| BasicEigenproblem (const Teuchos::RefCountPtr< OP > &Op, const Teuchos::RefCountPtr< OP > &B, const Teuchos::RefCountPtr< MV > &InitVec) | |
| Generalized Eigenvalue Problem Constructor. | |
| BasicEigenproblem (const BasicEigenproblem< ScalarType, MV, OP > &Problem) | |
| Copy Constructor. | |
| virtual | ~BasicEigenproblem () |
| Destructor. | |
Set Methods. | |
| void | SetOperator (const Teuchos::RefCountPtr< OP > &Op) |
| Set the operator for which eigenvalues will be computed. | |
| void | SetA (const Teuchos::RefCountPtr< OP > &A) |
Set the operator A of the eigenvalue problem . | |
| void | SetM (const Teuchos::RefCountPtr< OP > &M) |
Set the operator M of the eigenvalue problem . | |
| void | SetPrec (const Teuchos::RefCountPtr< OP > &Prec) |
Set the preconditioner for this eigenvalue problem . | |
| void | SetInitVec (const Teuchos::RefCountPtr< MV > &InitVec) |
| Set the initial guess. | |
| void | SetAuxVec (const Teuchos::RefCountPtr< MV > &AuxVec) |
| Set auxilliary vectors. | |
| void | SetNEV (const int nev) |
| Specify the number of eigenvalues (NEV) that are requested. | |
| void | SetSymmetric (const bool isSym) |
| Specify the symmetry of this eigenproblem. | |
| ReturnType | SetProblem () |
| Specify that this eigenproblem is fully defined. | |
Accessor Methods. | |
| Teuchos::RefCountPtr< OP > | GetOperator () const |
| Get a pointer to the operator for which eigenvalues will be computed. | |
| Teuchos::RefCountPtr< OP > | GetA () const |
Get a pointer to the operator A of the eigenproblem . | |
| Teuchos::RefCountPtr< OP > | GetM () const |
Get a pointer to the operator M of the eigenproblem . | |
| Teuchos::RefCountPtr< OP > | GetPrec () const |
Get a pointer to the preconditioner of the eigenproblem . | |
| Teuchos::RefCountPtr< MV > | GetInitVec () const |
| Get a pointer to the initial vector. | |
| Teuchos::RefCountPtr< MV > | GetAuxVec () const |
| Get a pointer to the auxilliary vector. | |
| Teuchos::RefCountPtr< std::vector< ScalarType > > | GetEvals () |
| Get a pointer to the eigenvalues of the operator. | |
| Teuchos::RefCountPtr< MV > | GetEvecs () |
| Get a pointer to the eigenvectors of the operator. | |
| int | GetNEV () const |
| Get the number of eigenvalues (NEV) that are required by this eigenproblem. | |
| bool | IsSymmetric () const |
| Get the symmetry information for this eigenproblem. | |
| bool | IsProblemSet () const |
| If the problem has been set, this method will return true. | |
Inner Product Methods. | |
| ReturnType | InnerProd (const MV &X, const MV &Y, Teuchos::SerialDenseMatrix< int, ScalarType > &Z) const |
Computes the M inner product as needed by the eigensolver, for orthogonalization purposes. | |
Norm Methods. | |
| ReturnType | MvNorm (const MV &X, std::vector< ScalarType > *normvec) const |
Computes the multivector norm as needed by the eigensolver. | |
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::RefCountPtr< OP > | _AOp |
Reference-counted pointer for A of the eigenproblem . | |
| Teuchos::RefCountPtr< OP > | _MOp |
Reference-counted pointer for M of the eigenproblem . | |
| Teuchos::RefCountPtr< OP > | _Op |
Reference-counted pointer for the operator of the eigenproblem . | |
| Teuchos::RefCountPtr< OP > | _Prec |
Reference-counted pointer for the preconditioner of the eigenproblem . | |
| Teuchos::RefCountPtr< MV > | _InitVec |
Reference-counted pointer for the initial vector of the eigenproblem . | |
| Teuchos::RefCountPtr< MV > | _AuxVec |
Reference-counted pointer for the auxilliary vector of the eigenproblem . | |
| Teuchos::RefCountPtr< MV > | _Evecs |
Reference-counted pointer for the computed eigenvectors of . | |
| Teuchos::RefCountPtr< std::vector< ScalarType > > | _Evals |
Reference-counted pointer for the computed eigenvalues of . | |
| int | _nev |
| Number of eigenvalues requested. | |
| bool | _isSym |
| Symmetry of the eigenvalue problem. | |
| bool | _isSet |
| Sanity Check Flag. | |
|
|||||||||
|
Get a pointer to the eigenvalues of the operator.
Implements Anasazi::Eigenproblem< ScalarType, MV, OP >. |
|
|||||||||
|
Get a pointer to the eigenvectors of the operator.
Implements Anasazi::Eigenproblem< ScalarType, MV, OP >. |
|
||||||||||
|
Set auxilliary vectors.
Implements Anasazi::Eigenproblem< ScalarType, MV, OP >. |
|
||||||||||
|
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 >. |
|
||||||||||
|
Set the operator for which eigenvalues will be computed.
Implements Anasazi::Eigenproblem< ScalarType, MV, OP >. |
|
|||||||||
|
Specify that this eigenproblem is fully defined.
Implements Anasazi::Eigenproblem< ScalarType, MV, OP >. |
|
||||||||||
|
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 >. |
|
|||||
|
Reference-counted pointer for the computed eigenvalues of
|
|
|||||
|
Reference-counted pointer for the computed eigenvectors of
|
|
|||||
|
Symmetry of the eigenvalue problem.
|
1.3.9.1