Commit 7173eac8 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

bug fix

parent 556d29e0
......@@ -19,12 +19,6 @@ protected:
int degree = 1;
void method();
void computeSampleSolution(int m, SampleID &id, SampleSolution &solution);
void readConfigEntries();
public:
Level level;
bool onlyFine;
......@@ -66,12 +60,19 @@ public:
}
~MonteCarlo() {
delete solMGraphs;
delete pdeSolver;
delete meshes;
if (!solMGraphs) delete solMGraphs;
if (!pdeSolver) delete pdeSolver;
if (!meshes) delete meshes;
}
void Method();
private:
void method();
void computeSampleSolution(int m, SampleID &id, SampleSolution &solution);
void readConfigEntries();
};
#endif //MLMC_MC_HPP
\ No newline at end of file
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