Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
99e5972c
Commit
99e5972c
authored
Jan 24, 2020
by
Timo Koch
Browse files
[test][richards][parallel][lens] Use istl solver factory backend
parent
1e04a049
Changes
2
Hide whitespace changes
Inline
Side-by-side
test/porousmediumflow/richards/implicit/lens/main.cc
View file @
99e5972c
...
...
@@ -38,7 +38,7 @@
#include
<dumux/common/valgrind.hh>
#include
<dumux/common/dumuxmessage.hh>
#include
<dumux/linear/
amg
backend.hh>
#include
<dumux/linear/
genericistl
backend.hh>
#include
<dumux/porousmediumflow/richards/newtonsolver.hh>
#include
<dumux/assembly/fvassembler.hh>
...
...
@@ -143,7 +143,7 @@ int main(int argc, char** argv) try
auto
assembler
=
std
::
make_shared
<
Assembler
>
(
problem
,
gridGeometry
,
gridVariables
,
timeLoop
,
xOld
);
// the linear solver
using
LinearSolver
=
Dumux
::
AMG
Backend
<
TypeTag
>
;
using
LinearSolver
=
Dumux
::
GenericIstl
Backend
<
TypeTag
>
;
auto
linearSolver
=
std
::
make_shared
<
LinearSolver
>
(
leafGridView
,
gridGeometry
->
dofMapper
());
// the non-linear solver
...
...
test/porousmediumflow/richards/implicit/lens/params.input
View file @
99e5972c
...
...
@@ -8,8 +8,13 @@ Cells = 24 16
[Problem]
Name = richardslens
EnableGravity =
1
# enable gravity
EnableGravity =
true
# enable gravity
[Newton]
TargetSteps = 18 # set the "desirable" number of Newton iterations of a time step
EnableChop = true # chop for better convergence
[LinearSolver]
Type = bicgstabsolver
PreconditionerType = amg
AmgMaxLevel = 2
Leopold Stadler
@leopold.stadler
mentioned in issue
#819 (closed)
·
Feb 14, 2020
mentioned in issue
#819 (closed)
mentioned in issue #819
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment