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

setUpPlot using new update function plotmap

parent 35b24abc
......@@ -48,6 +48,10 @@ protected:
virtual void plotSolution(SampleSolution &solution) = 0;
virtual void setUpPlot(SampleSolution &solution) {
plotMap.UpdateMap(solution);
}
public:
PDESolver() {
config.get("PDESolverVerbose", verbose);
......@@ -57,14 +61,12 @@ public:
entries.push_back(InfoEntry("CostMeasure", costMeasure));
}
virtual ~PDESolver() {
// delete plotMap;
};
virtual ~PDESolver() {};
void Run(SampleSolution &solution) {
mout.StartBlock("PDE Solver");
vout(1) << solution.id.Str() << endl;
plotSolution(solution); // Todo remove or rename
setUpPlot(solution);
run(solution);
computeQ(solution);
computeCost(solution);
......
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