EpetraKrylovSolver

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

Bases: dolfin.cpp.la.GenericLinearSolver

This class implements Krylov methods for linear systems of the form Ax = b. It is a wrapper for the Krylov solvers of Epetra.

Overloaded versions

  • EpetraKrylovSolver(“default”, “default”)

    Create Krylov solver for a particular method and preconditioner

  • EpetraKrylovSolver(method, preconditioner)

    Create Krylov solver for a particular method and TrilinosPreconditioner

aztecoo()

Return pointer to Aztec00

static default_parameters(*args)

Default parameter values

get_operator()

Get the operator (matrix)

static methods(*args)

Return a list of available solver methods

static preconditioners(*args)

Return a list of available preconditioners

residual()

Return residual from most recent solve

solve()

Overloaded versions

  • solve(x, b)

    Solve linear system Ax = b and return number of iterations

  • 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

  • solve(A, x, b)

    Solve linear system Ax = b and return number of iterations

thisown

The membership flag