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
053fc602
Commit
053fc602
authored
May 17, 2021
by
niklas.baumgarten
Browse files
further work on mlmc test
parent
a02fd73b
Changes
2
Show whitespace changes
Inline
Side-by-side
mlmc/tests/estimators/TestMultilevelMonteCarlo.cpp
View file @
053fc602
...
...
@@ -31,8 +31,8 @@ int main(int argc, char **argv) {
WithConfigEntry
(
"ConfigVerbose"
,
0
).
WithConfigEntry
(
"MeshVerbose"
,
0
).
WithConfigEntry
(
"MainVerbose"
,
0
).
WithConfigEntry
(
"MLMCVerbose"
,
0
).
WithConfigEntry
(
"MCVerbose"
,
0
).
WithConfigEntry
(
"MLMCVerbose"
,
1
).
WithConfigEntry
(
"MCVerbose"
,
1
).
WithScreenLogging
().
WithPPM
()
).
RUN_ALL_MPP_TESTS
();
...
...
mlmc/tests/estimators/TestMultilevelMonteCarlo.hpp
View file @
053fc602
...
...
@@ -58,7 +58,23 @@ protected:
WithParallel
(
true
).
CreateUnique
())
{
mout
<<
GetParam
()
<<
endl
;
mout
.
StartBlock
(
"Monte Carlo seriell"
);
mout
<<
"Start"
<<
endl
;
mlmcSeriell
->
Method
();
mout
.
EndBlock
();
mout
<<
endl
;
mlmcSeriell
->
EstimatorResults
();
mout
.
StartBlock
(
"Monte Carlo parallel"
);
mout
<<
"Start"
<<
endl
;
mlmcParallel
->
Method
();
mout
.
EndBlock
();
mout
<<
endl
;
mlmcParallel
->
EstimatorResults
();
}
};
...
...
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