Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
agnumpde
dune-tnnmg
Commits
853b343b
Commit
853b343b
authored
Oct 19, 2020
by
oliver.sander_at_tu-dresden.de
Browse files
Avoid a compiler warning
parent
97c230d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
dune/tnnmg/test/tnnmgsteptest.cc
View file @
853b343b
...
...
@@ -61,11 +61,11 @@ void solveProblem(const MatrixType& mat, VectorType& x, const VectorType& rhs, c
using
NonlinearSmoother
=
Dune
::
TNNMG
::
NonlinearGSStep
<
Functional
,
decltype
(
localSolver
),
BitVector
>
;
auto
nonlinearSmoother
=
std
::
make_shared
<
NonlinearSmoother
>
(
J
,
x
,
localSolver
);
auto
smoother
=
TruncatedBlockGSStep
<
Matrix
,
Vector
>
{}
;
auto
smoother
=
std
::
make_shared
<
TruncatedBlockGSStep
<
Matrix
,
Vector
>
>
()
;
auto
linearMultigridStep
=
std
::
make_shared
<
Dune
::
Solvers
::
MultigridStep
<
Matrix
,
Vector
>
>
();
linearMultigridStep
->
setMGType
(
1
,
3
,
3
);
linearMultigridStep
->
setSmoother
(
&
smoother
);
linearMultigridStep
->
setSmoother
(
smoother
);
linearMultigridStep
->
setTransferOperators
(
transfer
);
using
Linearization
=
Dune
::
TNNMG
::
BoxConstrainedQuadraticFunctionalConstrainedLinearization
<
Functional
,
BitVector
>
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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