#include <AnasaziEpetraAdapter.hpp>
Inheritance diagram for Anasazi::EpetraGenOp:

Public Member Functions | |
| EpetraGenOp (const Teuchos::RCP< Epetra_Operator > &AOp, const Teuchos::RCP< Epetra_Operator > &MOp, bool isAInverse=true) | |
Basic constructor for applying operator [default] or . | |
| ~EpetraGenOp () | |
| Destructor. | |
| void | Apply (const MultiVec< double > &X, MultiVec< double > &Y) const |
| Apply method [inherited from Anasazi::Operator class]. | |
| int | Apply (const Epetra_MultiVector &X, Epetra_MultiVector &Y) const |
| Apply method [inherited from Epetra_Operator class]. | |
| int | ApplyInverse (const Epetra_MultiVector &X, Epetra_MultiVector &Y) const |
| Apply inverse method [inherited from Epetra_Operator class]. | |
| const char * | Label () const |
| Returns a character string describing the operator. | |
| bool | UseTranspose () const |
| Returns the current UseTranspose setting [always false for this operator]. | |
| int | SetUseTranspose (bool) |
| If set true, the transpose of this operator will be applied [not functional for this operator]. | |
| bool | HasNormInf () const |
| Returns true if this object can provide an approximate inf-norm [always false for this operator]. | |
| double | NormInf () const |
| Returns the infinity norm of the global matrix [not functional for this operator]. | |
| const Epetra_Comm & | Comm () const |
| Returns the Epetra_Comm communicator associated with this operator. | |
| const Epetra_Map & | OperatorDomainMap () const |
| Returns the Epetra_Map object associated with the domain of this operator. | |
| const Epetra_Map & | OperatorRangeMap () const |
| Returns the Epetra_Map object associated with the range of this operator. | |
This class will apply the operation
[default] or
, for the Apply method of the Epetra_Operator / Anasazi::Operator. The Anasazi::EpetraGenOp 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
.
| Anasazi::EpetraGenOp::EpetraGenOp | ( | const Teuchos::RCP< Epetra_Operator > & | AOp, | |
| const Teuchos::RCP< Epetra_Operator > & | MOp, | |||
| bool | isAInverse = true | |||
| ) |
Basic constructor for applying operator
[default] or
.
If isAInverse is true this operator will apply
, else it will apply
.
| Anasazi::EpetraGenOp::~EpetraGenOp | ( | ) |
Destructor.
| void Anasazi::EpetraGenOp::Apply | ( | const MultiVec< double > & | X, | |
| MultiVec< double > & | Y | |||
| ) | const [virtual] |
Apply method [inherited from Anasazi::Operator class].
This method will apply
or
to X, returning Y.
Implements Anasazi::Operator< double >.
| int Anasazi::EpetraGenOp::Apply | ( | const Epetra_MultiVector & | X, | |
| Epetra_MultiVector & | Y | |||
| ) | const [virtual] |
Apply method [inherited from Epetra_Operator class].
This method will apply
or
to X, returning Y.
Implements Epetra_Operator.
| int Anasazi::EpetraGenOp::ApplyInverse | ( | const Epetra_MultiVector & | X, | |
| Epetra_MultiVector & | Y | |||
| ) | const [virtual] |
Apply inverse method [inherited from Epetra_Operator class].
This method will apply
or
to X, returning Y.
Implements Epetra_Operator.
| const char* Anasazi::EpetraGenOp::Label | ( | ) | const [inline, virtual] |
| bool Anasazi::EpetraGenOp::UseTranspose | ( | ) | const [inline, virtual] |
Returns the current UseTranspose setting [always false for this operator].
Implements Epetra_Operator.
| int Anasazi::EpetraGenOp::SetUseTranspose | ( | bool | ) | [inline, virtual] |
If set true, the transpose of this operator will be applied [not functional for this operator].
Implements Epetra_Operator.
| bool Anasazi::EpetraGenOp::HasNormInf | ( | ) | const [inline, virtual] |
Returns true if this object can provide an approximate inf-norm [always false for this operator].
Implements Epetra_Operator.
| double Anasazi::EpetraGenOp::NormInf | ( | ) | const [inline, virtual] |
Returns the infinity norm of the global matrix [not functional for this operator].
Implements Epetra_Operator.
| const Epetra_Comm& Anasazi::EpetraGenOp::Comm | ( | ) | const [inline, virtual] |
| const Epetra_Map& Anasazi::EpetraGenOp::OperatorDomainMap | ( | ) | const [inline, virtual] |
Returns the Epetra_Map object associated with the domain of this operator.
Implements Epetra_Operator.
| const Epetra_Map& Anasazi::EpetraGenOp::OperatorRangeMap | ( | ) | const [inline, virtual] |
Returns the Epetra_Map object associated with the range of this operator.
Implements Epetra_Operator.
1.4.7