- 20 Mar, 2017 1 commit
-
-
oliver.sander_at_tu-dresden.de authored
-
- 25 Jan, 2017 1 commit
-
-
oliver.sander_at_tu-dresden.de authored
-
- 22 Jan, 2017 1 commit
-
-
oliver.sander_at_tu-dresden.de authored
This file was introduced originally, because the AcceleratedGSStep class would only accept linear solvers for the linear correction, but no iteration steps. The FixedStepLinearSolver could be used as a shim to practically turn an iteration step into a solver. Recently, the TNNMGStep class got generalized and now accepts LinearIterationStep objects directly, in addition to linear solvers. This makes the FixedStepLinearSolver class obsolete. If ever somebody else should need it, it should be in dune-solvers anyway.
-
- 13 Jan, 2017 3 commits
-
-
oliver.sander_at_tu-dresden.de authored
There are two alternatives now for the linear correction: You can either provide a solver or an iteration step.
-
oliver.sander_at_tu-dresden.de authored
Now, the step can be anything that inherits from Solvers::IterationStep.
-
oliver.sander_at_tu-dresden.de authored
-
- 08 Jan, 2017 5 commits
-
-
oliver.sander_at_tu-dresden.de authored
-
oliver.sander_at_tu-dresden.de authored
This was a non-standard extension introduced without discussion. As a consequence of this removal, the FixedStepLinearSolver class loses its first template argument, too.
-
oliver.sander_at_tu-dresden.de authored
-
oliver.sander_at_tu-dresden.de authored
Because, in the dune-solvers world, you currently need to access it directly to call 'setProblem' on it. That's not particularly pretty, but it's the way it is. A general improvement of dune-solvers here is welcome.
-
oliver.sander_at_tu-dresden.de authored
This includes it into the regular dynamic-polymorphism class tree of dune-solvers.
-
- 14 Dec, 2016 1 commit
-
- 08 Nov, 2016 3 commits
-
-
oliver.sander_at_tu-dresden.de authored
Take it from the Functional type instead.
-
oliver.sander_at_tu-dresden.de authored
-
oliver.sander_at_tu-dresden.de authored
-
- 05 Nov, 2016 1 commit
-
-
oliver.sander_at_tu-dresden.de authored
It is basically a combination of AcceleratedNonlinearGSStep and TNNMGAcceleration, but I think it makes the code easier to understand, even though it does not get shorter. In addition, the new TNNMGStep class takes nonlinear smoother in form of a shared_ptr to a dune-solvers IterationStep again. I don't see why we need static polymorphism here.
-
- 02 Nov, 2016 1 commit
-
-
oliver.sander_at_tu-dresden.de authored
-
- 29 Oct, 2016 3 commits
-
-
oliver.sander_at_tu-dresden.de authored
* 'subDiff' is now called 'subDifferential' * It returns its result in the return value, not in its second argument * The method 'domain' also returns its result in the return value
-
oliver.sander_at_tu-dresden.de authored
And get rid of the file newsumfunctional.hh, which was never intended to be a permanent solution. With this patch, the file sumfunctional.hh contains both the new and the old implementation, and you can switch between the two with USE_OLD_TNNMG.
-
oliver.sander_at_tu-dresden.de authored
In the new tnnmg implementation, the calling method is expected to know whether a functional is quadratic or not. In case of a quadratic functional, the caller will not call bisection anyway, but it will rather call a dedicated solver for quadratic problems. This patch also introduces the preprocessor variable USE_OLD_TNNMG. When this variable is defined, the old tnnmg implementation is reenabled. This will simplify running old and new codes side by side for a while, which I find helpful for debugging.
-
- 22 Sep, 2016 1 commit
-
-
oliver.sander_at_tu-dresden.de authored
-
- 20 Sep, 2016 2 commits
-
-
oliver.sander_at_tu-dresden.de authored
Previously, if the subdifferential at the initial iterate would contain zero, no message would be written at all. This made it more difficult to follow the programm output, because it was impossible to see how many times the bisection method was called.
-
oliver.sander_at_tu-dresden.de authored
It is not actually used.
-
- 06 Sep, 2016 3 commits
-
-
oliver.sander_at_tu-dresden.de authored
-
oliver.sander_at_tu-dresden.de authored
First, the functional may not know the type. Secondly, the type is not used anyway.
-
oliver.sander_at_tu-dresden.de authored
This is not true anymore: support for more general problems has been added.
-
- 23 Aug, 2016 14 commits
-
-
Carsten Gräser authored
-
Carsten Gräser authored
-
Carsten Gräser authored
-
Carsten Gräser authored
Remove origin_ and direction_ members and accessors method because the are not used anywhere. Also add const to arguments.
-
Carsten Gräser authored
-
Carsten Gräser authored
Since the last change to the functional interface the storage type is determined via the 'is_reference' property of the passed type.
-
Carsten Gräser authored
If Matrix/Vector are passed as reference types, then they are stored by reference. Otherwise they are stored by value. To get the old behaviour you will now have to add '&' to the passed types in your user code.
-
Carsten Gräser authored
-
Carsten Gräser authored
-
Carsten Gräser authored
-
Carsten Gräser authored
-
Carsten Gräser authored
-
Carsten Gräser authored
-
Carsten Gräser authored
-