Make PETScLUSolver subclass of PETScKrylovSolver

Issue #815 resolved
Prof Garth Wells created an issue

The would mirror the PETSc design for solvers, and substantially reduce redundant code.

In PETSc, an LU solver is a KSP with an LU preconditioner and pre-only.

Comments (4)

  1. Jan Blechta

    Do you want to follow this logic in parent (generics, wrappers, factories) objects and sister (other backends) objects?

  2. Prof Garth Wells reporter

    Not for now.

    In PETSc, a LU solver is just a KSP object. But DOLFIN treats them differently, which leads to code duplication and interface inconsistencies.

  3. Log in to comment