|
Anasazi Version of the Day
|
Adapter class for creating a generalized operator to apply to an Anasazi::EpetraOpMultiVec. More...
#include <AnasaziSpecializedEpetraAdapter.hpp>
Public Member Functions | |
| EpetraOpMVGenOp (const Teuchos::RCP< Epetra_Operator > &AOp, const Teuchos::RCP< Epetra_Operator > &MOp, bool isAInverse=true) | |
Basic constructor for applying operator [default] or . | |
| ~EpetraOpMVGenOp () | |
| Destructor. | |
| void | Apply (const MultiVec< double > &X, MultiVec< double > &Y) const |
| Apply method. | |
Adapter class for creating a generalized operator to apply to an Anasazi::EpetraOpMultiVec.
This class will apply the operation
[default] or
, for the Apply method of the Epetra_Operator / Anasazi::Operator. The Anasazi::EpetraOpMVGenOp operator is useful when spectral transformations are used within eigensolvers. For instance,
is a shift and invert spectral transformation commonly used with Anasazi::BlockKrylovSchur to compute the smallest-magnitude eigenvalues for the eigenproblem
.
Definition at line 352 of file AnasaziSpecializedEpetraAdapter.hpp.
| Anasazi::EpetraOpMVGenOp::EpetraOpMVGenOp | ( | const Teuchos::RCP< Epetra_Operator > & | AOp, |
| const Teuchos::RCP< Epetra_Operator > & | MOp, | ||
| bool | isAInverse = true |
||
| ) | [inline] |
Basic constructor for applying operator
[default] or
.
If isAInverse is true this operator will apply
, else it will apply
.
Definition at line 358 of file AnasaziSpecializedEpetraAdapter.hpp.
| Anasazi::EpetraOpMVGenOp::~EpetraOpMVGenOp | ( | ) | [inline] |
Destructor.
Definition at line 366 of file AnasaziSpecializedEpetraAdapter.hpp.
| void Anasazi::EpetraOpMVGenOp::Apply | ( | const MultiVec< double > & | X, |
| MultiVec< double > & | Y | ||
| ) | const [virtual] |
Apply method.
This method will apply
or
to X, returning Y.
Implements Anasazi::Operator< double >.
Definition at line 312 of file AnasaziSpecializedEpetraAdapter.cpp.
1.7.4