PETScPreconditioner

class dolfin.cpp.la.PETScPreconditioner(*args)

Bases: dolfin.cpp.la.PETScObject, dolfin.cpp.common.Variable

This class is a wrapper for configuring PETSc preconditioners. It does not own a preconditioner. It can take a PETScKrylovSolver and set the preconditioner type and parameters.

Create a particular preconditioner object

static preconditioners()

Return a list of available preconditioners

set()

Set the preconditioner type and parameters

set_coordinates()

Set the coordinates of the operator (matrix) rows and geometric dimension d. This is can be used by required for certain preconditioners, e.g. ML. The input for this function can be generated using GenericDofMap::tabulate_all_dofs.

set_fieldsplit()
static set_type()
thisown

The membership flag