Turns a MueLu::Hierarchy into a Epetra_Operator. It allows MueLu to be used as a preconditioner for AztecOO (for instance).
More...
#include <MueLu_EpetraOperator.hpp>
|
| int | Apply (const Epetra_MultiVector &X, Epetra_MultiVector &Y) const |
| | Returns the result of a Epetra_Operator applied to a Epetra_MultiVector X in Y. More...
|
| |
| int | ApplyInverse (const Epetra_MultiVector &X, Epetra_MultiVector &Y) const |
| | Returns the result of a Epetra_Operator inverse applied to an Epetra_MultiVector X in Y. More...
|
| |
| double | NormInf () const |
| | Returns the infinity norm of the global matrix. More...
|
| |
|
| const char * | Label () const |
| | Returns a character string describing the operator. More...
|
| |
| bool | UseTranspose () const |
| | Returns the current UseTranspose setting. More...
|
| |
| bool | HasNormInf () const |
| | Returns true if the this object can provide an approximate Inf-norm, false otherwise. More...
|
| |
| const Epetra_Comm & | Comm () const |
| | Returns a pointer to 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...
|
| |
Turns a MueLu::Hierarchy into a Epetra_Operator. It allows MueLu to be used as a preconditioner for AztecOO (for instance).
Definition at line 61 of file MueLu_EpetraOperator.hpp.
| MueLu::EpetraOperator::EpetraOperator |
( |
const RCP< Hierarchy > & |
H | ) |
|
|
inline |
| virtual MueLu::EpetraOperator::~EpetraOperator |
( |
| ) |
|
|
inlinevirtual |
| int MueLu::EpetraOperator::SetUseTranspose |
( |
bool |
UseTransposeBool | ) |
|
|
inline |
| int MueLu::EpetraOperator::Apply |
( |
const Epetra_MultiVector & |
X, |
|
|
Epetra_MultiVector & |
Y |
|
) |
| const |
|
inline |
Returns the result of a Epetra_Operator applied to a Epetra_MultiVector X in Y.
- Parameters
-
| In | X - A Epetra_MultiVector of dimension NumVectors to multiply with matrix. |
| Out | Y -A Epetra_MultiVector of dimension NumVectors containing result. |
- Returns
- Integer error code, set to 0 if successful.
Definition at line 98 of file MueLu_EpetraOperator.hpp.
| int MueLu::EpetraOperator::ApplyInverse |
( |
const Epetra_MultiVector & |
X, |
|
|
Epetra_MultiVector & |
Y |
|
) |
| const |
Returns the result of a Epetra_Operator inverse applied to an Epetra_MultiVector X in Y.
- Parameters
-
| In | X - A Epetra_MultiVector of dimension NumVectors to solve for. |
| Out | Y -A Epetra_MultiVector of dimension NumVectors containing result. |
- Returns
- Integer error code, set to 0 if successful.
- Warning
- In order to work with AztecOO, any implementation of this method must support the case where X and Y are the same object.
Definition at line 57 of file MueLu_EpetraOperator.cpp.
| double MueLu::EpetraOperator::NormInf |
( |
| ) |
const |
|
inline |
| const char* MueLu::EpetraOperator::Label |
( |
| ) |
const |
|
inline |
| bool MueLu::EpetraOperator::UseTranspose |
( |
| ) |
const |
|
inline |
| bool MueLu::EpetraOperator::HasNormInf |
( |
| ) |
const |
|
inline |
Returns true if the this object can provide an approximate Inf-norm, false otherwise.
Definition at line 133 of file MueLu_EpetraOperator.hpp.
| const Epetra_Comm & MueLu::EpetraOperator::Comm |
( |
| ) |
const |
Returns a pointer to the Epetra_Comm communicator associated with this operator.
Definition at line 100 of file MueLu_EpetraOperator.cpp.
| const Epetra_Map & MueLu::EpetraOperator::OperatorDomainMap |
( |
| ) |
const |
| const Epetra_Map & MueLu::EpetraOperator::OperatorRangeMap |
( |
| ) |
const |
| RCP<Hierarchy> MueLu::EpetraOperator::GetHierarchy |
( |
| ) |
const |
|
inline |
| RCP<Hierarchy> MueLu::EpetraOperator::Hierarchy_ |
|
private |
The documentation for this class was generated from the following files: