KrylovSolver

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

Bases: dolfin.cpp.la.GenericLinearSolver

This 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:
Return type:

std::size_t

thisown

The membership flag