Commit 0f3a34ec authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

not losing problem information and moving timeseries

parent e27308a9
......@@ -21,7 +21,7 @@ public:
problem->DrawSample(id);
}
IStochasticProblem *GetProblem() const {
IStochasticEllipticProblem *GetProblem() const {
return problem;
};
......
......@@ -31,10 +31,16 @@ public:
this->plot = _plot;
}
IStochasticProblem *GetProblem() {
IStochasticTransportProblem *GetProblem() {
return problem;
};
TimeSeries GetTimeSeries(const Vector &u) {
return TimeSeries(problem->GetStartTime(), problem->GetEndTime(),
problem->GetCFL() * u.GetMesh().MeshWidth().second,
"UniformTimeSeries");
}
virtual IDiscretization *GetDisc() = 0;
virtual ~IStochasticTransportAssemble() = default;
......
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