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

splitted def and dec

parent 539e3330
#include "PDESolver.hpp"
void PDESolver::Run(SampleSolution &solution) {
mout.StartBlock("PDE Solver");
vout(2) << solution.id << endl;
run(solution);
computeQ(solution);
computeCost(solution);
plotSolution(solution);
weightSolution(solution);
vout(2) << "Q=" << solution.Q << " cost=" << solution.C << endl;
mout.EndBlock(verbose <= 1);
}
......@@ -38,17 +38,7 @@ public:
virtual ~PDESolver() = default;
void Run(SampleSolution &solution) {
mout.StartBlock("PDE Solver");
vout(2) << solution.id << endl;
run(solution);
computeQ(solution);
computeCost(solution);
plotSolution(solution);
weightSolution(solution);
vout(2) << "Q=" << solution.Q << " cost=" << solution.C << endl;
mout.EndBlock(verbose <= 1);
}
void Run(SampleSolution &solution);
virtual IAssemble *GetAssemble() const = 0;
......
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