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

disambiguate fct name -> scanCoordSystem

parent 9f9c0532
No related branches found
No related tags found
1 merge request!1266ISimulation.h: wrap DistributionHandler in pointer, make some members private or take them out of Swig, sort
......@@ -178,7 +178,7 @@ size_t AlphaScan::numberOfElements() const
return m_alpha_axis->size() * m_lambda_distrib->nSamples() * m_alpha_distrib->nSamples();
}
CoordSystem1D* AlphaScan::createCoordSystem() const
CoordSystem1D* AlphaScan::scanCoordSystem() const
{
return new AngularReflectometryCoords(wavelength(), *coordinateAxis());
}
......
......@@ -60,7 +60,7 @@ public:
//! Returns the number of simulation elements
size_t numberOfElements() const override;
CoordSystem1D* createCoordSystem() const override;
CoordSystem1D* scanCoordSystem() const override;
//! Returns intensity vector corresponding to convolution of given simulation elements
std::vector<double> createIntensities(const std::vector<SpecularElement>& eles) const override;
......
......@@ -64,7 +64,7 @@ public:
//! Returns the number of simulation elements
virtual size_t numberOfElements() const = 0;
virtual CoordSystem1D* createCoordSystem() const = 0;
virtual CoordSystem1D* scanCoordSystem() const = 0;
//! Returns intensity vector corresponding to convolution of given simulation elements
virtual std::vector<double>
......
......@@ -101,7 +101,7 @@ size_t QzScan::numberOfElements() const
return m_qs->size() * m_resolution->nSamples();
}
CoordSystem1D* QzScan::createCoordSystem() const
CoordSystem1D* QzScan::scanCoordSystem() const
{
return new WavenumberReflectometryCoords(coordinateAxis()->clone());
}
......
......@@ -66,7 +66,7 @@ public:
//! Returns the number of simulation elements
size_t numberOfElements() const override;
CoordSystem1D* createCoordSystem() const override;
CoordSystem1D* scanCoordSystem() const override;
//! Returns intensity vector corresponding to convolution of given simulation elements
std::vector<double> createIntensities(const std::vector<SpecularElement>& eles) const override;
......
......@@ -58,7 +58,7 @@ SimulationResult SpecularSimulation::packResult() const
const ICoordSystem* SpecularSimulation::simCoordSystem() const
{
return m_scan->createCoordSystem();
return m_scan->scanCoordSystem();
}
void SpecularSimulation::initElementVector()
......
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