Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Mpp
MLUQ
Commits
d52035ea
Commit
d52035ea
authored
May 05, 2021
by
niklas.baumgarten
Browse files
removing default value
parent
94f5d436
Changes
2
Hide whitespace changes
Inline
Side-by-side
mlmc/src/montecarlo/MonteCarlo.cpp
View file @
d52035ea
...
...
@@ -26,9 +26,10 @@ void MonteCarlo::method() {
computeSampleSolution
(
aggregate
.
index
(),
fineId
,
fineSolution
);
if
(
onlyFine
)
coarseSolution
.
Init
();
else
computeSampleSolution
(
aggregate
.
index
(),
coarseId
,
coarseSolution
);
aggregate
.
Update
(
fineSolution
,
coarseSolution
);
sums
.
Update
(
fineSolution
,
coarseSolution
);
// todo rmv
vout
(
3
)
<<
sums
;
// todo rmv
aggregate
.
Update
(
fineSolution
,
coarseSolution
);
}
}
...
...
mlmc/src/montecarlo/MonteCarlo.hpp
View file @
d52035ea
...
...
@@ -13,7 +13,7 @@ protected:
int
plotting
=
0
;
bool
onlyFine
=
false
;
bool
onlyFine
;
bool
parallel
;
...
...
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