Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dumux-repositories
dumux
Commits
aa066372
Commit
aa066372
authored
5 years ago
by
Timo Koch
Browse files
Options
Downloads
Patches
Plain Diff
[test][richards][parallel][lens] Use istl solver factory backend
parent
cf36a587
No related branches found
No related tags found
1 merge request
!1845
Feature/istl solver factory
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/porousmediumflow/richards/implicit/lens/main.cc
+2
-3
2 additions, 3 deletions
test/porousmediumflow/richards/implicit/lens/main.cc
test/porousmediumflow/richards/implicit/lens/params.input
+7
-1
7 additions, 1 deletion
test/porousmediumflow/richards/implicit/lens/params.input
with
9 additions
and
4 deletions
test/porousmediumflow/richards/implicit/lens/main.cc
+
2
−
3
View file @
aa066372
...
@@ -38,8 +38,7 @@
...
@@ -38,8 +38,7 @@
#include
<dumux/common/valgrind.hh>
#include
<dumux/common/valgrind.hh>
#include
<dumux/common/dumuxmessage.hh>
#include
<dumux/common/dumuxmessage.hh>
#include
<dumux/linear/amgbackend.hh>
#include
<dumux/linear/genericistlbackend.hh>
#include
<dumux/linear/linearsolvertraits.hh>
#include
<dumux/porousmediumflow/richards/newtonsolver.hh>
#include
<dumux/porousmediumflow/richards/newtonsolver.hh>
#include
<dumux/assembly/fvassembler.hh>
#include
<dumux/assembly/fvassembler.hh>
...
@@ -144,7 +143,7 @@ int main(int argc, char** argv) try
...
@@ -144,7 +143,7 @@ int main(int argc, char** argv) try
auto
assembler
=
std
::
make_shared
<
Assembler
>
(
problem
,
gridGeometry
,
gridVariables
,
timeLoop
,
xOld
);
auto
assembler
=
std
::
make_shared
<
Assembler
>
(
problem
,
gridGeometry
,
gridVariables
,
timeLoop
,
xOld
);
// the linear solver
// the linear solver
using
LinearSolver
=
AMGBiCGSTABBackend
<
LinearSolverTraits
<
GridGeometry
>
>
;
using
LinearSolver
=
Dumux
::
GenericIstlBackend
<
TypeTag
>
;
auto
linearSolver
=
std
::
make_shared
<
LinearSolver
>
(
leafGridView
,
gridGeometry
->
dofMapper
());
auto
linearSolver
=
std
::
make_shared
<
LinearSolver
>
(
leafGridView
,
gridGeometry
->
dofMapper
());
// the non-linear solver
// the non-linear solver
...
...
This diff is collapsed.
Click to expand it.
test/porousmediumflow/richards/implicit/lens/params.input
+
7
−
1
View file @
aa066372
...
@@ -8,8 +8,14 @@ Cells = 24 16
...
@@ -8,8 +8,14 @@ Cells = 24 16
[Problem]
[Problem]
Name = richardslens
Name = richardslens
EnableGravity =
1
# enable gravity
EnableGravity =
true
# enable gravity
[Newton]
[Newton]
TargetSteps = 18 # set the "desirable" number of Newton iterations of a time step
TargetSteps = 18 # set the "desirable" number of Newton iterations of a time step
EnableChop = true # chop for better convergence
EnableChop = true # chop for better convergence
[LinearSolver]
Type = bicgstabsolver
PreconditionerType = amg
AmgMaxLevel = 2
AmgAccumulationMode = atOnce
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment