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
d84d771c
Commit
d84d771c
authored
Nov 11, 2020
by
niklas.baumgarten
Browse files
renaming function
parent
8e7b1b3e
Changes
3
Hide whitespace changes
Inline
Side-by-side
mlmc/src/montecarlo/MultilevelMonteCarlo.hpp
View file @
d84d771c
...
...
@@ -37,7 +37,7 @@ public:
MultilevelMonteCarlo
(
Meshes
&
meshes
,
PDESolver
*
pdeSolver
)
:
meshes
(
meshes
),
pdeSolver
(
pdeSolver
),
solMGraphs
(
pdeSolver
->
CreateSolutionMatrixGraph
(
meshes
))
{
solMGraphs
(
pdeSolver
->
CreateSolutionMatrixGraph
s
(
meshes
))
{
config
.
get
(
"MLMCVerbose"
,
verbose
);
config
.
get
(
"mcOnly"
,
mcOnly
);
...
...
mlmc/src/montecarlo/PDESolver.hpp
View file @
d84d771c
...
...
@@ -78,7 +78,7 @@ public:
mout
.
EndBlock
(
verbose
==
0
);
}
MatrixGraphs
*
CreateSolutionMatrixGraph
(
Meshes
&
meshes
)
{
MatrixGraphs
*
CreateSolutionMatrixGraph
s
(
Meshes
&
meshes
)
{
auto
disc
=
this
->
GetDisc
();
auto
typeName
=
typeid
(
*
disc
).
name
();
if
(
typeName
==
typeid
(
LagrangeDiscretization
).
name
())
...
...
tests/unit/TestPDESolver.cpp
View file @
d84d771c
...
...
@@ -33,7 +33,7 @@ protected:
WithModel
(
GetParam
().
model
).
WithProblem
(
GetParam
().
problem
).
Create
();
pdeSolver
->
SetQuantity
(
GetParam
().
quantity
);
mGraphs
=
pdeSolver
->
CreateSolutionMatrixGraph
(
*
meshes
);
mGraphs
=
pdeSolver
->
CreateSolutionMatrixGraph
s
(
*
meshes
);
}
void
TearDown
()
override
{
...
...
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