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

temp refactoring

parent d9dd37cb
......@@ -12,23 +12,12 @@ void MonteCarlo::Method() {
mout.EndBlock(verbose == 0);
}
void MonteCarlo::init() {
// SampleID coarseId;
// SampleID fineId;
// SampleSolution coarseSolution(*solMGraphs, level.mGcoarse);
// SampleSolution fineSolution(*solMGraphs, level.mGfine);
// fineId.level = level;
// fineId.coarse = false;
// coarseId.level = level;
// coarseId.coarse = true;
}
void MonteCarlo::method() {
SampleID coarseId;
SampleID fineId;
SampleSolution coarseSolution(*solMGraphs, level.mGcoarse);
SampleSolution fineSolution(*solMGraphs, level.mGfine);
SampleSolution coarseSolution(solMGraphs, level.mGcoarse);
SampleSolution fineSolution(solMGraphs, level.mGfine);
fineId.level = level;
fineId.coarse = false;
coarseId.level = level;
......@@ -46,7 +35,6 @@ void MonteCarlo::method() {
void MonteCarlo::computeSampleSolution(int m, SampleID &id, SampleSolution &solution) {
id.number = m;
solution.id = id;
plotter->SetDirectory(id);
pdeSolver->DrawSample(id);
pdeSolver->Run(solution);
}
#ifndef MLMC_MC_HPP
#define MLMC_MC_HPP
#include "main/MultilevelPlotter.hpp"
//#include "main/MultilevelPlotter.hpp"
#include "EmpiricMeasures.hpp"
#include "PDESolver.hpp"
#include "Sample.hpp"
......@@ -12,8 +12,6 @@ protected:
int plotting = 0;
int verbose = 1;
void init();
void method();
void computeSampleSolution(int m, SampleID &id, SampleSolution &solution);
......
Supports Markdown
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