GenericPreconditioner.h

Note

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

class GenericPreconditioner

This class provides a common base preconditioners.

void set_nullspace(const VectorSpaceBasis &nullspace)

Set the (approximate) null space of the preconditioner operator (matrix). This is required for certain preconditioner types, e.g. smoothed aggregation multigrid

void set_coordinates(const std::vector<double> &x, std::size_t dim)

Set the coordinates of the operator (matrix) rows and geometric dimension d. This is can be used by required for certain preconditioners, e.g. ML. The input for this function can be generated using GenericDofMap::tabulate_all_dofs.