Commit 36a4a666 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

fixed stochastic laplace 1d

parent 02459c00
......@@ -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; }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment