Move Matrix from NewtonMethod to StationaryLinearProblemSolver
In !467 (merged) we discussed some changes to the StationaryLinearProblemSolver
the NewtonMethod
and the solver backends. @christi had the idea to move the matrix from NewtonMethod
to the StationaryLinearProblemSolver
class, add a new method that forces reassemblation of the matrix and then use this to solve the linear system in the NewtonMethod
.
See also the discussion in !467 (merged), option 3.