uBLASKrylovSolver

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

Bases: dolfin.cpp.la.GenericLinearSolver

This class implements Krylov methods for linear systems of the form Ax = b using uBLAS data types.

Overloaded versions

  • uBLASKrylovSolver(method=”default”, preconditioner=”default”)

    Create Krylov solver for a particular method and preconditioner

  • uBLASKrylovSolver(pc)

    Create Krylov solver for a particular uBLASPreconditioner

  • uBLASKrylovSolver(method, pc)

    Create Krylov solver for a particular method and uBLASPreconditioner

static default_parameters()

Default parameter values

get_operator()

Return the operator (matrix)

static methods()

Return a list of available solver methods

static preconditioners()

Return a list of available preconditioners

solve()

Overloaded versions

  • solve(x, b)

    Solve linear system Ax = b and return number of iterations

  • solve(A, x, b)

    Solve linear system Ax = b and return number of iterations

thisown

The membership flag