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

using new MGLevel

parent f6cfb624
Pipeline #117646 failed with stages
in 6 minutes and 12 seconds
......@@ -16,13 +16,15 @@ void MonteCarlo::method() {
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;
SampleSolution coarseSolution(solMGraphs, coarseId);
SampleSolution fineSolution(solMGraphs, fineId);
for (int m = ctr.M; m < ctr.M + ctr.dM; m++) {
computeSampleSolution(m, fineId, fineSolution);
if (onlyFine) coarseSolution.Init();
......
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