Commit f573d961 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

store const ref of meshes in stochastic problem

parent cea8bcbb
......@@ -9,17 +9,18 @@
class IStochasticProblem {
private:
protected:
int verbose = 1;
const Meshes &meshes;
GeneratorNames genNames;
protected:
SampleGeneratorContainer genContainer;
public:
IStochasticProblem(Meshes &meshes, GeneratorNames genNames) :
genNames(genNames), genContainer(genNames, meshes) {
meshes(meshes), genNames(genNames), genContainer(genNames, meshes) {
config.get("ProblemVerbose", verbose);
}
......
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