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
c634d4f3
Commit
c634d4f3
authored
Jan 28, 2022
by
Bernd Flemisch
Browse files
[test][navierstokes][donea] use new istl solver factory backend
parent
e526764b
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/freeflow/navierstokes/donea/main_momentum.cc
View file @
c634d4f3
...
...
@@ -42,6 +42,7 @@
#include
<dumux/nonlinear/newtonsolver.hh>
#include
<dumux/linear/linearsolvertraits.hh>
#include
<dumux/linear/algebratraits.hh>
#include
<dumux/linear/istlsolverfactorybackend.hh>
#include
"properties_momentum.hh"
...
...
@@ -153,7 +154,8 @@ int main(int argc, char** argv)
using
Assembler
=
FVAssembler
<
TypeTag
,
DiffMethod
::
numeric
>
;
auto
assembler
=
std
::
make_shared
<
Assembler
>
(
problem
,
gridGeometry
,
gridVariables
);
using
LinearSolver
=
IstlSolverFactoryBackend
<
LinearSolverTraits
<
GridGeometry
>>
;
using
LinearSolver
=
IstlSolverFactoryBackend
<
LinearSolverTraits
<
GridGeometry
>
,
LinearAlgebraTraitsFromAssembler
<
Assembler
>>
;
const
auto
dofMapper
=
LinearSolverTraits
<
GridGeometry
>::
DofMapper
(
gridGeometry
->
gridView
());
auto
linearSolver
=
std
::
make_shared
<
LinearSolver
>
(
gridGeometry
->
gridView
(),
dofMapper
);
...
...
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