Commit 2ce4e6b6 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

added GetStep size and fixed GaussHat

parent eb5293d4
...@@ -23,6 +23,8 @@ public: ...@@ -23,6 +23,8 @@ public:
config.get("T", T); config.get("T", T);
} }
double GetStepSize() { return CFL * meshes.fineMesh().MaxMeshWidth(); }
double GetStartTime() { return t0; } double GetStartTime() { return t0; }
double GetEndTime() { return T; } double GetEndTime() { return T; }
...@@ -277,7 +279,7 @@ public: ...@@ -277,7 +279,7 @@ public:
sigma[0][1] = 0.0; sigma[0][1] = 0.0;
sigma[1][0] = 0.0; sigma[1][0] = 0.0;
sigma[1][1] = 0.005; sigma[1][1] = 0.005;
// sigma[2][2] = 1.0; // Todo might not be working for 2D Point sigma[2][2] = 1.0; // Todo this is needed even in 2D case which is not quite clean
} }
Point mu(double t) const { Point mu(double t) const {
......
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