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

added PDESolver to MLMC

parent 94822f0c
......@@ -19,6 +19,7 @@ public:
Meshes *meshes;
IStochasticAssemble *assemble;
PDESolver *pdeSolver;
vector<int> levels = {};
vector<int> samples = {};
......@@ -41,11 +42,13 @@ public:
MultilevelMonteCarlo(vector<int> &initLevels,
vector<int> &initSampleAmount,
Meshes *meshes,
IStochasticAssemble *assemble) :
IStochasticAssemble *assemble,
PDESolver *pdeSolver) :
initLevels(initLevels),
initSampleAmount(initSampleAmount),
meshes(meshes),
assemble(assemble) {
assemble(assemble),
pdeSolver(pdeSolver) {
config.get("mcOnly", mcOnly);
config.get("MLMCVerbose", 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