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

repair: initialize shared_ptr

parent 97cfc780
No related branches found
No related tags found
1 merge request!240Break include chains, resolve warnings
......@@ -34,7 +34,7 @@ inline size_t ycoord(size_t index, size_t sizeY)
} // namespace
IDetector2D::IDetector2D() = default;
IDetector2D::IDetector2D() : m_detector_mask(new DetectorMask) {}
IDetector2D::IDetector2D(const IDetector2D& other)
: IDetector(other), m_detector_mask(other.m_detector_mask)
......
......@@ -37,6 +37,104 @@ C++ includes: DecouplingApproximationStrategy.h
";
// File: classDiffuseElement.xml
%feature("docstring") DiffuseElement "
Data stucture containing both input and output of a single detector cell.
C++ includes: DiffuseElement.h
";
%feature("docstring") DiffuseElement::DiffuseElement "DiffuseElement::DiffuseElement(double wavelength, double alpha_i, double phi_i, std::unique_ptr< IPixel > pixel, const Eigen::Matrix2cd &beam_polpair, const Eigen::Matrix2cd &analyzer, bool isSpecular_, const Fluxes *const fluxes_in=nullptr, const Fluxes *const fluxes_out=nullptr)
";
%feature("docstring") DiffuseElement::DiffuseElement "DiffuseElement::DiffuseElement(const DiffuseElement &)=delete
";
%feature("docstring") DiffuseElement::DiffuseElement "DiffuseElement::DiffuseElement(DiffuseElement &&)
";
%feature("docstring") DiffuseElement::~DiffuseElement "DiffuseElement::~DiffuseElement()
";
%feature("docstring") DiffuseElement::setFluxes "void DiffuseElement::setFluxes(const Fluxes *fluxes_in, const Fluxes *fluxes_out)
";
%feature("docstring") DiffuseElement::fluxIn "const IFlux * DiffuseElement::fluxIn(size_t i_layer) const
";
%feature("docstring") DiffuseElement::fluxOut "const IFlux * DiffuseElement::fluxOut(size_t i_layer) const
";
%feature("docstring") DiffuseElement::pointElement "DiffuseElement DiffuseElement::pointElement(double x, double y) const
Returns copy of this DiffuseElement with k_f given by in-pixel coordinate x,y.
";
%feature("docstring") DiffuseElement::polarizationHandler "const PolarizerPair& DiffuseElement::polarizationHandler() const
Returns assigned PolarizerPair.
";
%feature("docstring") DiffuseElement::wavelength "double DiffuseElement::wavelength() const
";
%feature("docstring") DiffuseElement::getAlphaI "double DiffuseElement::getAlphaI() const
";
%feature("docstring") DiffuseElement::getPhiI "double DiffuseElement::getPhiI() const
";
%feature("docstring") DiffuseElement::getAlphaMean "double DiffuseElement::getAlphaMean() const
";
%feature("docstring") DiffuseElement::getPhiMean "double DiffuseElement::getPhiMean() const
";
%feature("docstring") DiffuseElement::setIntensity "void DiffuseElement::setIntensity(double intensity)
";
%feature("docstring") DiffuseElement::addIntensity "void DiffuseElement::addIntensity(double intensity)
";
%feature("docstring") DiffuseElement::intensity "double DiffuseElement::intensity() const
";
%feature("docstring") DiffuseElement::getKi "kvector_t DiffuseElement::getKi() const
";
%feature("docstring") DiffuseElement::getMeanKf "kvector_t DiffuseElement::getMeanKf() const
";
%feature("docstring") DiffuseElement::meanQ "kvector_t DiffuseElement::meanQ() const
";
%feature("docstring") DiffuseElement::getQ "kvector_t DiffuseElement::getQ(double x, double y) const
Returns scattering vector Q, with Kf determined from in-pixel coordinates x,y. In-pixel coordinates take values from 0 to 1.
";
%feature("docstring") DiffuseElement::integrationFactor "double DiffuseElement::integrationFactor(double x, double y) const
";
%feature("docstring") DiffuseElement::solidAngle "double DiffuseElement::solidAngle() const
";
%feature("docstring") DiffuseElement::getAlpha "double DiffuseElement::getAlpha(double x, double y) const
";
%feature("docstring") DiffuseElement::getPhi "double DiffuseElement::getPhi(double x, double y) const
";
%feature("docstring") DiffuseElement::wavevectorInfo "WavevectorInfo DiffuseElement::wavevectorInfo() const
";
%feature("docstring") DiffuseElement::isSpecular "bool DiffuseElement::isSpecular() const
Tells if simulation element corresponds to a specular peak.
";
// File: classDWBA__Pol.xml
%feature("docstring") DWBA_Pol "
......@@ -596,6 +694,51 @@ Adds n times the same slice to the stack.
";
// File: classSpecularElement.xml
%feature("docstring") SpecularElement "
Data stucture containing both input and output of a single image pixel for specular simulation.
C++ includes: SpecularElement.h
";
%feature("docstring") SpecularElement::SpecularElement "SpecularElement::SpecularElement(double kz, const PolarizerPair &polpair, bool computable)
";
%feature("docstring") SpecularElement::SpecularElement "SpecularElement::SpecularElement(double wavelength, double alpha, const PolarizerPair &polpair, bool computable)
";
%feature("docstring") SpecularElement::SpecularElement "SpecularElement::SpecularElement(const SpecularElement &other)=delete
";
%feature("docstring") SpecularElement::SpecularElement "SpecularElement::SpecularElement(SpecularElement &&other)
";
%feature("docstring") SpecularElement::~SpecularElement "SpecularElement::~SpecularElement()
";
%feature("docstring") SpecularElement::polarizationHandler "const PolarizerPair& SpecularElement::polarizationHandler() const
Returns assigned PolarizerPair.
";
%feature("docstring") SpecularElement::intensity "double SpecularElement::intensity() const
";
%feature("docstring") SpecularElement::setIntensity "void SpecularElement::setIntensity(double intensity)
";
%feature("docstring") SpecularElement::isCalculated "bool SpecularElement::isCalculated() const
Returns calculation flag (if it's false, zero intensity is assigned to the element)
";
%feature("docstring") SpecularElement::produceKz "std::vector< complex_t > SpecularElement::produceKz(const SliceStack &slices)
Returns kz values for Abeles computation of reflection/transition coefficients.
";
// File: classSSCAStrategy.xml
%feature("docstring") SSCAStrategy "
......@@ -608,7 +751,7 @@ C++ includes: SSCAStrategy.h
";
// File: namespace_0d17.xml
// File: namespace_0d13.xml
// File: namespace_0d2.xml
......@@ -617,9 +760,6 @@ C++ includes: SSCAStrategy.h
// File: namespace_0d21.xml
// File: namespace_0d23.xml
// File: namespace_0d25.xml
......@@ -629,10 +769,10 @@ C++ includes: SSCAStrategy.h
// File: namespace_0d29.xml
// File: namespace_0d35.xml
// File: namespace_0d31.xml
// File: namespace_0d37.xml
// File: namespace_0d33.xml
// File: namespace_0d39.xml
......@@ -641,7 +781,10 @@ C++ includes: SSCAStrategy.h
// File: namespace_0d41.xml
// File: namespace_0d9.xml
// File: namespace_0d43.xml
// File: namespace_0d45.xml
// File: namespaceCompute.xml
......@@ -754,6 +897,18 @@ Get default z limits for generating a material profile.
// File: IDWBA_8h.xml
// File: DiffuseElement_8cpp.xml
// File: DiffuseElement_8h.xml
// File: SpecularElement_8cpp.xml
// File: SpecularElement_8h.xml
// File: IFlux_8h.xml
......@@ -871,6 +1026,9 @@ Get default z limits for generating a material profile.
// File: dir_b80c39a6072510d81953e3a3f9526614.xml
// File: dir_28bc1277e419364b011e46aeb2e8e251.xml
// File: dir_4ab1bbd9e8de6a7ddc078bbf4801b604.xml
......
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