PETScUserPreconditioner

class dolfin.cpp.la.PETScUserPreconditioner

Bases: dolfin.cpp.la.PETScObject

This class specifies the interface for user-defined Krylov method PETScPreconditioners. A user wishing to implement her own PETScPreconditioner needs only supply a function that approximately solves the linear system given a right-hand side.

Constructor

setup()
solve()

Solve linear system approximately for given right-hand side b

thisown None

The membership flag

Previous topic

PETScSNESSolver

Next topic

PETScVector

This Page