Ifpack2Preconditioner.h

Note

The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.

class Ifpack2Preconditioner

Parent class(es)

Implements preconditioners using Ifpack2 from Trilinos

explicit Ifpack2Preconditioner(std::string type = "default")

Create a particular preconditioner object

void set(BelosKrylovSolver &solver)

Set the preconditioner type on a solver

std::string str(bool verbose) const

Return informal string representation (pretty-print)

void init(std::shared_ptr<const TpetraMatrix> P)

Initialise preconditioner based on Operator P

static std::map<std::string, std::string> preconditioners()

Return a list of available preconditioners

static Parameters default_parameters()

Default parameter values