Ifpack2 Templated Preconditioning Package Version 1.0
Trilinos/Ifpack2: Templated Preconditioning Package

Introduction to Ifpack2

Ifpack2 provides templated preconditioning algorithms using linear algebra objects (matrices, operators, multivectors) provided by the Tpetra package.

Ifpack2 will (when finished) provide the same functionality as the Ifpack package (which uses Epetra linear algebra objects).

Overview of Ifpack2

Templated Types in Ifpack2

All classes in Ifpack2 utilize templates. Most of the preconditioner classes are templated on the type of the input matrix. This allows the user to provide any Tpetra matrix (i.e., templated on any of the Scalar/Ordinal/Node/etc types that are possible with Tpetra).

Ifpack2 Preconditioners

All Ifpack2 preconditioners inherit the base class Ifpack2::Preconditioner.

The preconditioners that are supported in the current release are:

Trilinos and Ifpack2

Ifpack2 preconditioners can be used with the solver algorithms in the Trilinos/Belos package.


A test program (tifpack/test/belos) is provided which demonstrates creating and using Ifpack2 preconditioners with Belos solvers. The test program is entirely driven by XML input files, which specify the matrix file to be used, as well as parameters for the preconditioner, and the belos solver, etc.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends