mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Add and use PreconditionerFactory class.
This replaces the makePreconditoner() function. The main advantage is that it is extensible, making it easy to for example add new preconditioners to the factory at runtime. It supports both parallel and serial preconditioners.
This commit is contained in:
9
tests/options_flexiblesolver_simple.json
Normal file
9
tests/options_flexiblesolver_simple.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"tol": "1e-12",
|
||||
"maxiter": "200",
|
||||
"verbosity": "0",
|
||||
"solver": "bicgstab",
|
||||
"preconditioner": {
|
||||
"type": "nothing"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user