Skip to content
Snippets Groups Projects
Commit a5c88468 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

rm unused

parent 64875d11
No related branches found
No related tags found
1 merge request!311minor edits in fit test context
...@@ -94,8 +94,6 @@ RectDetPlan::RectDetPlan() : Plan("RectDetPlan") ...@@ -94,8 +94,6 @@ RectDetPlan::RectDetPlan() : Plan("RectDetPlan")
addParameter(Parameter("radius", 5.5 * nm, AttLimits::limited(4.0, 6.0), 0.01), 5.0 * nm); addParameter(Parameter("radius", 5.5 * nm, AttLimits::limited(4.0, 6.0), 0.01), 5.0 * nm);
} }
RectDetPlan::~RectDetPlan() = default;
std::unique_ptr<ISimulation> RectDetPlan::createSimulation(const Parameters&) const std::unique_ptr<ISimulation> RectDetPlan::createSimulation(const Parameters&) const
{ {
std::unique_ptr<GISASSimulation> result(new GISASSimulation()); std::unique_ptr<GISASSimulation> result(new GISASSimulation());
...@@ -160,8 +158,6 @@ MultipleSpecPlan::MultipleSpecPlan() : Plan("MultipleSpecPlan") ...@@ -160,8 +158,6 @@ MultipleSpecPlan::MultipleSpecPlan() : Plan("MultipleSpecPlan")
3.0 * nm); 3.0 * nm);
} }
MultipleSpecPlan::~MultipleSpecPlan() = default;
std::unique_ptr<FitObjective> MultipleSpecPlan::createFitObjective() const std::unique_ptr<FitObjective> MultipleSpecPlan::createFitObjective() const
{ {
std::unique_ptr<FitObjective> result(new FitObjective); std::unique_ptr<FitObjective> result(new FitObjective);
......
...@@ -55,7 +55,6 @@ protected: ...@@ -55,7 +55,6 @@ protected:
class RectDetPlan : public Plan { class RectDetPlan : public Plan {
public: public:
RectDetPlan(); RectDetPlan();
~RectDetPlan();
protected: protected:
std::unique_ptr<ISimulation> createSimulation(const mumufit::Parameters&) const override; std::unique_ptr<ISimulation> createSimulation(const mumufit::Parameters&) const override;
...@@ -87,7 +86,6 @@ protected: ...@@ -87,7 +86,6 @@ protected:
class MultipleSpecPlan : public Plan { class MultipleSpecPlan : public Plan {
public: public:
MultipleSpecPlan(); MultipleSpecPlan();
~MultipleSpecPlan() override;
protected: protected:
std::unique_ptr<FitObjective> createFitObjective() const override; std::unique_ptr<FitObjective> createFitObjective() const override;
...@@ -100,7 +98,6 @@ protected: ...@@ -100,7 +98,6 @@ protected:
class OffSpecularPlan : public Plan { class OffSpecularPlan : public Plan {
public: public:
OffSpecularPlan(); OffSpecularPlan();
~OffSpecularPlan() override = default;
protected: protected:
std::unique_ptr<MultiLayer> createMultiLayer(const mumufit::Parameters& params) const override; std::unique_ptr<MultiLayer> createMultiLayer(const mumufit::Parameters& params) const override;
......
...@@ -40,7 +40,6 @@ int run(const std::string& test_name, const std::string& sim_name, ...@@ -40,7 +40,6 @@ int run(const std::string& test_name, const std::string& sim_name,
std::cout << "- sample builder " << sample_builder_name << std::endl; std::cout << "- sample builder " << sample_builder_name << std::endl;
std::unique_ptr<ISampleBuilder> builder{SampleBuilderFactory().createItem(sample_builder_name)}; std::unique_ptr<ISampleBuilder> builder{SampleBuilderFactory().createItem(sample_builder_name)};
int number_of_failed_tests = 0;
std::unique_ptr<MultiLayer> sample(builder->buildSample()); std::unique_ptr<MultiLayer> sample(builder->buildSample());
simulation->setSample(*sample); simulation->setSample(*sample);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment