
Classes | |
| struct | AdditionalData |
Public Member Functions | |
| void | initialize (const SparseMatrix &matrix, const AdditionalData &additional_data=AdditionalData()) |
Private Attributes | |
| Teuchos::RCP < Ifpack_Preconditioner > | ifpack |
The AdditionalData data structure allows to set preconditioner options. For the Jacobi preconditioner, these options are the damping parameter omega and a min_diagonal argument that can be used to make the preconditioner work even if the matrix contains some zero elements on the diagonal. The default settings are 1 for the damping parameter and zero for the diagonal augmentation.
| void TrilinosWrappers::PreconditionJacobi::initialize | ( | const SparseMatrix & | matrix, | |
| const AdditionalData & | additional_data = AdditionalData() | |||
| ) |
Take the sparse matrix the preconditioner object should be built of, and additional flags (damping parameter, etc.) if there are any.
Teuchos::RCP<Ifpack_Preconditioner> TrilinosWrappers::PreconditionJacobi::ifpack [private] |
This is a pointer to the Ifpack data contained in this preconditioner.
documentation generated on Sat Aug 15 16:52:52 2009 by
doxygen
1.5.9