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
893dc974
Commit
893dc974
authored
5 years ago
by
Ned Coltman
Browse files
Options
Downloads
Plain Diff
Merge branch 'cherry-pick-
41fc30cc
' into 'releases/3.2'
Merge branch 'fix/example-1p-rot' into 'master' See merge request
!2045
parents
61af8b82
202a4f57
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!2152
WIP add default fluxcache properties
,
!2045
Merge branch 'fix/example-1p-rot' into 'master'
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
examples/1protationsymmetry/doc/main.md
+2
-2
2 additions, 2 deletions
examples/1protationsymmetry/doc/main.md
examples/1protationsymmetry/main.cc
+2
-2
2 additions, 2 deletions
examples/1protationsymmetry/main.cc
with
4 additions
and
4 deletions
examples/1protationsymmetry/doc/main.md
+
2
−
2
View file @
893dc974
...
...
@@ -36,7 +36,7 @@ and compute the convergence rates.
#include
<dumux/common/parameters.hh>
// for getParam
#include
<dumux/common/integrate.hh>
// for integrateL2Error
#include
<dumux/linear/seqsolverbackend.hh>
// for
UMFPack
Backend
#include
<dumux/linear/seqsolverbackend.hh>
// for
ILU0BiCGSTAB
Backend
#include
<dumux/linear/pdesolver.hh>
// for LinearPDESolver
#include
<dumux/assembly/fvassembler.hh>
#include
<dumux/assembly/diffmethod.hh>
...
...
@@ -133,7 +133,7 @@ solution and stores the result therein.
using
Assembler
=
FVAssembler
<
TypeTag
,
DiffMethod
::
analytic
>
;
auto
assembler
=
std
::
make_shared
<
Assembler
>
(
problem
,
gridGeometry
,
gridVariables
);
using
LinearSolver
=
UMFPack
Backend
;
using
LinearSolver
=
ILU0BiCGSTAB
Backend
;
auto
linearSolver
=
std
::
make_shared
<
LinearSolver
>
();
LinearPDESolver
<
Assembler
,
LinearSolver
>
solver
(
assembler
,
linearSolver
);
solver
.
setVerbose
(
false
);
// suppress output during solve()
...
...
This diff is collapsed.
Click to expand it.
examples/1protationsymmetry/main.cc
+
2
−
2
View file @
893dc974
...
...
@@ -33,7 +33,7 @@
#include
<dumux/common/parameters.hh>
// for getParam
#include
<dumux/common/integrate.hh>
// for integrateL2Error
#include
<dumux/linear/seqsolverbackend.hh>
// for
UMFPack
Backend
#include
<dumux/linear/seqsolverbackend.hh>
// for
ILU0BiCGSTAB
Backend
#include
<dumux/linear/pdesolver.hh>
// for LinearPDESolver
#include
<dumux/assembly/fvassembler.hh>
#include
<dumux/assembly/diffmethod.hh>
...
...
@@ -122,7 +122,7 @@ int main(int argc, char** argv) try
using
Assembler
=
FVAssembler
<
TypeTag
,
DiffMethod
::
analytic
>
;
auto
assembler
=
std
::
make_shared
<
Assembler
>
(
problem
,
gridGeometry
,
gridVariables
);
using
LinearSolver
=
UMFPack
Backend
;
using
LinearSolver
=
ILU0BiCGSTAB
Backend
;
auto
linearSolver
=
std
::
make_shared
<
LinearSolver
>
();
LinearPDESolver
<
Assembler
,
LinearSolver
>
solver
(
assembler
,
linearSolver
);
solver
.
setVerbose
(
false
);
// suppress output during solve()
...
...
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