StochasticProblem.hpp 365 Bytes
Newer Older
niklas.baumgarten's avatar
niklas.baumgarten committed
1
2
#ifndef STOCHASTICPROBLEM_HPP
#define STOCHASTICPROBLEM_HPP
3
4

#include "m++.h"
5

6
7

class StochasticProblem {
8
protected:
9
    Vector *fieldSample = nullptr;
10
public:
11

12
    StochasticProblem() = default;
13

14
    virtual ~StochasticProblem() = default;;
niklas.baumgarten's avatar
niklas.baumgarten committed
15

niklas.baumgarten's avatar
niklas.baumgarten committed
16
    void SetSample(Vector *sample) {
17
        fieldSample = sample;
18
19
20
21
22
23
    }

    virtual string Name() const = 0;
};

#endif