Commit 1b5e711b authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

refactored

parent fcd65377
......@@ -28,9 +28,9 @@ public:
virtual void DrawSample(SampleID id) = 0;
virtual IDiscretization *GetDiscretization() = 0;
virtual IDiscretization *GetDisc() = 0;
virtual IStochasticProblem *GetStochasticProblem() = 0;
virtual IStochasticProblem *GetProblem() = 0;
void PrintInfo() const override = 0;
};
......
#ifndef ISTOCHASTICELLIPTICASSEMBLE_HPP
#define ISTOCHASTICELLIPTICASSEMBLE_HPP
#include "assemble/IStochasticAssemble.hpp"
#include "IStochasticAssemble.hpp"
#include "problem/StochasticEllipticProblem.hpp"
typedef std::pair<double, double> FluxPair;
class IStochasticEllipticAssemble : public IStochasticAssemble {
public:
protected:
IStochasticEllipticProblem *problem;
public:
explicit IStochasticEllipticAssemble(IStochasticEllipticProblem *problem) :
IStochasticAssemble(), problem(problem) {
};
......@@ -19,7 +20,7 @@ public:
problem->DrawSample(id);
}
IStochasticProblem *GetStochasticProblem() override {
IStochasticProblem *GetProblem() override {
return problem;
};
......
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