Commit 12a6d5ea authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

cosmetic adaption

parent b877553f
......@@ -16,15 +16,14 @@ void MonteCarloElliptic::method() {
plotter->SetDirectory(id);
assemble->problem->DrawSample(id);
SolvePDE(id, fineQ, fineCost, fineSolution);
if (!onlyFineLevel) {
id = SampleID(l, m, true);
plotter->SetDirectory(id);
assemble->problem->DrawSample(id);
SolvePDE(SampleID(), coarseQ, coarseCost, coarseSolution);
} else
coarseQ = 0.0, coarseCost = 0.0;
} else {
coarseQ = 0.0, coarseCost = 0.0, coarseSolution = 0.0;
}
updateSums(fineCost, fineQ - coarseQ, fineQ);
if (plotting) {
......
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