TrilinosWrappers::PreconditionJacobi Class Reference
[TrilinosWrappersPreconditioners]

Inheritance diagram for TrilinosWrappers::PreconditionJacobi:
Inheritance graph
[legend]

List of all members.

Classes

struct  AdditionalData

Public Member Functions

void initialize (const SparseMatrix &matrix, const AdditionalData &additional_data=AdditionalData())

Private Attributes

Teuchos::RCP
< Ifpack_Preconditioner > 
ifpack

Detailed Description

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.

Author:
Martin Kronbichler, 2008

Member Function Documentation

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.


Member Data Documentation

Teuchos::RCP<Ifpack_Preconditioner> TrilinosWrappers::PreconditionJacobi::ifpack [private]

This is a pointer to the Ifpack data contained in this preconditioner.


The documentation for this class was generated from the following file:

deal.II documentation generated on Mon Nov 23 22:58:37 2009 by doxygen 1.6.1