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
03ba8074
Commit
03ba8074
authored
1 year ago
by
Anna Mareike Kostelecky
Committed by
Timo Koch
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
[test][pnm][solidenergy] use istlsolvers
parent
5ebcd743
No related branches found
No related tags found
1 merge request
!3426
Add dualnetwork test from dumux-pub repository Koch2021a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/porenetwork/solidenergy/main.cc
+5
-3
5 additions, 3 deletions
test/porenetwork/solidenergy/main.cc
with
5 additions
and
3 deletions
test/porenetwork/solidenergy/main.cc
+
5
−
3
View file @
03ba8074
...
...
@@ -7,7 +7,7 @@
/*!
* \file
*
* \brief test for the pore network model
* \brief
heat conduction
test for the pore network model
(with solid properties)
*/
#include
<config.h>
...
...
@@ -20,7 +20,9 @@
#include
<dumux/common/dumuxmessage.hh>
#include
<dumux/common/initialize.hh>
#include
<dumux/linear/seqsolverbackend.hh>
#include
<dumux/linear/istlsolvers.hh>
#include
<dumux/linear/linearsolvertraits.hh>
#include
<dumux/linear/linearalgebratraits.hh>
#include
<dumux/assembly/fvassembler.hh>
#include
<dumux/nonlinear/newtonsolver.hh>
...
...
@@ -114,7 +116,7 @@ int main(int argc, char** argv)
auto
assembler
=
isStationary
?
std
::
make_shared
<
Assembler
>
(
solidProblem
,
solidGridGeometry
,
solidGridVariables
)
//stationary case
:
std
::
make_shared
<
Assembler
>
(
solidProblem
,
solidGridGeometry
,
solidGridVariables
,
timeLoop
,
solOld
);
// transient case -> timeloop needed
using
LinearSolver
=
ILU0BiCGSTABBackend
;
using
LinearSolver
=
UMFPackIstlSolver
<
SeqLinearSolverTraits
,
LinearAlgebraTraitsFromAssembler
<
Assembler
>>
;
auto
linearSolver
=
std
::
make_shared
<
LinearSolver
>
();
// the non-linear solver
...
...
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