Skip to content
Snippets Groups Projects
Commit 1f5d18b6 authored by oliver.sander_at_tu-dresden.de's avatar oliver.sander_at_tu-dresden.de
Browse files

Move the iterationStep_ member into the IterativeSolver class

Before, it was in the LoopSolver class, which derives directly
from IterativeSolver.

I think the original idea was that anything that is an iterative
solver in the mathematical sense should derive from IterativeSolver.
This includes things like the QuadraticIPOptSolver, which is the
implementation of an iterative algorithm, inherits from Iterative-
Solver, but where you cannot get the individual iteration step
as a dune-solvers object.

I started to think that this is the wrong approach.  The inheritance
should be governed less by what an object 'is' in the mathematical
sense, but rather by the kind of API it provides.  And I would
expect an IterativeSolver to provide an IterationStep.
parent 5aee500a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment