KrylovSolver¶
-
class
dolfin.cpp.la.KrylovSolver(*args)¶ Bases:
dolfin.cpp.la.GenericLinearSolverThis class defines an interface for a Krylov solver. The appropriate solver is chosen on the basis of the matrix/vector type.
Constructor.
Parameters: - const GenericLinearOperator > A (std::shared_ptr<) –
- method (std::string) –
- preconditioner (std::string) –
-
static
default_parameters()¶
-
solve()¶ Solve linear system Ax = b.
Parameters: - & x (GenericVector) –
- GenericVector & b (const) –
Return type: std::size_t
-
thisown¶ The membership flag