
Classes | |
| struct | AdditionalData |
Public Member Functions | |
| void | initialize (const SparseMatrix &matrix, const AdditionalData &additional_data=AdditionalData()) |
A wrapper class for a (pointwise) Jacobi preconditioner for Trilinos matrices. This preconditioner works both in serial and in parallel, depending on the matrix it is based on.
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.
Definition at line 197 of file trilinos_precondition.h.
| 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.
documentation generated on Fri Feb 3 2012 06:04:17 by
doxygen
1.7.2