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
e6596357
Commit
e6596357
authored
Dec 13, 2019
by
niklas.baumgarten
Browse files
..
parent
b2420029
Changes
1
Hide whitespace changes
Inline
Side-by-side
mlmc/src/MonteCarloLogger.h
View file @
e6596357
...
...
@@ -3,6 +3,7 @@
#include "m++.h"
class
MultilevelMonteCarloLogger
{
private:
Date
timestamp
;
...
...
@@ -14,7 +15,7 @@ public:
string
inner_indent
=
default_indent
;
MultilevelMonteCarloLogger
()
{
ReadConfig
(
Settings
,
"MLMCVerbose"
,
verbose
);
config
.
get
(
"MLMCVerbose"
,
verbose
);
}
void
increase_indent
()
{
...
...
@@ -53,13 +54,11 @@ public:
}
};
class
MonteCarloLogger
:
public
MultilevelMonteCarloLogger
{
private:
Date
timestamp
;
int
verbose
=
0
;
public:
MonteCarloLogger
()
:
MultilevelMonteCarloLogger
()
{
ReadConfig
(
Settings
,
"MCVerbose"
,
verbose
);
...
...
@@ -84,8 +83,6 @@ public:
void
logMSGV2
(
string
msg
)
override
{
vout
(
2
)
<<
inner_indent
<<
msg
<<
endl
;
}
};
#endif //MLMC__MULTILEVELMONTECARLO__HPP
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