Note
The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.
Parent class(es)
This class implements Krylov methods for linear systems of the form Ax = b. It is a wrapper for the Krylov solvers of PETSc.
Create Krylov solver for a particular method and names preconditioner
Create Krylov solver for a particular method and PETScPreconditioner
Create Krylov solver for a particular method and PETScPreconditioner (shared_ptr version)
Create Krylov solver for a particular method and PETScPreconditioner
Create Krylov solver for a particular method and PETScPreconditioner (shared_ptr version)
Create solver wrapper of a PETSc KSP object
Set operator (matrix)
Set operator (matrix) and preconditioner matrix
Set null space of the operator (matrix). This is used to solve singular systems
Get operator (matrix)
Solve linear system Ax = b and return number of iterations
Solve linear system Ax = b and return number of iterations
Solve linear system Ax = b and return number of iterations
Reuse preconditioner if true, otherwise do not, even if matrix operator changes (by default preconditioner is re-built if the matrix changes)
Sets the prefix used by PETSc when searching the options database
Returns the prefix used by PETSc when searching the options database
Return informal string representation (pretty-print)
Return PETSc KSP pointer
Return a list of available solver methods
Return a list of available preconditioners
Default parameter values