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
36a4a666
Commit
36a4a666
authored
Mar 12, 2020
by
niklas.baumgarten
Browse files
fixed stochastic laplace 1d
parent
02459c00
Changes
1
Hide whitespace changes
Inline
Side-by-side
mlmc/src/problem/StochasticEllipticProblem.hpp
View file @
36a4a666
...
...
@@ -32,10 +32,10 @@ class StochasticLaplace1D : public StochasticEllipticProblem {
public:
StochasticLaplace1D
()
=
default
;
Scalar
Solution
(
const
Point
&
x
)
const
override
{
return
-
x
[
0
];
}
Scalar
Solution
(
const
Point
&
x
)
const
override
{
return
1
-
x
[
0
];
}
VectorField
Flux
(
int
,
const
Point
&
x
)
const
override
{
return
VectorField
(
-
1.0
,
0.0
);
return
VectorField
(
1.0
,
0.0
);
}
Scalar
Load
(
int
,
const
Point
&
x
)
const
override
{
return
0.0
;
}
...
...
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