Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Mpp
MLUQ
Commits
c93f9825
Commit
c93f9825
authored
Sep 22, 2020
by
niklas.baumgarten
Browse files
pc is cleaned by solver
parent
207aba03
Changes
1
Show whitespace changes
Inline
Side-by-side
mlmc/src/montecarlo/MonteCarloElliptic.hpp
View file @
c93f9825
...
...
@@ -36,13 +36,11 @@ public:
fineSolution
(
Vector
(
solMatrixGraphs
[
l
-
pLevel
])),
coarseSolution
(
Vector
(
solMatrixGraphs
[
l
-
pLevel
-
1
]))
{
pc
=
GetPC
(
"SuperLU"
);
solver
=
new
Solver
(
pc
,
"GMRES"
);
solver
=
new
Solver
(
GetPC
(
"SuperLU"
),
"GMRES"
);
newton
=
new
Newton
(
*
solver
);
}
virtual
~
MonteCarloElliptic
()
{
delete
pc
;
delete
solver
;
delete
newton
;
}
...
...
Write
Preview
Markdown
is supported
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