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

SpecularSimulation + c'tor(scan, sample)

parent 52cc3088
No related branches found
No related tags found
1 merge request!907Core cleanup
......@@ -56,6 +56,12 @@ SpecularSimulation::SpecularSimulation()
m_detector.reset(new SpecularDetector1D);
}
SpecularSimulation::SpecularSimulation(const ISpecularScan& scan, const MultiLayer& sample)
{
setScan(scan);
setSample(sample);
}
SpecularSimulation::~SpecularSimulation() = default;
SpecularSimulation::SpecularSimulation(SpecularSimulation&&) = default;
......
......@@ -34,6 +34,7 @@ class SpecularElement;
class SpecularSimulation : public ISimulation {
public:
SpecularSimulation();
SpecularSimulation(const ISpecularScan& scan, const MultiLayer& sample);
~SpecularSimulation() override;
SpecularSimulation(SpecularSimulation&&);
......
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