uBLASPreconditioner.h

Note

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

class uBLASPreconditioner

This class specifies the interface for preconditioners for the uBLAS Krylov solver.

uBLASPreconditioner()

Constructor

void init(const uBLASMatrix<ublas_sparse_matrix> &P)

Initialise preconditioner (sparse matrix)

void init(const uBLASMatrix<ublas_dense_matrix> &P)

Initialise preconditioner (dense matrix)

void init(const uBLASLinearOperator &P)

Initialise preconditioner (virtual matrix)

void solve(uBLASVector &x, const uBLASVector &b) const = 0

Solve linear system (M^-1)Ax = y