[WIP] Feature/solverfactory
Compare changes
+ 103
− 0
@@ -2,6 +2,25 @@
@@ -16,3 +35,87 @@ include(AddSuiteSparseFlags)
This MR mainly contains the factory implementation from !5 (closed) with some cleanup:
Allow creating solvers / preconditioners from ParameterTrees.
A solver (including preconditioner) can now be configured via an ini file like this:
[solver]
precond = SeqSSOR
solver = CGSolver
[SeqSSOR]
iterations = 1
relaxation = 1.8
[CGSolver]
reduction=1e-9
maxit = 5000
verbose = 3
auto solver = SolverPrecondFactory::create<VectorType> (matrix, configuration, "solver");
This MR depends on !84 (merged).
Note: change target branch to master, once !84 (merged) is merged!