Anasazi
Version of the Day
|
Adapter class for creating a symmetric operator from an Epetra_Operator. More...
#include <AnasaziEpetraAdapter.hpp>
Public Member Functions | |
EpetraSymOp (const Teuchos::RCP< Epetra_Operator > &Op, bool isTrans=false) | |
Basic constructor for applying operator [default] or . More... | |
~EpetraSymOp () | |
Destructor. More... | |
void | Apply (const MultiVec< double > &X, MultiVec< double > &Y) const |
Apply method [inherited from Anasazi::Operator class]. More... | |
int | Apply (const Epetra_MultiVector &X, Epetra_MultiVector &Y) const |
Apply method [inherited from Epetra_Operator class]. More... | |
int | ApplyInverse (const Epetra_MultiVector &X, Epetra_MultiVector &Y) const |
Apply inverse method [inherited from Epetra_Operator class]. More... | |
const char * | Label () const |
Returns a character string describing the operator. More... | |
bool | UseTranspose () const |
Returns the current UseTranspose setting [always false for this operator]. More... | |
int | SetUseTranspose (bool) |
If set true, the transpose of this operator will be applied [not functional for this operator]. More... | |
bool | HasNormInf () const |
Returns true if this object can provide an approximate inf-norm [always false for this operator]. More... | |
double | NormInf () const |
Returns the infinity norm of the global matrix [not functional for this operator]. More... | |
const Epetra_Comm & | Comm () const |
Returns the Epetra_Comm communicator associated with this operator. More... | |
const Epetra_Map & | OperatorDomainMap () const |
Returns the Epetra_Map object associated with the domain of this operator. More... | |
const Epetra_Map & | OperatorRangeMap () const |
Returns the Epetra_Map object associated with the range of this operator. More... | |
Public Member Functions inherited from Anasazi::Operator< double > | |
Operator () | |
Default constructor. More... | |
virtual | ~Operator () |
Destructor. More... | |
Adapter class for creating a symmetric operator from an Epetra_Operator.
This class will apply the operation [default] or , for the Apply
method of the Epetra_Operator / Anasazi::Operator. The Anasazi::EpetraSymOp operator is useful when trying to compute a few singular values of the operator . The singular values are the square-root of the eigenvalues of and .
Definition at line 482 of file AnasaziEpetraAdapter.hpp.
Anasazi::EpetraSymOp::EpetraSymOp | ( | const Teuchos::RCP< Epetra_Operator > & | Op, |
bool | isTrans = false |
||
) |
Basic constructor for applying operator [default] or .
If isTrans
is false this operator will apply , else it will apply .
Definition at line 404 of file AnasaziEpetraAdapter.cpp.
Anasazi::EpetraSymOp::~EpetraSymOp | ( | ) |
Destructor.
Definition at line 410 of file AnasaziEpetraAdapter.cpp.
|
virtual |
Apply method [inherited from Anasazi::Operator class].
This method will apply or to X
, returning Y
.
Implements Anasazi::Operator< double >.
Definition at line 416 of file AnasaziEpetraAdapter.cpp.
|
virtual |
Apply method [inherited from Epetra_Operator class].
This method will apply or to X
, returning Y
.
Implements Epetra_Operator.
Definition at line 477 of file AnasaziEpetraAdapter.cpp.
|
virtual |
Apply inverse method [inherited from Epetra_Operator class].
This method will apply or to X
, returning Y
.
Implements Epetra_Operator.
Definition at line 508 of file AnasaziEpetraAdapter.cpp.
|
inlinevirtual |
Returns a character string describing the operator.
Implements Epetra_Operator.
Definition at line 509 of file AnasaziEpetraAdapter.hpp.
|
inlinevirtual |
Returns the current UseTranspose setting [always false for this operator].
Implements Epetra_Operator.
Definition at line 512 of file AnasaziEpetraAdapter.hpp.
|
inlinevirtual |
If set true, the transpose of this operator will be applied [not functional for this operator].
Implements Epetra_Operator.
Definition at line 515 of file AnasaziEpetraAdapter.hpp.
|
inlinevirtual |
Returns true if this object can provide an approximate inf-norm [always false for this operator].
Implements Epetra_Operator.
Definition at line 518 of file AnasaziEpetraAdapter.hpp.
|
inlinevirtual |
Returns the infinity norm of the global matrix [not functional for this operator].
Implements Epetra_Operator.
Definition at line 521 of file AnasaziEpetraAdapter.hpp.
|
inlinevirtual |
Returns the Epetra_Comm communicator associated with this operator.
Implements Epetra_Operator.
Definition at line 524 of file AnasaziEpetraAdapter.hpp.
|
inlinevirtual |
Returns the Epetra_Map object associated with the domain of this operator.
Implements Epetra_Operator.
Definition at line 527 of file AnasaziEpetraAdapter.hpp.
|
inlinevirtual |
Returns the Epetra_Map object associated with the range of this operator.
Implements Epetra_Operator.
Definition at line 530 of file AnasaziEpetraAdapter.hpp.