|
|
| Hypre () |
| | Constructor.
|
| |
|
| ~Hypre () |
| | Destructor.
|
| |
|
void | initialize () override |
| | Initialize the preconditioner, does not touch matrix values.
|
| |
| bool | isInitialized () const |
| |
| void | compute () override |
| |
| bool | isComputed () const override |
| |
| void | setParameters (const Teuchos::ParameterList ¶meterlist) override |
| |
| void | setMatrix (const Teuchos::RCP< const Tpetra::RowMatrix<>> &A) |
| | Set the matrix to be preconditioned. More...
|
| |
| void | apply (const Tpetra::MultiVector<> &x, Tpetra::MultiVector<> &y, Teuchos::ETransp mode=Teuchos::NO_TRANS, double alpha=Teuchos::ScalarTraits< double >::one(), double beta=Teuchos::ScalarTraits< double >::zero()) const override |
| | Apply the preconditioner to X, returning the result in Y. More...
|
| |
|
Teuchos::RCP< const Tpetra::Map<> > | getDomainMap () const override |
| | The Tpetra::Map representing the domain of this operator.
|
| |
|
Teuchos::RCP< const Tpetra::Map<> > | getRangeMap () const override |
| | The Tpetra::Map representing the range of this operator.
|
| |
|
bool | hasTransposeApply () const override |
| | Whether it's possible to apply the transpose of this operator.
|
| |
|
|
Teuchos::RCP< const Teuchos::Comm< int > > | getComm () const |
| | The communicator over which the matrix is distributed.
|
| |
|
Teuchos::RCP< const Tpetra::RowMatrix<> > | getMatrix () const override |
| | The matrix for which this is a preconditioner.
|
| |
|
int | getNumInitialize () const override |
| | The number of calls to initialize().
|
| |
|
int | getNumCompute () const override |
| | The number of calls to compute().
|
| |
|
int | getNumApply () const override |
| | The number of calls to apply().
|
| |
|
double | getInitializeTime () const override |
| | The time (in seconds) spent in initialize().
|
| |
|
double | getComputeTime () const override |
| | The time (in seconds) spent in compute().
|
| |
|
double | getApplyTime () const override |
| | The time (in seconds) spent in apply().
|
| |
| void VertexCFD::LinearSolvers::Hypre::setMatrix |
( |
const Teuchos::RCP< const Tpetra::RowMatrix<>> & |
A | ) |
|
Set the matrix to be preconditioned.
- Parameters
-
- Postcondition
! isInitialized ()
-
! isComputed ()
Calling this method resets the preconditioner's state. After calling this method with a nonnull input, you must first call initialize() and compute() (in that order) before you may call apply().
You may call this method with a null input. If A is null, then you may not call initialize() or compute() until you first call this method again with a nonnull input. This method invalidates any previous factorization whether or not A is null, so calling setMatrix() with a null input is one way to clear the preconditioner's state (and free any memory that it may be using).
The new matrix A need not necessarily have the same Maps or even the same communicator as the original matrix.