Commit 997a9632 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

stochastics -> generators

parent 8d838d26
......@@ -7,7 +7,7 @@
#include "Algebra.hpp"
#include "SampleGenerator.hpp"
#include "dof/BasicDoFs.hpp"
#include "main/MultilevelPlotter.hpp"
//#include "main/MultilevelPlotter.hpp"
typedef std::vector<std::complex<double>> ComplexField1D;
......@@ -184,15 +184,15 @@ protected:
if (!id.coarse) {
circulantEmbeddings[id.level.fine]->generateFineSample(id, fineSample,
coarseSample);
if (plotting)
plotter->PlotVector("kappa", *fineSample, 1,
id.level.coarse, "CellData");
// if (plotting)
// plotter->PlotVector("kappa", *fineSample, 1,
// id.level.coarse, "CellData");
} else {
circulantEmbeddings[id.level.fine]->generateCoarseSample(id, fineSample,
coarseSample);
if (plotting)
plotter->PlotVector("kappa", *coarseSample, 1,
id.level.fine, "CellData");
// if (plotting)
// plotter->PlotVector("kappa", *coarseSample, 1,
// id.level.fine, "CellData");
}
}
......
......@@ -32,14 +32,14 @@ protected:
void drawSample(const SampleID &id) override {
if (!id.coarse) {
generateFineSample(id);
if (plotting)
plotter->PlotVector("flux", *cellFlux, 3,
id.level.fine, "CellData");
// if (plotting)
// plotter->PlotVector("flux", *cellFlux, 3,
// id.level.fine, "CellData");
} else {
generateCoarseSample(id);
if (plotting)
plotter->PlotVector("flux", *cellFlux, 3,
id.level.coarse, "CellData");
// if (plotting)
// plotter->PlotVector("flux", *cellFlux, 3,
// id.level.coarse, "CellData");
}
}
......
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