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
-
static
setup
()¶
-
solve
()¶ Solve linear system approximately for given right-hand side b
-
thisown
¶ The membership flag
-
static