diff --git a/CHANGELOG b/CHANGELOG index 350682568c429d2722c3399d7ccd2de2abca372e..584757f1aa3eaa488f76857fd5fcb25868e6b81f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -8,6 +8,7 @@ BornAgain-1.17.99, work in progress 5) Removed default argument values from node constructors 6) Swap order of arguments gamma and eta in 2D decay and distribution Voigt functions 7) FormFactorSphereLogNormalRadius is now positioned at center, not at bottom + 8) Ripple1 and Ripple2 form factors renamed to CosineRipple and SawtoothRipple > Changes in build configuration: 1) Python2 no longer supported 2) OpenGL can no longer be deselected @@ -16,6 +17,7 @@ BornAgain-1.17.99, work in progress 1) Unit tests now under CTest control, no longer enforced during compilation 2) Uniform handling of assertions 3) Success of test_nonXMLDataInDir was dependent on test execution order + 4) Parameter registration now centralized in INode class BornAgain-1.17.0, released 2020.06.16 > API changes: diff --git a/Core/HardParticle/FormFactorBar.cpp b/Core/HardParticle/FormFactorBar.cpp index 5c37df741f4f450899a14e26218d694096be1f5a..8f3d1906bb60182f2cea0072dea788ba80ee49c7 100644 --- a/Core/HardParticle/FormFactorBar.cpp +++ b/Core/HardParticle/FormFactorBar.cpp @@ -20,7 +20,7 @@ // ************************************************************************** // FormFactorBarGauss::FormFactorBarGauss(const std::vector<double> P) - : ProfileRectangularRipple({"BarGauss", "class_tooltip", {}}, P) + : IProfileRectangularRipple({"BarGauss", "class_tooltip", {}}, P) { } @@ -49,7 +49,7 @@ complex_t FormFactorBarGauss::factor_x(complex_t qx) const // ************************************************************************** // FormFactorBarLorentz::FormFactorBarLorentz(const std::vector<double> P) - : ProfileRectangularRipple({"BarLorentz", "class_tooltip", {}}, P) + : IProfileRectangularRipple({"BarLorentz", "class_tooltip", {}}, P) { } diff --git a/Core/HardParticle/FormFactorBar.h b/Core/HardParticle/FormFactorBar.h index 5a3ec320506eb2343138badc71a175348c6d767d..fe3569c5b89a427fdc50ad0eff9281fb53f9fdfd 100644 --- a/Core/HardParticle/FormFactorBar.h +++ b/Core/HardParticle/FormFactorBar.h @@ -19,7 +19,7 @@ //! The form factor of an elongated bar, with Gaussian profile in elongation direction. //! @ingroup legacyGrating -class BA_CORE_API_ FormFactorBarGauss : public ProfileRectangularRipple +class BA_CORE_API_ FormFactorBarGauss : public IProfileRectangularRipple { public: FormFactorBarGauss(const std::vector<double> P); @@ -33,7 +33,7 @@ private: //! The form factor of an elongated, with Lorentz form factor in elongation direction. //! @ingroup legacyGrating -class BA_CORE_API_ FormFactorBarLorentz : public ProfileRectangularRipple +class BA_CORE_API_ FormFactorBarLorentz : public IProfileRectangularRipple { public: FormFactorBarLorentz(const std::vector<double> P); diff --git a/Core/HardParticle/FormFactorCosineRipple.cpp b/Core/HardParticle/FormFactorCosineRipple.cpp new file mode 100644 index 0000000000000000000000000000000000000000..e667bf8fedc1482e26bdd40cc7c173fe63473cd0 --- /dev/null +++ b/Core/HardParticle/FormFactorCosineRipple.cpp @@ -0,0 +1,104 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @file Core/HardParticle/FormFactorCosineRipple.cpp +//! @brief Implements classes FormFactorCosineRipple*. +//! +//! @homepage http://www.bornagainproject.org +//! @license GNU General Public License v3 or higher (see COPYING) +//! @copyright Forschungszentrum Jülich GmbH 2018 +//! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS) +// +// ************************************************************************** // + +#include "Core/HardParticle/FormFactorCosineRipple.h" +#include "Core/HardParticle/Ripples.h" + +// ************************************************************************** // +// class FormFactorCosineRippleBox +// ************************************************************************** // + +FormFactorCosineRippleBox::FormFactorCosineRippleBox(const std::vector<double> P) + : ICosineRipple({"CosineRippleBox", "class_tooltip", {}}, P) +{ +} + +FormFactorCosineRippleBox::FormFactorCosineRippleBox(double length, double width, double height) + : FormFactorCosineRippleBox(std::vector<double>{length, width, height}) +{ +} + +FormFactorCosineRippleBox* FormFactorCosineRippleBox::clone() const +{ + return new FormFactorCosineRippleBox(m_length, m_width, m_height); +} + +void FormFactorCosineRippleBox::accept(INodeVisitor* visitor) const +{ + visitor->visit(this); +} + +complex_t FormFactorCosineRippleBox::factor_x(complex_t qx) const +{ + return ripples::factor_x_box(qx, m_length); +} + +// ************************************************************************** // +// class FormFactorCosineRippleGauss +// ************************************************************************** // + +FormFactorCosineRippleGauss::FormFactorCosineRippleGauss(const std::vector<double> P) + : ICosineRipple({"CosineRippleGauss", "class_tooltip", {}}, P) +{ +} + +FormFactorCosineRippleGauss::FormFactorCosineRippleGauss(double length, double width, double height) + : FormFactorCosineRippleGauss(std::vector<double>{length, width, height}) +{ +} + +FormFactorCosineRippleGauss* FormFactorCosineRippleGauss::clone() const +{ + return new FormFactorCosineRippleGauss(m_length, m_width, m_height); +} + +void FormFactorCosineRippleGauss::accept(INodeVisitor* visitor) const +{ + visitor->visit(this); +} + +complex_t FormFactorCosineRippleGauss::factor_x(complex_t qx) const +{ + return ripples::factor_x_Gauss(qx, m_length); +} + +// ************************************************************************** // +// class FormFactorCosineRippleLorentz +// ************************************************************************** // + +FormFactorCosineRippleLorentz::FormFactorCosineRippleLorentz(const std::vector<double> P) + : ICosineRipple({"CosineRippleLorentz", "class_tooltip", {}}, P) +{ +} + +FormFactorCosineRippleLorentz::FormFactorCosineRippleLorentz(double length, double width, + double height) + : FormFactorCosineRippleLorentz(std::vector<double>{length, width, height}) +{ +} + +FormFactorCosineRippleLorentz* FormFactorCosineRippleLorentz::clone() const +{ + return new FormFactorCosineRippleLorentz(m_length, m_width, m_height); +} + +void FormFactorCosineRippleLorentz::accept(INodeVisitor* visitor) const +{ + visitor->visit(this); +} + +complex_t FormFactorCosineRippleLorentz::factor_x(complex_t qx) const +{ + return ripples::factor_x_Lorentz(qx, m_length); +} diff --git a/Core/HardParticle/FormFactorRipple1.h b/Core/HardParticle/FormFactorCosineRipple.h similarity index 61% rename from Core/HardParticle/FormFactorRipple1.h rename to Core/HardParticle/FormFactorCosineRipple.h index d21b57b148bf2a95bfd857b6d7b54f94ab7aaa48..2bf7ebd90d3af8532846f28f2329bba0005728f2 100644 --- a/Core/HardParticle/FormFactorRipple1.h +++ b/Core/HardParticle/FormFactorCosineRipple.h @@ -2,8 +2,8 @@ // // BornAgain: simulate and fit scattering at grazing incidence // -//! @file Core/HardParticle/FormFactorRipple1.h -//! @brief Defines classes FormFactorRipple1*. +//! @file Core/HardParticle/FormFactorCosineRipple.h +//! @brief Defines classes FormFactorCosineRipple*. //! //! @homepage http://www.bornagainproject.org //! @license GNU General Public License v3 or higher (see COPYING) @@ -19,12 +19,12 @@ //! The form factor for a cosine ripple, with box profile in elongation direction. //! @ingroup legacyGrating -class BA_CORE_API_ FormFactorRipple1Box : public ProfileRipple1 +class BA_CORE_API_ FormFactorCosineRippleBox : public ICosineRipple { public: - FormFactorRipple1Box(const std::vector<double> P); - FormFactorRipple1Box(double length, double width, double height); - FormFactorRipple1Box* clone() const override final; + FormFactorCosineRippleBox(const std::vector<double> P); + FormFactorCosineRippleBox(double length, double width, double height); + FormFactorCosineRippleBox* clone() const override final; void accept(INodeVisitor* visitor) const override final; private: @@ -33,12 +33,12 @@ private: //! The form factor for a cosine ripple, with Gaussian profile in elongation direction. //! @ingroup legacyGrating -class BA_CORE_API_ FormFactorRipple1Gauss : public ProfileRipple1 +class BA_CORE_API_ FormFactorCosineRippleGauss : public ICosineRipple { public: - FormFactorRipple1Gauss(const std::vector<double> P); - FormFactorRipple1Gauss(double length, double width, double height); - FormFactorRipple1Gauss* clone() const override final; + FormFactorCosineRippleGauss(const std::vector<double> P); + FormFactorCosineRippleGauss(double length, double width, double height); + FormFactorCosineRippleGauss* clone() const override final; void accept(INodeVisitor* visitor) const override final; private: @@ -47,12 +47,12 @@ private: //! The form factor for a cosine ripple, with Lorentz form factor in elongation direction. //! @ingroup legacyGrating -class BA_CORE_API_ FormFactorRipple1Lorentz : public ProfileRipple1 +class BA_CORE_API_ FormFactorCosineRippleLorentz : public ICosineRipple { public: - FormFactorRipple1Lorentz(const std::vector<double> P); - FormFactorRipple1Lorentz(double length, double width, double height); - FormFactorRipple1Lorentz* clone() const override final; + FormFactorCosineRippleLorentz(const std::vector<double> P); + FormFactorCosineRippleLorentz(double length, double width, double height); + FormFactorCosineRippleLorentz* clone() const override final; void accept(INodeVisitor* visitor) const override final; private: diff --git a/Core/HardParticle/FormFactorRipple1.cpp b/Core/HardParticle/FormFactorRipple1.cpp deleted file mode 100644 index aa1c749e19e7c947f10dd8e6ba3cf1bdf272380b..0000000000000000000000000000000000000000 --- a/Core/HardParticle/FormFactorRipple1.cpp +++ /dev/null @@ -1,103 +0,0 @@ -// ************************************************************************** // -// -// BornAgain: simulate and fit scattering at grazing incidence -// -//! @file Core/HardParticle/FormFactorRipple1.cpp -//! @brief Implements classes FormFactorRipple1*. -//! -//! @homepage http://www.bornagainproject.org -//! @license GNU General Public License v3 or higher (see COPYING) -//! @copyright Forschungszentrum Jülich GmbH 2018 -//! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS) -// -// ************************************************************************** // - -#include "Core/HardParticle/FormFactorRipple1.h" -#include "Core/HardParticle/Ripples.h" - -// ************************************************************************** // -// class FormFactorRipple1Box -// ************************************************************************** // - -FormFactorRipple1Box::FormFactorRipple1Box(const std::vector<double> P) - : ProfileRipple1({"Ripple1Box", "class_tooltip", {}}, P) -{ -} - -FormFactorRipple1Box::FormFactorRipple1Box(double length, double width, double height) - : FormFactorRipple1Box(std::vector<double>{length, width, height}) -{ -} - -FormFactorRipple1Box* FormFactorRipple1Box::clone() const -{ - return new FormFactorRipple1Box(m_length, m_width, m_height); -} - -void FormFactorRipple1Box::accept(INodeVisitor* visitor) const -{ - visitor->visit(this); -} - -complex_t FormFactorRipple1Box::factor_x(complex_t qx) const -{ - return ripples::factor_x_box(qx, m_length); -} - -// ************************************************************************** // -// class FormFactorRipple1Gauss -// ************************************************************************** // - -FormFactorRipple1Gauss::FormFactorRipple1Gauss(const std::vector<double> P) - : ProfileRipple1({"Ripple1Gauss", "class_tooltip", {}}, P) -{ -} - -FormFactorRipple1Gauss::FormFactorRipple1Gauss(double length, double width, double height) - : FormFactorRipple1Gauss(std::vector<double>{length, width, height}) -{ -} - -FormFactorRipple1Gauss* FormFactorRipple1Gauss::clone() const -{ - return new FormFactorRipple1Gauss(m_length, m_width, m_height); -} - -void FormFactorRipple1Gauss::accept(INodeVisitor* visitor) const -{ - visitor->visit(this); -} - -complex_t FormFactorRipple1Gauss::factor_x(complex_t qx) const -{ - return ripples::factor_x_Gauss(qx, m_length); -} - -// ************************************************************************** // -// class FormFactorRipple1Lorentz -// ************************************************************************** // - -FormFactorRipple1Lorentz::FormFactorRipple1Lorentz(const std::vector<double> P) - : ProfileRipple1({"Ripple1Lorentz", "class_tooltip", {}}, P) -{ -} - -FormFactorRipple1Lorentz::FormFactorRipple1Lorentz(double length, double width, double height) - : FormFactorRipple1Lorentz(std::vector<double>{length, width, height}) -{ -} - -FormFactorRipple1Lorentz* FormFactorRipple1Lorentz::clone() const -{ - return new FormFactorRipple1Lorentz(m_length, m_width, m_height); -} - -void FormFactorRipple1Lorentz::accept(INodeVisitor* visitor) const -{ - visitor->visit(this); -} - -complex_t FormFactorRipple1Lorentz::factor_x(complex_t qx) const -{ - return ripples::factor_x_Lorentz(qx, m_length); -} diff --git a/Core/HardParticle/FormFactorRipple2.cpp b/Core/HardParticle/FormFactorRipple2.cpp deleted file mode 100644 index c1a53a4f3d3847983ec60c64e904f4518d71a08a..0000000000000000000000000000000000000000 --- a/Core/HardParticle/FormFactorRipple2.cpp +++ /dev/null @@ -1,106 +0,0 @@ -// ************************************************************************** // -// -// BornAgain: simulate and fit scattering at grazing incidence -// -//! @file Core/HardParticle/FormFactorRipple2.cpp -//! @brief Implements classes FormFactorRipple2*. -//! -//! @homepage http://www.bornagainproject.org -//! @license GNU General Public License v3 or higher (see COPYING) -//! @copyright Forschungszentrum Jülich GmbH 2018 -//! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS) -// -// ************************************************************************** // - -#include "Core/HardParticle/FormFactorRipple2.h" -#include "Core/HardParticle/Ripples.h" - -// ************************************************************************** // -// class FormFactorRipple2Box -// ************************************************************************** // - -FormFactorRipple2Box::FormFactorRipple2Box(const std::vector<double> P) - : ProfileRipple2({"Ripple2Box", "class_tooltip", {}}, P) -{ -} - -FormFactorRipple2Box::FormFactorRipple2Box(double length, double width, double height, - double asymmetry) - : FormFactorRipple2Box(std::vector<double>{length, width, height, asymmetry}) -{ -} - -FormFactorRipple2Box* FormFactorRipple2Box::clone() const -{ - return new FormFactorRipple2Box(m_length, m_width, m_height, m_asymmetry); -} - -void FormFactorRipple2Box::accept(INodeVisitor* visitor) const -{ - visitor->visit(this); -} - -complex_t FormFactorRipple2Box::factor_x(complex_t qx) const -{ - return ripples::factor_x_box(qx, m_length); -} - -// ************************************************************************** // -// class FormFactorRipple2Gauss -// ************************************************************************** // - -FormFactorRipple2Gauss::FormFactorRipple2Gauss(const std::vector<double> P) - : ProfileRipple2({"Ripple2Gauss", "class_tooltip", {}}, P) -{ -} - -FormFactorRipple2Gauss::FormFactorRipple2Gauss(double length, double width, double height, - double asymmetry) - : FormFactorRipple2Gauss(std::vector<double>{length, width, height, asymmetry}) -{ -} - -FormFactorRipple2Gauss* FormFactorRipple2Gauss::clone() const -{ - return new FormFactorRipple2Gauss(m_length, m_width, m_height, m_asymmetry); -} - -void FormFactorRipple2Gauss::accept(INodeVisitor* visitor) const -{ - visitor->visit(this); -} - -complex_t FormFactorRipple2Gauss::factor_x(complex_t qx) const -{ - return ripples::factor_x_Gauss(qx, m_length); -} - -// ************************************************************************** // -// class FormFactorRipple2Lorentz -// ************************************************************************** // - -FormFactorRipple2Lorentz::FormFactorRipple2Lorentz(const std::vector<double> P) - : ProfileRipple2({"Ripple2Lorentz", "class_tooltip", {}}, P) -{ -} - -FormFactorRipple2Lorentz::FormFactorRipple2Lorentz(double length, double width, double height, - double asymmetry) - : FormFactorRipple2Lorentz(std::vector<double>{length, width, height, asymmetry}) -{ -} - -FormFactorRipple2Lorentz* FormFactorRipple2Lorentz::clone() const -{ - return new FormFactorRipple2Lorentz(m_length, m_width, m_height, m_asymmetry); -} - -void FormFactorRipple2Lorentz::accept(INodeVisitor* visitor) const -{ - visitor->visit(this); -} - -complex_t FormFactorRipple2Lorentz::factor_x(complex_t qx) const -{ - return ripples::factor_x_Lorentz(qx, m_length); -} diff --git a/Core/HardParticle/FormFactorSawtoothRipple.cpp b/Core/HardParticle/FormFactorSawtoothRipple.cpp new file mode 100644 index 0000000000000000000000000000000000000000..665b7bc404ecd9238ad856bc3b07e692005cd8e7 --- /dev/null +++ b/Core/HardParticle/FormFactorSawtoothRipple.cpp @@ -0,0 +1,106 @@ +// ************************************************************************** // +// +// BornAgain: simulate and fit scattering at grazing incidence +// +//! @file Core/HardParticle/FormFactorSawtoothRipple.cpp +//! @brief Implements classes FormFactorSawtoothRipple*. +//! +//! @homepage http://www.bornagainproject.org +//! @license GNU General Public License v3 or higher (see COPYING) +//! @copyright Forschungszentrum Jülich GmbH 2018 +//! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS) +// +// ************************************************************************** // + +#include "Core/HardParticle/FormFactorSawtoothRipple.h" +#include "Core/HardParticle/Ripples.h" + +// ************************************************************************** // +// class FormFactorSawtoothRippleBox +// ************************************************************************** // + +FormFactorSawtoothRippleBox::FormFactorSawtoothRippleBox(const std::vector<double> P) + : ISawtoothRipple({"SawtoothRippleBox", "class_tooltip", {}}, P) +{ +} + +FormFactorSawtoothRippleBox::FormFactorSawtoothRippleBox(double length, double width, double height, + double asymmetry) + : FormFactorSawtoothRippleBox(std::vector<double>{length, width, height, asymmetry}) +{ +} + +FormFactorSawtoothRippleBox* FormFactorSawtoothRippleBox::clone() const +{ + return new FormFactorSawtoothRippleBox(m_length, m_width, m_height, m_asymmetry); +} + +void FormFactorSawtoothRippleBox::accept(INodeVisitor* visitor) const +{ + visitor->visit(this); +} + +complex_t FormFactorSawtoothRippleBox::factor_x(complex_t qx) const +{ + return ripples::factor_x_box(qx, m_length); +} + +// ************************************************************************** // +// class FormFactorSawtoothRippleGauss +// ************************************************************************** // + +FormFactorSawtoothRippleGauss::FormFactorSawtoothRippleGauss(const std::vector<double> P) + : ISawtoothRipple({"SawtoothRippleGauss", "class_tooltip", {}}, P) +{ +} + +FormFactorSawtoothRippleGauss::FormFactorSawtoothRippleGauss(double length, double width, + double height, double asymmetry) + : FormFactorSawtoothRippleGauss(std::vector<double>{length, width, height, asymmetry}) +{ +} + +FormFactorSawtoothRippleGauss* FormFactorSawtoothRippleGauss::clone() const +{ + return new FormFactorSawtoothRippleGauss(m_length, m_width, m_height, m_asymmetry); +} + +void FormFactorSawtoothRippleGauss::accept(INodeVisitor* visitor) const +{ + visitor->visit(this); +} + +complex_t FormFactorSawtoothRippleGauss::factor_x(complex_t qx) const +{ + return ripples::factor_x_Gauss(qx, m_length); +} + +// ************************************************************************** // +// class FormFactorSawtoothRippleLorentz +// ************************************************************************** // + +FormFactorSawtoothRippleLorentz::FormFactorSawtoothRippleLorentz(const std::vector<double> P) + : ISawtoothRipple({"SawtoothRippleLorentz", "class_tooltip", {}}, P) +{ +} + +FormFactorSawtoothRippleLorentz::FormFactorSawtoothRippleLorentz(double length, double width, + double height, double asymmetry) + : FormFactorSawtoothRippleLorentz(std::vector<double>{length, width, height, asymmetry}) +{ +} + +FormFactorSawtoothRippleLorentz* FormFactorSawtoothRippleLorentz::clone() const +{ + return new FormFactorSawtoothRippleLorentz(m_length, m_width, m_height, m_asymmetry); +} + +void FormFactorSawtoothRippleLorentz::accept(INodeVisitor* visitor) const +{ + visitor->visit(this); +} + +complex_t FormFactorSawtoothRippleLorentz::factor_x(complex_t qx) const +{ + return ripples::factor_x_Lorentz(qx, m_length); +} diff --git a/Core/HardParticle/FormFactorRipple2.h b/Core/HardParticle/FormFactorSawtoothRipple.h similarity index 59% rename from Core/HardParticle/FormFactorRipple2.h rename to Core/HardParticle/FormFactorSawtoothRipple.h index a788f27309702dbb273249cf62e9a5bdcc12e278..d335a40670f55b9cc6d613b33dfe9b3ecc81940a 100644 --- a/Core/HardParticle/FormFactorRipple2.h +++ b/Core/HardParticle/FormFactorSawtoothRipple.h @@ -2,8 +2,8 @@ // // BornAgain: simulate and fit scattering at grazing incidence // -//! @file Core/HardParticle/FormFactorRipple2.h -//! @brief Defines classes FormFactorRipple2*. +//! @file Core/HardParticle/FormFactorSawtoothRipple.h +//! @brief Defines classes FormFactorSawtoothRipple*. //! //! @homepage http://www.bornagainproject.org //! @license GNU General Public License v3 or higher (see COPYING) @@ -19,12 +19,12 @@ //! The form factor for a cosine ripple, with box profile in elongation direction. //! @ingroup legacyGrating -class BA_CORE_API_ FormFactorRipple2Box : public ProfileRipple2 +class BA_CORE_API_ FormFactorSawtoothRippleBox : public ISawtoothRipple { public: - FormFactorRipple2Box(const std::vector<double> P); - FormFactorRipple2Box(double length, double width, double height, double asymmetry); - FormFactorRipple2Box* clone() const override final; + FormFactorSawtoothRippleBox(const std::vector<double> P); + FormFactorSawtoothRippleBox(double length, double width, double height, double asymmetry); + FormFactorSawtoothRippleBox* clone() const override final; void accept(INodeVisitor* visitor) const override final; private: @@ -33,12 +33,12 @@ private: //! The form factor for a cosine ripple, with Gaussian profile in elongation direction. //! @ingroup legacyGrating -class BA_CORE_API_ FormFactorRipple2Gauss : public ProfileRipple2 +class BA_CORE_API_ FormFactorSawtoothRippleGauss : public ISawtoothRipple { public: - FormFactorRipple2Gauss(const std::vector<double> P); - FormFactorRipple2Gauss(double length, double width, double height, double asymmetry); - FormFactorRipple2Gauss* clone() const override final; + FormFactorSawtoothRippleGauss(const std::vector<double> P); + FormFactorSawtoothRippleGauss(double length, double width, double height, double asymmetry); + FormFactorSawtoothRippleGauss* clone() const override final; void accept(INodeVisitor* visitor) const override final; private: @@ -47,12 +47,12 @@ private: //! The form factor for a cosine ripple, with Lorentz form factor in elongation direction. //! @ingroup legacyGrating -class BA_CORE_API_ FormFactorRipple2Lorentz : public ProfileRipple2 +class BA_CORE_API_ FormFactorSawtoothRippleLorentz : public ISawtoothRipple { public: - FormFactorRipple2Lorentz(const std::vector<double> P); - FormFactorRipple2Lorentz(double length, double width, double height, double asymmetry); - FormFactorRipple2Lorentz* clone() const override final; + FormFactorSawtoothRippleLorentz(const std::vector<double> P); + FormFactorSawtoothRippleLorentz(double length, double width, double height, double asymmetry); + FormFactorSawtoothRippleLorentz* clone() const override final; void accept(INodeVisitor* visitor) const override final; private: diff --git a/Core/HardParticle/IProfileRipple.cpp b/Core/HardParticle/IProfileRipple.cpp index 7879c9a70171d418b47933a0ef09a53f46e99e6c..96dfbba27ded91fd1c8911c6cfe0c45cc16c9550 100644 --- a/Core/HardParticle/IProfileRipple.cpp +++ b/Core/HardParticle/IProfileRipple.cpp @@ -3,7 +3,7 @@ // BornAgain: simulate and fit scattering at grazing incidence // //! @file Core/HardParticle/IProfileRipple.cpp -//! @brief Implements class ProfileRipple2. +//! @brief Implements class ISawtoothRipple. //! //! @homepage http://www.bornagainproject.org //! @license GNU General Public License v3 or higher (see COPYING) @@ -43,53 +43,53 @@ complex_t IProfileRipple::evaluate_for_q(cvector_t q) const } // ************************************************************************** // -// interface ProfileRectangularRipple +// interface IProfileRectangularRipple // ************************************************************************** // -ProfileRectangularRipple::ProfileRectangularRipple(const NodeMeta& meta, - const std::vector<double>& PValues) +IProfileRectangularRipple::IProfileRectangularRipple(const NodeMeta& meta, + const std::vector<double>& PValues) : IProfileRipple(meta, PValues) { onChange(); } //! Complex form factor. -complex_t ProfileRectangularRipple::factor_yz(complex_t qy, complex_t qz) const +complex_t IProfileRectangularRipple::factor_yz(complex_t qy, complex_t qz) const { return ripples::profile_yz_bar(qy, qz, m_width, m_height); } -void ProfileRectangularRipple::onChange() +void IProfileRectangularRipple::onChange() { mP_shape.reset(new Box(m_length, m_width, m_height)); } // ************************************************************************** // -// interface ProfileRipple1 +// interface ICosineRipple // ************************************************************************** // -ProfileRipple1::ProfileRipple1(const NodeMeta& meta, const std::vector<double>& PValues) +ICosineRipple::ICosineRipple(const NodeMeta& meta, const std::vector<double>& PValues) : IProfileRipple(meta, PValues) { onChange(); } //! Complex form factor. -complex_t ProfileRipple1::factor_yz(complex_t qy, complex_t qz) const +complex_t ICosineRipple::factor_yz(complex_t qy, complex_t qz) const { return ripples::profile_yz_cosine(qy, qz, m_width, m_height); } -void ProfileRipple1::onChange() +void ICosineRipple::onChange() { mP_shape.reset(new RippleCosine(m_length, m_width, m_height)); } // ************************************************************************** // -// interface ProfileRipple2 +// interface ISawtoothRipple // ************************************************************************** // -ProfileRipple2::ProfileRipple2(const NodeMeta& meta, const std::vector<double>& PValues) +ISawtoothRipple::ISawtoothRipple(const NodeMeta& meta, const std::vector<double>& PValues) : IProfileRipple( nodeMetaUnion({{"AsymmetryLength", "nm", "Asymmetry of width", -INF, INF, 0.}}, meta), PValues), @@ -99,12 +99,12 @@ ProfileRipple2::ProfileRipple2(const NodeMeta& meta, const std::vector<double>& } //! Complex form factor. -complex_t ProfileRipple2::factor_yz(complex_t qy, complex_t qz) const +complex_t ISawtoothRipple::factor_yz(complex_t qy, complex_t qz) const { return ripples::profile_yz_triangular(qy, qz, m_width, m_height, m_asymmetry); } -void ProfileRipple2::onChange() +void ISawtoothRipple::onChange() { mP_shape.reset(new RippleSawtooth(m_length, m_width, m_height, m_asymmetry)); } diff --git a/Core/HardParticle/IProfileRipple.h b/Core/HardParticle/IProfileRipple.h index bc68192b59255541041079927ebf4202cc9060d2..03060794493f01604d5f8514525986c2e492ba90 100644 --- a/Core/HardParticle/IProfileRipple.h +++ b/Core/HardParticle/IProfileRipple.h @@ -3,7 +3,7 @@ // BornAgain: simulate and fit scattering at grazing incidence // //! @file Core/HardParticle/IProfileRipple.h -//! @brief Defines interface classes IProfileRipple, ProfileRipple1, ProfileRipple2. +//! @brief Defines interface classes IProfileRipple, ICosineRipple, ISawtoothRipple. //! //! @homepage http://www.bornagainproject.org //! @license GNU General Public License v3 or higher (see COPYING) @@ -44,10 +44,10 @@ protected: //! Base class for form factors with a rectangular ripple (bar) profile in the yz plane. -class BA_CORE_API_ ProfileRectangularRipple : public IProfileRipple +class BA_CORE_API_ IProfileRectangularRipple : public IProfileRipple { public: - ProfileRectangularRipple(const NodeMeta& meta, const std::vector<double>& PValues); + IProfileRectangularRipple(const NodeMeta& meta, const std::vector<double>& PValues); private: virtual void onChange() override final; @@ -56,10 +56,10 @@ private: //! Base class for form factors with a cosine ripple profile in the yz plane. -class BA_CORE_API_ ProfileRipple1 : public IProfileRipple +class BA_CORE_API_ ICosineRipple : public IProfileRipple { public: - ProfileRipple1(const NodeMeta& meta, const std::vector<double>& PValues); + ICosineRipple(const NodeMeta& meta, const std::vector<double>& PValues); private: virtual void onChange() override final; @@ -68,10 +68,10 @@ private: //! Base class for form factors with a triangular ripple profile in the yz plane. -class BA_CORE_API_ ProfileRipple2 : public IProfileRipple +class BA_CORE_API_ ISawtoothRipple : public IProfileRipple { public: - ProfileRipple2(const NodeMeta& meta, const std::vector<double>& PValues); + ISawtoothRipple(const NodeMeta& meta, const std::vector<double>& PValues); double getAsymmetry() const { return m_asymmetry; } diff --git a/Core/Parametrization/INodeVisitor.h b/Core/Parametrization/INodeVisitor.h index ba328b34206ffa043052ddda09a2b121ca98be0b..c91abd7dc01f0f35d19afaf27ece5ae564682b13 100644 --- a/Core/Parametrization/INodeVisitor.h +++ b/Core/Parametrization/INodeVisitor.h @@ -60,12 +60,12 @@ class FormFactorLongBoxLorentz; class FormFactorPrism3; class FormFactorPrism6; class FormFactorPyramid; -class FormFactorRipple1Box; -class FormFactorRipple1Gauss; -class FormFactorRipple1Lorentz; -class FormFactorRipple2Box; -class FormFactorRipple2Gauss; -class FormFactorRipple2Lorentz; +class FormFactorCosineRippleBox; +class FormFactorCosineRippleGauss; +class FormFactorCosineRippleLorentz; +class FormFactorSawtoothRippleBox; +class FormFactorSawtoothRippleGauss; +class FormFactorSawtoothRippleLorentz; class FormFactorSphereGaussianRadius; class FormFactorSphereLogNormalRadius; class FormFactorTetrahedron; @@ -196,12 +196,12 @@ public: virtual void visit(const FormFactorPrism3*) {} virtual void visit(const FormFactorPrism6*) {} virtual void visit(const FormFactorPyramid*) {} - virtual void visit(const FormFactorRipple1Box*) {} - virtual void visit(const FormFactorRipple1Gauss*) {} - virtual void visit(const FormFactorRipple1Lorentz*) {} - virtual void visit(const FormFactorRipple2Box*) {} - virtual void visit(const FormFactorRipple2Gauss*) {} - virtual void visit(const FormFactorRipple2Lorentz*) {} + virtual void visit(const FormFactorCosineRippleBox*) {} + virtual void visit(const FormFactorCosineRippleGauss*) {} + virtual void visit(const FormFactorCosineRippleLorentz*) {} + virtual void visit(const FormFactorSawtoothRippleBox*) {} + virtual void visit(const FormFactorSawtoothRippleGauss*) {} + virtual void visit(const FormFactorSawtoothRippleLorentz*) {} virtual void visit(const FormFactorSphereGaussianRadius*) {} virtual void visit(const FormFactorSphereLogNormalRadius*) {} virtual void visit(const FormFactorTetrahedron*) {} diff --git a/Core/StandardSamples/RipplesBuilder.cpp b/Core/StandardSamples/RipplesBuilder.cpp index 3abae826112e3e230e3bef1595bf939d82c4eef2..993b0ab6cfe7c5afa1c2184d4c65cb9a2b108609 100644 --- a/Core/StandardSamples/RipplesBuilder.cpp +++ b/Core/StandardSamples/RipplesBuilder.cpp @@ -16,8 +16,8 @@ #include "Core/Aggregate/InterferenceFunctionRadialParaCrystal.h" #include "Core/Aggregate/ParticleLayout.h" #include "Core/Basics/Units.h" -#include "Core/HardParticle/FormFactorRipple1.h" -#include "Core/HardParticle/FormFactorRipple2.h" +#include "Core/HardParticle/FormFactorCosineRipple.h" +#include "Core/HardParticle/FormFactorSawtoothRipple.h" #include "Core/Material/MaterialFactoryFuncs.h" #include "Core/Multilayer/Layer.h" #include "Core/Multilayer/MultiLayer.h" @@ -35,7 +35,7 @@ MultiLayer* CosineRippleBuilder::buildSample() const Material particle_material = HomogeneousMaterial("Particle", 6e-4, 2e-8); Layer air_layer(air_material); - FormFactorRipple1Box ff_ripple1(100.0, 20.0, 4.0); + FormFactorCosineRippleBox ff_ripple1(100.0, 20.0, 4.0); Particle ripple(particle_material, ff_ripple1); ParticleLayout particle_layout; @@ -71,7 +71,7 @@ MultiLayer* TriangularRippleBuilder::buildSample() const Material particle_material = HomogeneousMaterial("Particle", 6e-4, 2e-8); Layer air_layer(air_material); - FormFactorRipple2Box ff_ripple2(100.0, 20.0, 4.0, m_d); + FormFactorSawtoothRippleBox ff_ripple2(100.0, 20.0, 4.0, m_d); Particle ripple(particle_material, ff_ripple2); ParticleLayout particle_layout; diff --git a/Core/StandardSamples/SampleComponents.cpp b/Core/StandardSamples/SampleComponents.cpp index b2ce04d932f340e064f96ef12304743e5d96e568..00bd3fec7b28caa8f702c2897513173fb45468c9 100644 --- a/Core/StandardSamples/SampleComponents.cpp +++ b/Core/StandardSamples/SampleComponents.cpp @@ -66,9 +66,9 @@ FormFactorComponents::FormFactorComponents() add("Pyramid", new FormFactorPyramid(10.0, 5.0, Units::deg2rad(54.73))); - add("Ripple1Box", new FormFactorRipple1Box(100.0, 20.0, 4.0)); + add("CosineRippleBox", new FormFactorCosineRippleBox(100.0, 20.0, 4.0)); - add("Ripple2Box", new FormFactorRipple2Box(100.0, 20.0, 4.0, 0.0)); + add("SawtoothRippleBox", new FormFactorSawtoothRippleBox(100.0, 20.0, 4.0, 0.0)); add("Tetrahedron", new FormFactorTetrahedron(10.0, 4.0, Units::deg2rad(54.73))); diff --git a/Core/includeIncludes/HardParticles.h b/Core/includeIncludes/HardParticles.h index 8d69e08b5950b51926ed7dc61a895a080f503f36..5b25fa17641a40880aa10b74a46f364f7eacb11b 100644 --- a/Core/includeIncludes/HardParticles.h +++ b/Core/includeIncludes/HardParticles.h @@ -21,6 +21,7 @@ #include "Core/HardParticle/FormFactorCantellatedCube.h" #include "Core/HardParticle/FormFactorCone.h" #include "Core/HardParticle/FormFactorCone6.h" +#include "Core/HardParticle/FormFactorCosineRipple.h" #include "Core/HardParticle/FormFactorCuboctahedron.h" #include "Core/HardParticle/FormFactorCylinder.h" #include "Core/HardParticle/FormFactorDodecahedron.h" @@ -36,8 +37,7 @@ #include "Core/HardParticle/FormFactorPrism3.h" #include "Core/HardParticle/FormFactorPrism6.h" #include "Core/HardParticle/FormFactorPyramid.h" -#include "Core/HardParticle/FormFactorRipple1.h" -#include "Core/HardParticle/FormFactorRipple2.h" +#include "Core/HardParticle/FormFactorSawtoothRipple.h" #include "Core/HardParticle/FormFactorTetrahedron.h" #include "Core/HardParticle/FormFactorTruncatedCube.h" #include "Core/HardParticle/FormFactorTruncatedSphere.h" diff --git a/Doc/FFCatalog/FormFactors.tex b/Doc/FFCatalog/FormFactors.tex index a4902e19d3eb2ad120b86b91bc2eabfec4162e55..3ae55fef598e9ec606e493c74b7e67cf6d566ee5 100644 --- a/Doc/FFCatalog/FormFactors.tex +++ b/Doc/FFCatalog/FormFactors.tex @@ -1985,7 +1985,7 @@ For the foreseeable future, this is not in the scope of BornAgain. We choose ripples to be elongated in $x$ direction. Different profiles in the $yz$ plane can be chosen: -box, sinusoidal [\ffref{Ripple1}], saw-tooth [\ffref{Ripple2}]. +bar, cosine, sawtooth. For each of them, different profiles can also be chosen in the $xz$ plane, each of them characterized by a single parameter \texttt{length},~$L$. @@ -2022,8 +2022,8 @@ the \texttt{Lorentz} form factor is the Fourier transform of an exponential in~$|x|$. \paragraph{History}\strut\\ -The \texttt{Box} variant of \E{Ripple1} and \E{Ripple2} replicates -two form factors from \FitGISAXS\ \cite{Bab13}. +\E{CosineRippleBox} and \E{SawtoothRippleBox} replicate +Ripple1 and Ripple2 from \FitGISAXS\ \cite{Bab13}. Full documentation and API support for all ripple form factors appeared in BornAgain-1.17. Before that release, the \texttt{Lorentz} factor~$f_\parallel$ @@ -2084,34 +2084,33 @@ with $f_\parallel$ as defined in~\cref{EFparallel}, \end{equation*} %=============================================================================== -\ffsection{Ripple1 (sinusoidal)} \label{SRipple1} +\ffsection{CosineRipple} \label{SRipple1} %=============================================================================== -\index{Ripple!sinusoidal} -\index{Sinusoidal ripple} -\index{FormFactorRipple1Box@\Code{FormFactorRipple1Box}} -\index{FormFactorRipple1Gauss@\Code{FormFactorRipple1Gauss}} -\index{FormFactorRipple1Lorentz@\Code{FormFactorRipple1Lorentz}} +\index{Ripple!cosine} +\index{FormFactorCosineRippleBox@\Code{FormFactorCosineRippleBox}} +\index{FormFactorCosineRippleGauss@\Code{FormFactorCosineRippleGauss}} +\index{FormFactorCosineRippleLorentz@\Code{FormFactorCosineRippleLorentz}} \paragraph{Real-space geometry}\strut\\ \begin{figure}[H] \hfill -\subfigure[Perspective]{\includefinal{.24\TW}{fig/blue/Ripple13d.png}} +\subfigure[Perspective]{\includefinal{.24\TW}{fig/blue/CosineRipple3d.png}} \hfill -\subfigure[Top view]{\includefinal{.3\TW}{fig/cuts/Ripple12dxy.pdf}} +\subfigure[Top view]{\includefinal{.3\TW}{fig/cuts/CosineRipple2dxy.pdf}} \hfill -\subfigure[Side view]{\includefinal{.3\TW}{fig/cuts/Ripple12dyz.pdf}} +\subfigure[Side view]{\includefinal{.3\TW}{fig/cuts/CosineRipple2dyz.pdf}} \hfill \caption{A ripple with a sinusoidal profile.} \end{figure} \paragraph{Syntax and parameters}\strut\\[-2ex plus .2ex minus .2ex] \begin{lstlisting} - FormFactorRipple1Box( + FormFactorCosineRippleBox( double length, double width, double height) - FormFactorRipple1Gauss( + FormFactorCosineRippleGauss( double length, double width, double height) - FormFactorRipple1Lorentz( + FormFactorCosineRippleLorentz( double length, double width, double height) \end{lstlisting} with the parameters @@ -2151,7 +2150,7 @@ $u=\text{arccos}( 2z/H-1)$. \begin{figure}[H] \begin{center} -\includefinal{1\TW}{fig/ff2/ff_Ripple1.pdf} +\includefinal{1\TW}{fig/ff2/ff_CosineRipple.pdf} \end{center} \caption{Normalized intensity $|F|^2/V^2$, computed with $L=25$~nm, $W=10$~nm and $H=8$~nm, @@ -2159,26 +2158,27 @@ for four different angles~$\omega$ of rotation around the $z$ axis.} \end{figure} \paragraph{History}\strut\\ -Agrees with the \E{Ripple1} form factor of \FitGISAXS\ \cite{Bab13}. +Renamed from Ripple1 in BornAgain 1.18. +\E{CosineRippleBox} agrees with Ripple1 of \FitGISAXS\ \cite{Bab13}. %=============================================================================== -\ffsection{Ripple2 (saw-tooth)} \label{SRipple2} +\ffsection{SawtoothRipple} \label{SSawtoothRipple} %=============================================================================== -\index{Ripple!saw-tooth} -\index{Saw-tooth ripple} -\index{FormFactorRipple2@\Code{FormFactorRipple2Box}} -\index{FormFactorRipple2Gauss@\Code{FormFactorRipple2Gauss}} -\index{FormFactorRipple2Lorentz@\Code{FormFactorRipple2Lorentz}} +\index{Ripple!sawtooth} +\index{Sawtooth ripple} +\index{FormFactorSawtoothRipple@\Code{FormFactorSawtoothRippleBox}} +\index{FormFactorSawtoothRippleGauss@\Code{FormFactorSawtoothRippleGauss}} +\index{FormFactorSawtoothRippleLorentz@\Code{FormFactorSawtoothRippleLorentz}} \paragraph{Real-space geometry}\strut\\ \begin{figure}[H] \hfill -\subfigure[Perspective]{\includefinal{.24\TW}{fig/blue/Ripple23d.png}} +\subfigure[Perspective]{\includefinal{.24\TW}{fig/blue/SawtoothRipple3d.png}} \hfill -\subfigure[Top view]{\includefinal{.3\TW}{fig/cuts/Ripple22dxy.pdf}} +\subfigure[Top view]{\includefinal{.3\TW}{fig/cuts/SawtoothRipple2dxy.pdf}} \hfill -\subfigure[Side view]{\includefinal{.3\TW}{fig/cuts/Ripple22dyz.pdf}} +\subfigure[Side view]{\includefinal{.3\TW}{fig/cuts/SawtoothRipple2dyz.pdf}} \hfill \caption{A ripple with an asymmetric saw-tooth profile.} \end{figure} @@ -2187,11 +2187,11 @@ Agrees with the \E{Ripple1} form factor of \FitGISAXS\ \cite{Bab13}. \paragraph{Syntax and parameters}\strut\\[-2ex plus .2ex minus .2ex] \begin{lstlisting} - FormFactorRipple2Box( + FormFactorSawtoothRippleBox( double length, double width, double height, asymmetry) - FormFactorRipple2Gauss( + FormFactorSawtoothRippleGauss( double length, double width, double height, asymmetry) - FormFactorRipple2Lorentz( + FormFactorSawtoothRippleLorentz( double length, double width, double height, asymmetry) \end{lstlisting} with the parameters @@ -2231,7 +2231,7 @@ with $f_\parallel$ defined in~\cref{EFparallel}. \begin{figure}[H] \begin{center} -\includefinal{1\TW}{fig/ff2/ff_Ripple2.pdf} +\includefinal{1\TW}{fig/ff2/ff_SawtoothRipple.pdf} \end{center} \caption{Normalized intensity $|F|^2/V^2$, computed with $L=25$~nm, $W=10$~nm, $H=8$~nm, and $d=5$~nm, @@ -2240,7 +2240,8 @@ The low symmetry requires other angular ranges than used in most other figures.} \end{figure} \paragraph{History}\strut\\ -Agrees with the \E{Ripple2} form factor of \FitGISAXS\ \cite{Bab13}. +Renamed from Ripple2 in BornAgain 1.18. +\E{SawtoothRippleBox} agrees with Ripple2 of \FitGISAXS\ \cite{Bab13}. \index{Ripple|)} diff --git a/Doc/FFCatalog/fig/ff2/ff_Ripple1.pdf b/Doc/FFCatalog/fig/ff2/ff_CosineRipple.pdf similarity index 100% rename from Doc/FFCatalog/fig/ff2/ff_Ripple1.pdf rename to Doc/FFCatalog/fig/ff2/ff_CosineRipple.pdf diff --git a/Doc/FFCatalog/fig/ff2/ff_Ripple2.pdf b/Doc/FFCatalog/fig/ff2/ff_SawtoothRipple.pdf similarity index 100% rename from Doc/FFCatalog/fig/ff2/ff_Ripple2.pdf rename to Doc/FFCatalog/fig/ff2/ff_SawtoothRipple.pdf diff --git a/Doc/FFCatalog/fig/ff2/sim_Ripple1.py b/Doc/FFCatalog/fig/ff2/sim_CosineRipple.py similarity index 75% rename from Doc/FFCatalog/fig/ff2/sim_Ripple1.py rename to Doc/FFCatalog/fig/ff2/sim_CosineRipple.py index 1d5c67e79f1a5652e0209f951bbde812adbc936b..885213f9d095ca09386424c553f71eb52237512f 100644 --- a/Doc/FFCatalog/fig/ff2/sim_Ripple1.py +++ b/Doc/FFCatalog/fig/ff2/sim_CosineRipple.py @@ -11,9 +11,9 @@ results = [] for i in range(n): omega=90*i/(n-1) title = r'$\omega=%d^\circ$' % omega - ff = ba.FormFactorRipple1(25*nanometer, 10*nanometer, 8*nanometer ) + ff = ba.FormFactorCosineRipple(25*nanometer, 10*nanometer, 8*nanometer ) trafo = ba.RotationZ(omega*degree) data = bp.run_simulation(det,ff,trafo) results.append( bp.Result(i, data, title) ) -bp.make_plot( results, det, "ff_Ripple1" ) +bp.make_plot( results, det, "ff_CosineRipple" ) diff --git a/Doc/FFCatalog/fig/ff2/sim_Ripple2.py b/Doc/FFCatalog/fig/ff2/sim_SawtoothRipple.py similarity index 72% rename from Doc/FFCatalog/fig/ff2/sim_Ripple2.py rename to Doc/FFCatalog/fig/ff2/sim_SawtoothRipple.py index e387cbb70ee264aa1e994e0435f21664ec965b2a..c255993694b34b30488afef40c609622275ba043 100644 --- a/Doc/FFCatalog/fig/ff2/sim_Ripple2.py +++ b/Doc/FFCatalog/fig/ff2/sim_SawtoothRipple.py @@ -11,9 +11,9 @@ results = [] for i in range(n): omega=90*i/(n-1) title = r'$\omega=%d^\circ$' % omega - ff = ba.FormFactorRipple2Box(25*nanometer, 10*nanometer, 8*nanometer, 5*nanometer ) + ff = ba.FormFactorSawtoothRippleBox(25*nanometer, 10*nanometer, 8*nanometer, 5*nanometer ) trafo = ba.RotationZ(omega*degree) data = bp.run_simulation(det,ff,trafo) results.append( bp.Result(i, data, title) ) -bp.make_plot( results, det, "ff_Ripple2" ) +bp.make_plot( results, det, "ff_SawtoothRipple" ) diff --git a/Examples/python/simulation/ex01_BasicParticles/AllFormFactorsAvailable.py b/Examples/python/simulation/ex01_BasicParticles/AllFormFactorsAvailable.py index a3d2f8b17158d3c73a9aed05aa911a4ad7c188db..d54c5bd692e5613ff721a73cb3933b6cfa998209 100644 --- a/Examples/python/simulation/ex01_BasicParticles/AllFormFactorsAvailable.py +++ b/Examples/python/simulation/ex01_BasicParticles/AllFormFactorsAvailable.py @@ -27,8 +27,8 @@ formfactors = [ ba.FormFactorPrism3(10.0, 13.0), ba.FormFactorPrism6(5.0, 11.0), ba.FormFactorPyramid(18.0, 13.0, 60.0*deg), - ba.FormFactorRipple1Box(27.0, 20.0, 14.0), - ba.FormFactorRipple2Box(36.0, 25.0, 14.0, 3.0), + ba.FormFactorCosineRippleBox(27.0, 20.0, 14.0), + ba.FormFactorSawtoothRippleBox(36.0, 25.0, 14.0, 3.0), ba.FormFactorTetrahedron(15.0, 6.0, 60.0*deg), ba.FormFactorTruncatedCube(15.0, 6.0), ba.FormFactorTruncatedSphere(5.0, 7.0, 0), diff --git a/Examples/python/simulation/ex03_InterferenceFunctions/CosineRipplesAtRectLattice.py b/Examples/python/simulation/ex03_InterferenceFunctions/CosineRipplesAtRectLattice.py index 0c3e2a7ac37d6cf2bf74231df3086a9a40264cae..ff05c1ca28831215e91e7e0d4211a40adc75bab3 100644 --- a/Examples/python/simulation/ex03_InterferenceFunctions/CosineRipplesAtRectLattice.py +++ b/Examples/python/simulation/ex03_InterferenceFunctions/CosineRipplesAtRectLattice.py @@ -17,7 +17,7 @@ def get_sample(): m_particle = ba.HomogeneousMaterial("Particle", 6e-4, 2e-8) # collection of particles - ff = ba.FormFactorRipple1Box(100*nm, 20*nm, 4*nm) + ff = ba.FormFactorCosineRippleBox(100*nm, 20*nm, 4*nm) particle = ba.Particle(m_particle, ff) particle_layout = ba.ParticleLayout() diff --git a/Examples/python/simulation/ex03_InterferenceFunctions/TriangularRipple.py b/Examples/python/simulation/ex03_InterferenceFunctions/TriangularRipple.py index 8622e0f227f233fcf57b8e344f41a5fb7fec70a3..9bb91dc7bb10a3c48b42d109694372c19442f9c7 100644 --- a/Examples/python/simulation/ex03_InterferenceFunctions/TriangularRipple.py +++ b/Examples/python/simulation/ex03_InterferenceFunctions/TriangularRipple.py @@ -17,7 +17,7 @@ def get_sample(): m_particle = ba.HomogeneousMaterial("Particle", 6e-4, 2e-8) # collection of particles - ripple2_ff = ba.FormFactorRipple2Box( + ripple2_ff = ba.FormFactorSawtoothRippleBox( 100*nm, 20*nm, 4*nm, -3.0*nm) ripple = ba.Particle(m_particle, ripple2_ff) diff --git a/GUI/ba3d/model/geometry/ripple.cpp b/GUI/ba3d/model/geometry/ripple.cpp index a56164ac3a0a3198ddcdec154730e765109e8442..558e7d5872fe732a61ac515d015f633f92dabab9 100644 --- a/GUI/ba3d/model/geometry/ripple.cpp +++ b/GUI/ba3d/model/geometry/ripple.cpp @@ -28,12 +28,12 @@ Geometry::Mesh Geometry::meshRipple(float numSides, float ratio_asymmetry_W) // Values are chosen such that length, width and height are 1 float const R = .5f; float const H = 2 * R; // L = W = H = 2*R - float const asymmetry = ratio_asymmetry_W * 2 * R; // for Ripple1 asymmetry is inherently 0 + float const asymmetry = ratio_asymmetry_W * 2 * R; // for CosineRipple asymmetry is inherently 0 Vertices vfront(slices), vback(slices); if (numSides == 3) { - // Ripple2: saw-tooth (3 rectangular sides and 2 triangular front and back) + // SawtoothRipple: saw-tooth (3 rectangular sides and 2 triangular front and back) vfront[0] = Vector3D(-R, -R, 0); vfront[1] = Vector3D(-R, asymmetry, H); vfront[2] = Vector3D(-R, R, 0); @@ -42,7 +42,7 @@ Geometry::Mesh Geometry::meshRipple(float numSides, float ratio_asymmetry_W) vback[1] = Vector3D(R, asymmetry, H); vback[2] = Vector3D(R, R, 0); } else if (numSides == 0) { - // Ripple1: cosine ripple + // CosineRipple: cosine ripple for (int s = 0; s < slices; ++s) { float th = static_cast<float>(M_PI * s / (slices + 1)); float y = -R * cosf(th); diff --git a/GUI/ba3d/model/model.cpp b/GUI/ba3d/model/model.cpp index 76d4d581703d36542590acc5bda80496debbf6f4..13da41a07616254cf339f01e67f6d2008ff68d68 100644 --- a/GUI/ba3d/model/model.cpp +++ b/GUI/ba3d/model/model.cpp @@ -99,18 +99,18 @@ Particles::Particle* Model::newParticle(Particles::EShape k, float R) return new HemiEllipsoid(R, R, D); case EShape::Dot: return new Dot(); - case EShape::Ripple1Box: - return new Ripple1Box(D, D, D); // TODO ripples should be elongated - case EShape::Ripple1Gauss: - return new Ripple1Gauss(D, D, D); // TODO ripples should be elongated - case EShape::Ripple1Lorentz: - return new Ripple1Lorentz(D, D, D); // TODO ripples should be elongated - case EShape::Ripple2Box: - return new Ripple2Box(D, D, D); // TODO ripples should be elongated - case EShape::Ripple2Gauss: - return new Ripple2Gauss(D, D, D); // TODO ripples should be elongated - case EShape::Ripple2Lorentz: - return new Ripple2Lorentz(D, D, D); // TODO ripples should be elongated + case EShape::CosineRippleBox: + return new CosineRippleBox(D, D, D); // TODO ripples should be elongated + case EShape::CosineRippleGauss: + return new CosineRippleGauss(D, D, D); // TODO ripples should be elongated + case EShape::CosineRippleLorentz: + return new CosineRippleLorentz(D, D, D); // TODO ripples should be elongated + case EShape::SawtoothRippleBox: + return new SawtoothRippleBox(D, D, D); // TODO ripples should be elongated + case EShape::SawtoothRippleGauss: + return new SawtoothRippleGauss(D, D, D); // TODO ripples should be elongated + case EShape::SawtoothRippleLorentz: + return new SawtoothRippleLorentz(D, D, D); // TODO ripples should be elongated case EShape::AnisoPyramid: return new AnisoPyramid(R, D, D, 1.3f); } diff --git a/GUI/ba3d/model/particles.cpp b/GUI/ba3d/model/particles.cpp index 16af6813542c55cf3ca837e0d9360a28c254c330..80733fcde1c7c2a8a2f72a058899adc9fb723a68 100644 --- a/GUI/ba3d/model/particles.cpp +++ b/GUI/ba3d/model/particles.cpp @@ -45,12 +45,12 @@ QString const& name(EShape k) "Box", "HemiEllipsoid", "Dot", - "Ripple1Box", - "Ripple1Gauss", - "Ripple1Lorentz", - "Ripple2Box", - "Ripple2Gauss", - "Ripple2Lorentz", + "CosineRippleBox", + "CosineRippleGauss", + "CosineRippleLorentz", + "SawtoothRippleBox", + "SawtoothRippleGauss", + "SawtoothRippleLorentz", "AnisoPyramid", }; return names[uint(k)]; @@ -263,7 +263,7 @@ Pyramid::Pyramid(float L, float H, float alpha) set(); } -Ripple1Box::Ripple1Box(float L, float W, float H) : Particle(Key(BaseShape::Ripple, 0, 0)) +CosineRippleBox::CosineRippleBox(float L, float W, float H) : Particle(Key(BaseShape::Ripple, 0, 0)) { isNull = (L < 0 || W < 0 || H < 0) || (L <= 0 && W <= 0 && H <= 0); turn = Vector3D(0, 0, 0); @@ -272,7 +272,8 @@ Ripple1Box::Ripple1Box(float L, float W, float H) : Particle(Key(BaseShape::Ripp set(); } -Ripple1Gauss::Ripple1Gauss(float L, float W, float H) : Particle(Key(BaseShape::Ripple, 0, 0)) +CosineRippleGauss::CosineRippleGauss(float L, float W, float H) + : Particle(Key(BaseShape::Ripple, 0, 0)) { isNull = (L < 0 || W < 0 || H < 0) || (L <= 0 && W <= 0 && H <= 0); turn = Vector3D(0, 0, 0); @@ -281,7 +282,8 @@ Ripple1Gauss::Ripple1Gauss(float L, float W, float H) : Particle(Key(BaseShape:: set(); } -Ripple1Lorentz::Ripple1Lorentz(float L, float W, float H) : Particle(Key(BaseShape::Ripple, 0, 0)) +CosineRippleLorentz::CosineRippleLorentz(float L, float W, float H) + : Particle(Key(BaseShape::Ripple, 0, 0)) { isNull = (L < 0 || W < 0 || H < 0) || (L <= 0 && W <= 0 && H <= 0); turn = Vector3D(0, 0, 0); @@ -290,7 +292,8 @@ Ripple1Lorentz::Ripple1Lorentz(float L, float W, float H) : Particle(Key(BaseSha set(); } -Ripple2Box::Ripple2Box(float L, float W, float H) : Particle(Key(BaseShape::Ripple, 0, 0)) +SawtoothRippleBox::SawtoothRippleBox(float L, float W, float H) + : Particle(Key(BaseShape::Ripple, 0, 0)) { isNull = (L < 0 || W < 0 || H < 0) || (L <= 0 && W <= 0 && H <= 0); turn = Vector3D(0, 0, 0); @@ -299,7 +302,8 @@ Ripple2Box::Ripple2Box(float L, float W, float H) : Particle(Key(BaseShape::Ripp set(); } -Ripple2Gauss::Ripple2Gauss(float L, float W, float H) : Particle(Key(BaseShape::Ripple, 0, 0)) +SawtoothRippleGauss::SawtoothRippleGauss(float L, float W, float H) + : Particle(Key(BaseShape::Ripple, 0, 0)) { isNull = (L < 0 || W < 0 || H < 0) || (L <= 0 && W <= 0 && H <= 0); turn = Vector3D(0, 0, 0); @@ -308,7 +312,8 @@ Ripple2Gauss::Ripple2Gauss(float L, float W, float H) : Particle(Key(BaseShape:: set(); } -Ripple2Lorentz::Ripple2Lorentz(float L, float W, float H) : Particle(Key(BaseShape::Ripple, 0, 0)) +SawtoothRippleLorentz::SawtoothRippleLorentz(float L, float W, float H) + : Particle(Key(BaseShape::Ripple, 0, 0)) { isNull = (L < 0 || W < 0 || H < 0) || (L <= 0 && W <= 0 && H <= 0); turn = Vector3D(0, 0, 0); diff --git a/GUI/ba3d/model/particles.h b/GUI/ba3d/model/particles.h index dcb0c5e6f635ab4dbd56a483c0f97d73a36d7d36..d46ffd4171844465476da27354a6c46eb0b54f16 100644 --- a/GUI/ba3d/model/particles.h +++ b/GUI/ba3d/model/particles.h @@ -45,12 +45,12 @@ enum class EShape { Box, HemiEllipsoid, Dot, - Ripple1Box, - Ripple1Gauss, - Ripple1Lorentz, - Ripple2Box, - Ripple2Gauss, - Ripple2Lorentz, + CosineRippleBox, + CosineRippleGauss, + CosineRippleLorentz, + SawtoothRippleBox, + SawtoothRippleGauss, + SawtoothRippleLorentz, AnisoPyramid, }; @@ -210,46 +210,46 @@ public: HemiEllipsoid(float Ra, float Rb, float H); }; -class Ripple1Box : public Particle +class CosineRippleBox : public Particle { public: - Ripple1Box(float L, float W, float H); + CosineRippleBox(float L, float W, float H); }; -class Ripple1Gauss : public Particle +class CosineRippleGauss : public Particle { public: - Ripple1Gauss(float L, float W, float H); + CosineRippleGauss(float L, float W, float H); }; -class Ripple1Lorentz : public Particle +class CosineRippleLorentz : public Particle { public: - Ripple1Lorentz(float L, float W, float H); + CosineRippleLorentz(float L, float W, float H); }; -class Ripple2Box : public Particle +class SawtoothRippleBox : public Particle { public: - Ripple2Box(float L, float W, float H); + SawtoothRippleBox(float L, float W, float H); }; -class Ripple2Gauss : public Particle +class SawtoothRippleGauss : public Particle { public: - Ripple2Gauss(float L, float W, float H); + SawtoothRippleGauss(float L, float W, float H); }; -class Ripple2Lorentz : public Particle +class SawtoothRippleLorentz : public Particle { public: - Ripple2Lorentz(float L, float W, float H); + SawtoothRippleLorentz(float L, float W, float H); }; -class Ripple2 : public Particle +class SawtoothRipple : public Particle { public: - Ripple2(float L, float W, float H, float asymmetry); + SawtoothRipple(float L, float W, float H, float asymmetry); }; class AnisoPyramid : public Particle diff --git a/GUI/coregui/Models/FormFactorItems.cpp b/GUI/coregui/Models/FormFactorItems.cpp index a98dc302c5698ca4ba5c3d17e946503a42c3352f..b458f23d44c36ff24cccb187d375c5ee2d3a39d7 100644 --- a/GUI/coregui/Models/FormFactorItems.cpp +++ b/GUI/coregui/Models/FormFactorItems.cpp @@ -373,11 +373,11 @@ std::unique_ptr<IFormFactor> PyramidItem::createFormFactor() const /* ------------------------------------------------ */ -const QString Ripple1BoxItem::P_LENGTH("Length"); -const QString Ripple1BoxItem::P_WIDTH("Width"); -const QString Ripple1BoxItem::P_HEIGHT("Height"); +const QString CosineRippleBoxItem::P_LENGTH("Length"); +const QString CosineRippleBoxItem::P_WIDTH("Width"); +const QString CosineRippleBoxItem::P_HEIGHT("Height"); -Ripple1BoxItem::Ripple1BoxItem() : FormFactorItem("Ripple1Box") +CosineRippleBoxItem::CosineRippleBoxItem() : FormFactorItem("CosineRippleBox") { setToolTip("Particle with a cosine profile and a rectangular base"); addProperty(P_LENGTH, 27.0)->setToolTip("Length of the rectangular base in nanometers"); @@ -385,20 +385,20 @@ Ripple1BoxItem::Ripple1BoxItem() : FormFactorItem("Ripple1Box") addProperty(P_HEIGHT, 14.0)->setToolTip("Height of the ripple in nanometers"); } -std::unique_ptr<IFormFactor> Ripple1BoxItem::createFormFactor() const +std::unique_ptr<IFormFactor> CosineRippleBoxItem::createFormFactor() const { - return std::make_unique<FormFactorRipple1Box>(getItemValue(P_LENGTH).toDouble(), - getItemValue(P_WIDTH).toDouble(), - getItemValue(P_HEIGHT).toDouble()); + return std::make_unique<FormFactorCosineRippleBox>(getItemValue(P_LENGTH).toDouble(), + getItemValue(P_WIDTH).toDouble(), + getItemValue(P_HEIGHT).toDouble()); } /* ------------------------------------------------ */ -const QString Ripple1GaussItem::P_LENGTH("Length"); -const QString Ripple1GaussItem::P_WIDTH("Width"); -const QString Ripple1GaussItem::P_HEIGHT("Height"); +const QString CosineRippleGaussItem::P_LENGTH("Length"); +const QString CosineRippleGaussItem::P_WIDTH("Width"); +const QString CosineRippleGaussItem::P_HEIGHT("Height"); -Ripple1GaussItem::Ripple1GaussItem() : FormFactorItem("Ripple1Gauss") +CosineRippleGaussItem::CosineRippleGaussItem() : FormFactorItem("CosineRippleGauss") { setToolTip("Particle with a cosine profile and a rectangular base"); addProperty(P_LENGTH, 27.0)->setToolTip("Length of the rectangular base in nanometers"); @@ -406,20 +406,20 @@ Ripple1GaussItem::Ripple1GaussItem() : FormFactorItem("Ripple1Gauss") addProperty(P_HEIGHT, 14.0)->setToolTip("Height of the ripple in nanometers"); } -std::unique_ptr<IFormFactor> Ripple1GaussItem::createFormFactor() const +std::unique_ptr<IFormFactor> CosineRippleGaussItem::createFormFactor() const { - return std::make_unique<FormFactorRipple1Gauss>(getItemValue(P_LENGTH).toDouble(), - getItemValue(P_WIDTH).toDouble(), - getItemValue(P_HEIGHT).toDouble()); + return std::make_unique<FormFactorCosineRippleGauss>(getItemValue(P_LENGTH).toDouble(), + getItemValue(P_WIDTH).toDouble(), + getItemValue(P_HEIGHT).toDouble()); } /* ------------------------------------------------ */ -const QString Ripple1LorentzItem::P_LENGTH("Length"); -const QString Ripple1LorentzItem::P_WIDTH("Width"); -const QString Ripple1LorentzItem::P_HEIGHT("Height"); +const QString CosineRippleLorentzItem::P_LENGTH("Length"); +const QString CosineRippleLorentzItem::P_WIDTH("Width"); +const QString CosineRippleLorentzItem::P_HEIGHT("Height"); -Ripple1LorentzItem::Ripple1LorentzItem() : FormFactorItem("Ripple1Lorentz") +CosineRippleLorentzItem::CosineRippleLorentzItem() : FormFactorItem("CosineRippleLorentz") { setToolTip("Particle with a cosine profile and a rectangular base"); addProperty(P_LENGTH, 27.0)->setToolTip("Length of the rectangular base in nanometers"); @@ -427,21 +427,21 @@ Ripple1LorentzItem::Ripple1LorentzItem() : FormFactorItem("Ripple1Lorentz") addProperty(P_HEIGHT, 14.0)->setToolTip("Height of the ripple in nanometers"); } -std::unique_ptr<IFormFactor> Ripple1LorentzItem::createFormFactor() const +std::unique_ptr<IFormFactor> CosineRippleLorentzItem::createFormFactor() const { - return std::make_unique<FormFactorRipple1Lorentz>(getItemValue(P_LENGTH).toDouble(), - getItemValue(P_WIDTH).toDouble(), - getItemValue(P_HEIGHT).toDouble()); + return std::make_unique<FormFactorCosineRippleLorentz>(getItemValue(P_LENGTH).toDouble(), + getItemValue(P_WIDTH).toDouble(), + getItemValue(P_HEIGHT).toDouble()); } /* ------------------------------------------------ */ -const QString Ripple2BoxItem::P_LENGTH("Length"); -const QString Ripple2BoxItem::P_WIDTH("Width"); -const QString Ripple2BoxItem::P_HEIGHT("Height"); -const QString Ripple2BoxItem::P_ASYMMETRY("AsymmetryLength"); +const QString SawtoothRippleBoxItem::P_LENGTH("Length"); +const QString SawtoothRippleBoxItem::P_WIDTH("Width"); +const QString SawtoothRippleBoxItem::P_HEIGHT("Height"); +const QString SawtoothRippleBoxItem::P_ASYMMETRY("AsymmetryLength"); -Ripple2BoxItem::Ripple2BoxItem() : FormFactorItem("Ripple2Box") +SawtoothRippleBoxItem::SawtoothRippleBoxItem() : FormFactorItem("SawtoothRippleBox") { setToolTip("Particle with an asymmetric triangle profile and a rectangular base"); addProperty(P_LENGTH, 36.0)->setToolTip("Length of the rectangular base in nanometers"); @@ -451,21 +451,21 @@ Ripple2BoxItem::Ripple2BoxItem() : FormFactorItem("Ripple2Box") ->setToolTip("Asymmetry length of the triangular profile in nanometers"); } -std::unique_ptr<IFormFactor> Ripple2BoxItem::createFormFactor() const +std::unique_ptr<IFormFactor> SawtoothRippleBoxItem::createFormFactor() const { - return std::make_unique<FormFactorRipple2Box>( + return std::make_unique<FormFactorSawtoothRippleBox>( getItemValue(P_LENGTH).toDouble(), getItemValue(P_WIDTH).toDouble(), getItemValue(P_HEIGHT).toDouble(), getItemValue(P_ASYMMETRY).toDouble()); } /* ------------------------------------------------ */ -const QString Ripple2GaussItem::P_LENGTH("Length"); -const QString Ripple2GaussItem::P_WIDTH("Width"); -const QString Ripple2GaussItem::P_HEIGHT("Height"); -const QString Ripple2GaussItem::P_ASYMMETRY("AsymmetryLength"); +const QString SawtoothRippleGaussItem::P_LENGTH("Length"); +const QString SawtoothRippleGaussItem::P_WIDTH("Width"); +const QString SawtoothRippleGaussItem::P_HEIGHT("Height"); +const QString SawtoothRippleGaussItem::P_ASYMMETRY("AsymmetryLength"); -Ripple2GaussItem::Ripple2GaussItem() : FormFactorItem("Ripple2Gauss") +SawtoothRippleGaussItem::SawtoothRippleGaussItem() : FormFactorItem("SawtoothRippleGauss") { setToolTip("Particle with an asymmetric triangle profile and a rectangular base"); addProperty(P_LENGTH, 36.0)->setToolTip("Length of the rectangular base in nanometers"); @@ -475,21 +475,21 @@ Ripple2GaussItem::Ripple2GaussItem() : FormFactorItem("Ripple2Gauss") ->setToolTip("Asymmetry length of the triangular profile in nanometers"); } -std::unique_ptr<IFormFactor> Ripple2GaussItem::createFormFactor() const +std::unique_ptr<IFormFactor> SawtoothRippleGaussItem::createFormFactor() const { - return std::make_unique<FormFactorRipple2Gauss>( + return std::make_unique<FormFactorSawtoothRippleGauss>( getItemValue(P_LENGTH).toDouble(), getItemValue(P_WIDTH).toDouble(), getItemValue(P_HEIGHT).toDouble(), getItemValue(P_ASYMMETRY).toDouble()); } /* ------------------------------------------------ */ -const QString Ripple2LorentzItem::P_LENGTH("Length"); -const QString Ripple2LorentzItem::P_WIDTH("Width"); -const QString Ripple2LorentzItem::P_HEIGHT("Height"); -const QString Ripple2LorentzItem::P_ASYMMETRY("AsymmetryLength"); +const QString SawtoothRippleLorentzItem::P_LENGTH("Length"); +const QString SawtoothRippleLorentzItem::P_WIDTH("Width"); +const QString SawtoothRippleLorentzItem::P_HEIGHT("Height"); +const QString SawtoothRippleLorentzItem::P_ASYMMETRY("AsymmetryLength"); -Ripple2LorentzItem::Ripple2LorentzItem() : FormFactorItem("Ripple2Lorentz") +SawtoothRippleLorentzItem::SawtoothRippleLorentzItem() : FormFactorItem("SawtoothRippleLorentz") { setToolTip("Particle with an asymmetric triangle profile and a rectangular base"); addProperty(P_LENGTH, 36.0)->setToolTip("Length of the rectangular base in nanometers"); @@ -499,9 +499,9 @@ Ripple2LorentzItem::Ripple2LorentzItem() : FormFactorItem("Ripple2Lorentz") ->setToolTip("Asymmetry length of the triangular profile in nanometers"); } -std::unique_ptr<IFormFactor> Ripple2LorentzItem::createFormFactor() const +std::unique_ptr<IFormFactor> SawtoothRippleLorentzItem::createFormFactor() const { - return std::make_unique<FormFactorRipple2Lorentz>( + return std::make_unique<FormFactorSawtoothRippleLorentz>( getItemValue(P_LENGTH).toDouble(), getItemValue(P_WIDTH).toDouble(), getItemValue(P_HEIGHT).toDouble(), getItemValue(P_ASYMMETRY).toDouble()); } diff --git a/GUI/coregui/Models/FormFactorItems.h b/GUI/coregui/Models/FormFactorItems.h index 359b4cdeeb07935872b6d461fb4126607e8563f5..11adccb0a55f425d67749e3eb5cf11756f5fb9c4 100644 --- a/GUI/coregui/Models/FormFactorItems.h +++ b/GUI/coregui/Models/FormFactorItems.h @@ -196,66 +196,66 @@ public: std::unique_ptr<IFormFactor> createFormFactor() const; }; -class BA_CORE_API_ Ripple1BoxItem : public FormFactorItem +class BA_CORE_API_ CosineRippleBoxItem : public FormFactorItem { public: static const QString P_LENGTH; static const QString P_WIDTH; static const QString P_HEIGHT; - Ripple1BoxItem(); + CosineRippleBoxItem(); std::unique_ptr<IFormFactor> createFormFactor() const; }; -class BA_CORE_API_ Ripple1GaussItem : public FormFactorItem +class BA_CORE_API_ CosineRippleGaussItem : public FormFactorItem { public: static const QString P_LENGTH; static const QString P_WIDTH; static const QString P_HEIGHT; - Ripple1GaussItem(); + CosineRippleGaussItem(); std::unique_ptr<IFormFactor> createFormFactor() const; }; -class BA_CORE_API_ Ripple1LorentzItem : public FormFactorItem +class BA_CORE_API_ CosineRippleLorentzItem : public FormFactorItem { public: static const QString P_LENGTH; static const QString P_WIDTH; static const QString P_HEIGHT; - Ripple1LorentzItem(); + CosineRippleLorentzItem(); std::unique_ptr<IFormFactor> createFormFactor() const; }; -class BA_CORE_API_ Ripple2BoxItem : public FormFactorItem +class BA_CORE_API_ SawtoothRippleBoxItem : public FormFactorItem { public: static const QString P_LENGTH; static const QString P_WIDTH; static const QString P_HEIGHT; static const QString P_ASYMMETRY; - Ripple2BoxItem(); + SawtoothRippleBoxItem(); std::unique_ptr<IFormFactor> createFormFactor() const; }; -class BA_CORE_API_ Ripple2GaussItem : public FormFactorItem +class BA_CORE_API_ SawtoothRippleGaussItem : public FormFactorItem { public: static const QString P_LENGTH; static const QString P_WIDTH; static const QString P_HEIGHT; static const QString P_ASYMMETRY; - Ripple2GaussItem(); + SawtoothRippleGaussItem(); std::unique_ptr<IFormFactor> createFormFactor() const; }; -class BA_CORE_API_ Ripple2LorentzItem : public FormFactorItem +class BA_CORE_API_ SawtoothRippleLorentzItem : public FormFactorItem { public: static const QString P_LENGTH; static const QString P_WIDTH; static const QString P_HEIGHT; static const QString P_ASYMMETRY; - Ripple2LorentzItem(); + SawtoothRippleLorentzItem(); std::unique_ptr<IFormFactor> createFormFactor() const; }; diff --git a/GUI/coregui/Models/GUIDomainSampleVisitor.cpp b/GUI/coregui/Models/GUIDomainSampleVisitor.cpp index 9780f1d6539137ebe790a40f74ae2346b6a84fe2..348b65fd5bb3dd96d623965aabc342e3e5166336 100644 --- a/GUI/coregui/Models/GUIDomainSampleVisitor.cpp +++ b/GUI/coregui/Models/GUIDomainSampleVisitor.cpp @@ -352,66 +352,66 @@ void GUIDomainSampleVisitor::visit(const FormFactorPyramid* p_sample) m_levelToParentItem[depth()] = p_particle_item; } -void GUIDomainSampleVisitor::visit(const FormFactorRipple1Box* p_sample) +void GUIDomainSampleVisitor::visit(const FormFactorCosineRippleBox* p_sample) { SessionItem* p_particle_item = m_levelToParentItem[depth() - 1]; - SessionItem* p_ff_item = AddFormFactorItem(p_particle_item, "Ripple1Box"); - p_ff_item->setItemValue(Ripple1BoxItem::P_LENGTH, p_sample->getLength()); - p_ff_item->setItemValue(Ripple1BoxItem::P_WIDTH, p_sample->getWidth()); - p_ff_item->setItemValue(Ripple1BoxItem::P_HEIGHT, p_sample->getHeight()); + SessionItem* p_ff_item = AddFormFactorItem(p_particle_item, "CosineRippleBox"); + p_ff_item->setItemValue(CosineRippleBoxItem::P_LENGTH, p_sample->getLength()); + p_ff_item->setItemValue(CosineRippleBoxItem::P_WIDTH, p_sample->getWidth()); + p_ff_item->setItemValue(CosineRippleBoxItem::P_HEIGHT, p_sample->getHeight()); m_levelToParentItem[depth()] = p_particle_item; } -void GUIDomainSampleVisitor::visit(const FormFactorRipple1Gauss* p_sample) +void GUIDomainSampleVisitor::visit(const FormFactorCosineRippleGauss* p_sample) { SessionItem* p_particle_item = m_levelToParentItem[depth() - 1]; - SessionItem* p_ff_item = AddFormFactorItem(p_particle_item, "Ripple1Gauss"); - p_ff_item->setItemValue(Ripple1GaussItem::P_LENGTH, p_sample->getLength()); - p_ff_item->setItemValue(Ripple1GaussItem::P_WIDTH, p_sample->getWidth()); - p_ff_item->setItemValue(Ripple1GaussItem::P_HEIGHT, p_sample->getHeight()); + SessionItem* p_ff_item = AddFormFactorItem(p_particle_item, "CosineRippleGauss"); + p_ff_item->setItemValue(CosineRippleGaussItem::P_LENGTH, p_sample->getLength()); + p_ff_item->setItemValue(CosineRippleGaussItem::P_WIDTH, p_sample->getWidth()); + p_ff_item->setItemValue(CosineRippleGaussItem::P_HEIGHT, p_sample->getHeight()); m_levelToParentItem[depth()] = p_particle_item; } -void GUIDomainSampleVisitor::visit(const FormFactorRipple1Lorentz* p_sample) +void GUIDomainSampleVisitor::visit(const FormFactorCosineRippleLorentz* p_sample) { SessionItem* p_particle_item = m_levelToParentItem[depth() - 1]; - SessionItem* p_ff_item = AddFormFactorItem(p_particle_item, "Ripple1Lorentz"); - p_ff_item->setItemValue(Ripple1LorentzItem::P_LENGTH, p_sample->getLength()); - p_ff_item->setItemValue(Ripple1LorentzItem::P_WIDTH, p_sample->getWidth()); - p_ff_item->setItemValue(Ripple1LorentzItem::P_HEIGHT, p_sample->getHeight()); + SessionItem* p_ff_item = AddFormFactorItem(p_particle_item, "CosineRippleLorentz"); + p_ff_item->setItemValue(CosineRippleLorentzItem::P_LENGTH, p_sample->getLength()); + p_ff_item->setItemValue(CosineRippleLorentzItem::P_WIDTH, p_sample->getWidth()); + p_ff_item->setItemValue(CosineRippleLorentzItem::P_HEIGHT, p_sample->getHeight()); m_levelToParentItem[depth()] = p_particle_item; } -void GUIDomainSampleVisitor::visit(const FormFactorRipple2Box* p_sample) +void GUIDomainSampleVisitor::visit(const FormFactorSawtoothRippleBox* p_sample) { SessionItem* p_particle_item = m_levelToParentItem[depth() - 1]; - SessionItem* p_ff_item = AddFormFactorItem(p_particle_item, "Ripple2Box"); - p_ff_item->setItemValue(Ripple2BoxItem::P_LENGTH, p_sample->getLength()); - p_ff_item->setItemValue(Ripple2BoxItem::P_WIDTH, p_sample->getWidth()); - p_ff_item->setItemValue(Ripple2BoxItem::P_HEIGHT, p_sample->getHeight()); - p_ff_item->setItemValue(Ripple2BoxItem::P_ASYMMETRY, p_sample->getAsymmetry()); + SessionItem* p_ff_item = AddFormFactorItem(p_particle_item, "SawtoothRippleBox"); + p_ff_item->setItemValue(SawtoothRippleBoxItem::P_LENGTH, p_sample->getLength()); + p_ff_item->setItemValue(SawtoothRippleBoxItem::P_WIDTH, p_sample->getWidth()); + p_ff_item->setItemValue(SawtoothRippleBoxItem::P_HEIGHT, p_sample->getHeight()); + p_ff_item->setItemValue(SawtoothRippleBoxItem::P_ASYMMETRY, p_sample->getAsymmetry()); m_levelToParentItem[depth()] = p_particle_item; } -void GUIDomainSampleVisitor::visit(const FormFactorRipple2Gauss* p_sample) +void GUIDomainSampleVisitor::visit(const FormFactorSawtoothRippleGauss* p_sample) { SessionItem* p_particle_item = m_levelToParentItem[depth() - 1]; - SessionItem* p_ff_item = AddFormFactorItem(p_particle_item, "Ripple2Gauss"); - p_ff_item->setItemValue(Ripple2GaussItem::P_LENGTH, p_sample->getLength()); - p_ff_item->setItemValue(Ripple2GaussItem::P_WIDTH, p_sample->getWidth()); - p_ff_item->setItemValue(Ripple2GaussItem::P_HEIGHT, p_sample->getHeight()); - p_ff_item->setItemValue(Ripple2GaussItem::P_ASYMMETRY, p_sample->getAsymmetry()); + SessionItem* p_ff_item = AddFormFactorItem(p_particle_item, "SawtoothRippleGauss"); + p_ff_item->setItemValue(SawtoothRippleGaussItem::P_LENGTH, p_sample->getLength()); + p_ff_item->setItemValue(SawtoothRippleGaussItem::P_WIDTH, p_sample->getWidth()); + p_ff_item->setItemValue(SawtoothRippleGaussItem::P_HEIGHT, p_sample->getHeight()); + p_ff_item->setItemValue(SawtoothRippleGaussItem::P_ASYMMETRY, p_sample->getAsymmetry()); m_levelToParentItem[depth()] = p_particle_item; } -void GUIDomainSampleVisitor::visit(const FormFactorRipple2Lorentz* p_sample) +void GUIDomainSampleVisitor::visit(const FormFactorSawtoothRippleLorentz* p_sample) { SessionItem* p_particle_item = m_levelToParentItem[depth() - 1]; - SessionItem* p_ff_item = AddFormFactorItem(p_particle_item, "Ripple2Lorentz"); - p_ff_item->setItemValue(Ripple2LorentzItem::P_LENGTH, p_sample->getLength()); - p_ff_item->setItemValue(Ripple2LorentzItem::P_WIDTH, p_sample->getWidth()); - p_ff_item->setItemValue(Ripple2LorentzItem::P_HEIGHT, p_sample->getHeight()); - p_ff_item->setItemValue(Ripple2LorentzItem::P_ASYMMETRY, p_sample->getAsymmetry()); + SessionItem* p_ff_item = AddFormFactorItem(p_particle_item, "SawtoothRippleLorentz"); + p_ff_item->setItemValue(SawtoothRippleLorentzItem::P_LENGTH, p_sample->getLength()); + p_ff_item->setItemValue(SawtoothRippleLorentzItem::P_WIDTH, p_sample->getWidth()); + p_ff_item->setItemValue(SawtoothRippleLorentzItem::P_HEIGHT, p_sample->getHeight()); + p_ff_item->setItemValue(SawtoothRippleLorentzItem::P_ASYMMETRY, p_sample->getAsymmetry()); m_levelToParentItem[depth()] = p_particle_item; } diff --git a/GUI/coregui/Models/GUIDomainSampleVisitor.h b/GUI/coregui/Models/GUIDomainSampleVisitor.h index 80c2b23c306919cd14f6b1be61ab7ac002961247..13156e0114738087ac8e7853fd004000281b3e7c 100644 --- a/GUI/coregui/Models/GUIDomainSampleVisitor.h +++ b/GUI/coregui/Models/GUIDomainSampleVisitor.h @@ -70,12 +70,12 @@ public: void visit(const FormFactorPrism3*); void visit(const FormFactorPrism6*); void visit(const FormFactorPyramid*); - void visit(const FormFactorRipple1Box*); - void visit(const FormFactorRipple1Gauss*); - void visit(const FormFactorRipple1Lorentz*); - void visit(const FormFactorRipple2Box*); - void visit(const FormFactorRipple2Gauss*); - void visit(const FormFactorRipple2Lorentz*); + void visit(const FormFactorCosineRippleBox*); + void visit(const FormFactorCosineRippleGauss*); + void visit(const FormFactorCosineRippleLorentz*); + void visit(const FormFactorSawtoothRippleBox*); + void visit(const FormFactorSawtoothRippleGauss*); + void visit(const FormFactorSawtoothRippleLorentz*); void visit(const FormFactorTetrahedron*); void visit(const FormFactorDot*); void visit(const FormFactorTruncatedCube*); diff --git a/GUI/coregui/Models/GroupInfoCatalog.cpp b/GUI/coregui/Models/GroupInfoCatalog.cpp index ccc4f4373b1d57407e47f278d8e337cd3dd51029..7a4607eeb7ed91a985ff29f837b9169d053797b1 100644 --- a/GUI/coregui/Models/GroupInfoCatalog.cpp +++ b/GUI/coregui/Models/GroupInfoCatalog.cpp @@ -36,12 +36,12 @@ GroupInfoCatalog::GroupInfoCatalog() info.add("Prism3", "Prism3"); info.add("Prism6", "Prism6"); info.add("Pyramid", "Pyramid"); - info.add("Ripple1Box", "Ripple1Box"); - info.add("Ripple1Gauss", "Ripple1Gauss"); - info.add("Ripple1Lorentz", "Ripple1Lorentz"); - info.add("Ripple2Box", "Ripple2Box"); - info.add("Ripple2Gauss", "Ripple2Gauss"); - info.add("Ripple2Lorentz", "Ripple2Lorentz"); + info.add("CosineRippleBox", "CosineRippleBox"); + info.add("CosineRippleGauss", "CosineRippleGauss"); + info.add("CosineRippleLorentz", "CosineRippleLorentz"); + info.add("SawtoothRippleBox", "SawtoothRippleBox"); + info.add("SawtoothRippleGauss", "SawtoothRippleGauss"); + info.add("SawtoothRippleLorentz", "SawtoothRippleLorentz"); info.add("Tetrahedron", "Tetrahedron"); info.add("TruncatedCube", "Truncated Cube"); info.add("TruncatedSphere", "Truncated Sphere"); diff --git a/GUI/coregui/Models/ItemCatalog.cpp b/GUI/coregui/Models/ItemCatalog.cpp index 11d89e351887d8702d082db6039d575aba202dfe..945c556d1d6586b8f9c7cbf9366e9ffc1a675b47 100644 --- a/GUI/coregui/Models/ItemCatalog.cpp +++ b/GUI/coregui/Models/ItemCatalog.cpp @@ -115,12 +115,12 @@ ItemCatalog::ItemCatalog() add("Prism3", create_new<Prism3Item>); add("Prism6", create_new<Prism6Item>); add("Pyramid", create_new<PyramidItem>); - add("Ripple1Box", create_new<Ripple1BoxItem>); - add("Ripple1Gauss", create_new<Ripple1GaussItem>); - add("Ripple1Lorentz", create_new<Ripple1LorentzItem>); - add("Ripple2Box", create_new<Ripple2BoxItem>); - add("Ripple2Gauss", create_new<Ripple2GaussItem>); - add("Ripple2Lorentz", create_new<Ripple2LorentzItem>); + add("CosineRippleBox", create_new<CosineRippleBoxItem>); + add("CosineRippleGauss", create_new<CosineRippleGaussItem>); + add("CosineRippleLorentz", create_new<CosineRippleLorentzItem>); + add("SawtoothRippleBox", create_new<SawtoothRippleBoxItem>); + add("SawtoothRippleGauss", create_new<SawtoothRippleGaussItem>); + add("SawtoothRippleLorentz", create_new<SawtoothRippleLorentzItem>); add("Tetrahedron", create_new<TetrahedronItem>); add("TruncatedCube", create_new<TruncatedCubeItem>); add("TruncatedSphere", create_new<TruncatedSphereItem>); diff --git a/GUI/coregui/Views/RealSpaceWidgets/RealSpaceMesoCrystalUtils.cpp b/GUI/coregui/Views/RealSpaceWidgets/RealSpaceMesoCrystalUtils.cpp index f61d5b1243a888a418e4cd7b302d0eac9f3297b4..be67cebf8d62bf8f54967e8350b926321bdadfce 100644 --- a/GUI/coregui/Views/RealSpaceWidgets/RealSpaceMesoCrystalUtils.cpp +++ b/GUI/coregui/Views/RealSpaceWidgets/RealSpaceMesoCrystalUtils.cpp @@ -255,40 +255,40 @@ bool isPositionInsideMesoCrystal(const IFormFactor* outerShape, kvector_t positi if (std::abs(positionInside.x()) <= l_z && std::abs(positionInside.y()) <= l_z && (positionInside.z() >= 0 && positionInside.z() <= H)) check = true; - } else if (dynamic_cast<const FormFactorRipple1Box*>(outerShape)) { - // TODO: Implement Ripple1Box + } else if (dynamic_cast<const FormFactorCosineRippleBox*>(outerShape)) { + // TODO: Implement CosineRippleBox std::ostringstream ostr; - ostr << "Sorry, outer shape Ripple1Box not yet implemented for Mesocrystal"; + ostr << "Sorry, outer shape CosineRippleBox not yet implemented for Mesocrystal"; ostr << "\n\nStay tuned!"; throw Exceptions::ClassInitializationException(ostr.str()); - } else if (dynamic_cast<const FormFactorRipple1Gauss*>(outerShape)) { - // TODO: Implement Ripple1Gauss + } else if (dynamic_cast<const FormFactorCosineRippleGauss*>(outerShape)) { + // TODO: Implement CosineRippleGauss std::ostringstream ostr; - ostr << "Sorry, outer shape Ripple1Gauss not yet implemented for Mesocrystal"; + ostr << "Sorry, outer shape CosineRippleGauss not yet implemented for Mesocrystal"; ostr << "\n\nStay tuned!"; throw Exceptions::ClassInitializationException(ostr.str()); - } else if (dynamic_cast<const FormFactorRipple1Lorentz*>(outerShape)) { - // TODO: Implement Ripple1Lorentz + } else if (dynamic_cast<const FormFactorCosineRippleLorentz*>(outerShape)) { + // TODO: Implement CosineRippleLorentz std::ostringstream ostr; - ostr << "Sorry, outer shape Ripple1Lorentz not yet implemented for Mesocrystal"; + ostr << "Sorry, outer shape CosineRippleLorentz not yet implemented for Mesocrystal"; ostr << "\n\nStay tuned!"; throw Exceptions::ClassInitializationException(ostr.str()); - } else if (dynamic_cast<const FormFactorRipple2Box*>(outerShape)) { - // TODO: Implement Ripple2Box + } else if (dynamic_cast<const FormFactorSawtoothRippleBox*>(outerShape)) { + // TODO: Implement SawtoothRippleBox std::ostringstream ostr; - ostr << "Sorry, outer shape Ripple2Box not yet implemented for Mesocrystal"; + ostr << "Sorry, outer shape SawtoothRippleBox not yet implemented for Mesocrystal"; ostr << "\n\nStay tuned!"; throw Exceptions::ClassInitializationException(ostr.str()); - } else if (dynamic_cast<const FormFactorRipple2Gauss*>(outerShape)) { - // TODO: Implement Ripple2Gauss + } else if (dynamic_cast<const FormFactorSawtoothRippleGauss*>(outerShape)) { + // TODO: Implement SawtoothRippleGauss std::ostringstream ostr; - ostr << "Sorry, outer shape Ripple2Gauss not yet implemented for Mesocrystal"; + ostr << "Sorry, outer shape SawtoothRippleGauss not yet implemented for Mesocrystal"; ostr << "\n\nStay tuned!"; throw Exceptions::ClassInitializationException(ostr.str()); - } else if (dynamic_cast<const FormFactorRipple2Lorentz*>(outerShape)) { - // TODO: Implement Ripple2Lorentz + } else if (dynamic_cast<const FormFactorSawtoothRippleLorentz*>(outerShape)) { + // TODO: Implement SawtoothRippleLorentz std::ostringstream ostr; - ostr << "Sorry, outer shape Ripple2Lorentz not yet implemented for Mesocrystal"; + ostr << "Sorry, outer shape SawtoothRippleLorentz not yet implemented for Mesocrystal"; ostr << "\n\nStay tuned!"; throw Exceptions::ClassInitializationException(ostr.str()); } else if (auto ff_Tetrahedron = dynamic_cast<const FormFactorTetrahedron*>(outerShape)) { diff --git a/GUI/coregui/Views/RealSpaceWidgets/TransformTo3D.cpp b/GUI/coregui/Views/RealSpaceWidgets/TransformTo3D.cpp index 4f4cf1980770bb84b1c3b83757846721260611ae..0867a3c98d2d7be969e3c5d8636bff1e929523b6 100644 --- a/GUI/coregui/Views/RealSpaceWidgets/TransformTo3D.cpp +++ b/GUI/coregui/Views/RealSpaceWidgets/TransformTo3D.cpp @@ -188,36 +188,40 @@ TransformTo3D::createParticlefromIFormFactor(const IFormFactor* ff) double height = ff_Pyramid->getHeight(); double alpha = ff_Pyramid->getAlpha(); result = std::make_unique<RealSpace::Particles::Pyramid>(baseedge, height, alpha); - } else if (auto ff_Ripple1Box = dynamic_cast<const FormFactorRipple1Box*>(ff)) { - double length = ff_Ripple1Box->getLength(); - double width = ff_Ripple1Box->getWidth(); - double height = ff_Ripple1Box->getHeight(); - result = std::make_unique<RealSpace::Particles::Ripple1Box>(length, width, height); - } else if (auto ff_Ripple1Gauss = dynamic_cast<const FormFactorRipple1Gauss*>(ff)) { - double length = ff_Ripple1Gauss->getLength(); - double width = ff_Ripple1Gauss->getWidth(); - double height = ff_Ripple1Gauss->getHeight(); - result = std::make_unique<RealSpace::Particles::Ripple1Gauss>(length, width, height); - } else if (auto ff_Ripple1Lorentz = dynamic_cast<const FormFactorRipple1Lorentz*>(ff)) { - double length = ff_Ripple1Lorentz->getLength(); - double width = ff_Ripple1Lorentz->getWidth(); - double height = ff_Ripple1Lorentz->getHeight(); - result = std::make_unique<RealSpace::Particles::Ripple1Lorentz>(length, width, height); - } else if (auto ff_Ripple2Box = dynamic_cast<const FormFactorRipple2Box*>(ff)) { - double length = ff_Ripple2Box->getLength(); - double width = ff_Ripple2Box->getWidth(); - double height = ff_Ripple2Box->getHeight(); - result = std::make_unique<RealSpace::Particles::Ripple2Box>(length, width, height); - } else if (auto ff_Ripple2Gauss = dynamic_cast<const FormFactorRipple2Gauss*>(ff)) { - double length = ff_Ripple2Gauss->getLength(); - double width = ff_Ripple2Gauss->getWidth(); - double height = ff_Ripple2Gauss->getHeight(); - result = std::make_unique<RealSpace::Particles::Ripple2Gauss>(length, width, height); - } else if (auto ff_Ripple2Lorentz = dynamic_cast<const FormFactorRipple2Lorentz*>(ff)) { - double length = ff_Ripple2Lorentz->getLength(); - double width = ff_Ripple2Lorentz->getWidth(); - double height = ff_Ripple2Lorentz->getHeight(); - result = std::make_unique<RealSpace::Particles::Ripple2Lorentz>(length, width, height); + } else if (auto ff_CosineRippleBox = dynamic_cast<const FormFactorCosineRippleBox*>(ff)) { + double length = ff_CosineRippleBox->getLength(); + double width = ff_CosineRippleBox->getWidth(); + double height = ff_CosineRippleBox->getHeight(); + result = std::make_unique<RealSpace::Particles::CosineRippleBox>(length, width, height); + } else if (auto ff_CosineRippleGauss = dynamic_cast<const FormFactorCosineRippleGauss*>(ff)) { + double length = ff_CosineRippleGauss->getLength(); + double width = ff_CosineRippleGauss->getWidth(); + double height = ff_CosineRippleGauss->getHeight(); + result = std::make_unique<RealSpace::Particles::CosineRippleGauss>(length, width, height); + } else if (auto ff_CosineRippleLorentz = + dynamic_cast<const FormFactorCosineRippleLorentz*>(ff)) { + double length = ff_CosineRippleLorentz->getLength(); + double width = ff_CosineRippleLorentz->getWidth(); + double height = ff_CosineRippleLorentz->getHeight(); + result = std::make_unique<RealSpace::Particles::CosineRippleLorentz>(length, width, height); + } else if (auto ff_SawtoothRippleBox = dynamic_cast<const FormFactorSawtoothRippleBox*>(ff)) { + double length = ff_SawtoothRippleBox->getLength(); + double width = ff_SawtoothRippleBox->getWidth(); + double height = ff_SawtoothRippleBox->getHeight(); + result = std::make_unique<RealSpace::Particles::SawtoothRippleBox>(length, width, height); + } else if (auto ff_SawtoothRippleGauss = + dynamic_cast<const FormFactorSawtoothRippleGauss*>(ff)) { + double length = ff_SawtoothRippleGauss->getLength(); + double width = ff_SawtoothRippleGauss->getWidth(); + double height = ff_SawtoothRippleGauss->getHeight(); + result = std::make_unique<RealSpace::Particles::SawtoothRippleGauss>(length, width, height); + } else if (auto ff_SawtoothRippleLorentz = + dynamic_cast<const FormFactorSawtoothRippleLorentz*>(ff)) { + double length = ff_SawtoothRippleLorentz->getLength(); + double width = ff_SawtoothRippleLorentz->getWidth(); + double height = ff_SawtoothRippleLorentz->getHeight(); + result = + std::make_unique<RealSpace::Particles::SawtoothRippleLorentz>(length, width, height); } else if (auto ff_Tetrahedron = dynamic_cast<const FormFactorTetrahedron*>(ff)) { double baseedge = ff_Tetrahedron->getBaseEdge(); double height = ff_Tetrahedron->getHeight(); diff --git a/GUI/coregui/Views/widgetbox/images/ff_Ripple1_64x64.png b/GUI/coregui/Views/widgetbox/images/ff_CosineRipple_64x64.png similarity index 100% rename from GUI/coregui/Views/widgetbox/images/ff_Ripple1_64x64.png rename to GUI/coregui/Views/widgetbox/images/ff_CosineRipple_64x64.png diff --git a/GUI/coregui/Views/widgetbox/images/ff_Ripple2_64x64.png b/GUI/coregui/Views/widgetbox/images/ff_SawtoothRipple_64x64.png similarity index 100% rename from GUI/coregui/Views/widgetbox/images/ff_Ripple2_64x64.png rename to GUI/coregui/Views/widgetbox/images/ff_SawtoothRipple_64x64.png diff --git a/GUI/coregui/Views/widgetbox/widgetbox.qrc b/GUI/coregui/Views/widgetbox/widgetbox.qrc index c96c47587be7a6f31f971dea748a2fe17b9c4ce3..13e5e9ccb7376d36fc49c544927a42ba41363a0f 100644 --- a/GUI/coregui/Views/widgetbox/widgetbox.qrc +++ b/GUI/coregui/Views/widgetbox/widgetbox.qrc @@ -1,10 +1,24 @@ <RCC> <qresource prefix="/widgetbox"> <file>widgetbox.xml</file> + <file>images/Lattice1D.png</file> + <file>images/Lattice2D.png</file> + <file>images/Lattice2DFinite.png</file> + <file>images/Layer.png</file> + <file>images/Mesocrystal_64x64.png</file> + <file>images/MultiLayer.png</file> + <file>images/ParaCrystal1D.png</file> + <file>images/ParaCrystal2D.png</file> + <file>images/ParticleComposition_64x64.png</file> + <file>images/ParticleCoreShell_64x64.png</file> + <file>images/ParticleDistribution_64x64.png</file> + <file>images/ParticleLayout.png</file> + <file>images/Transformation.png</file> <file>images/ff_AnisoPyramid_64x64.png</file> <file>images/ff_Box_64x64.png</file> - <file>images/ff_Cone_64x64.png</file> <file>images/ff_Cone6_64x64.png</file> + <file>images/ff_Cone_64x64.png</file> + <file>images/ff_CosineRipple_64x64.png</file> <file>images/ff_Cuboctahedron_64x64.png</file> <file>images/ff_Cylinder_64x64.png</file> <file>images/ff_Dodecahedron_64x64.png</file> @@ -14,28 +28,14 @@ <file>images/ff_FullSpheroid_64x64.png</file> <file>images/ff_HemiEllipsoid_64x64.png</file> <file>images/ff_Icosahedron_64x64.png</file> - <file>images/Mesocrystal_64x64.png</file> <file>images/ff_Prism3_64x64.png</file> <file>images/ff_Prism6_64x64.png</file> <file>images/ff_Pyramid_64x64.png</file> - <file>images/ff_Ripple1_64x64.png</file> - <file>images/ff_Ripple2_64x64.png</file> + <file>images/ff_SawtoothRipple_64x64.png</file> <file>images/ff_Tetrahedron_64x64.png</file> <file>images/ff_TruncatedCube_64x64.png</file> <file>images/ff_TruncatedSphere_64x64.png</file> <file>images/ff_TruncatedSpheroid_64x64.png</file> - <file>images/MultiLayer.png</file> - <file>images/Layer.png</file> - <file>images/ParaCrystal2D.png</file> - <file>images/ParaCrystal1D.png</file> - <file>images/ParticleLayout.png</file> - <file>images/ParticleCoreShell_64x64.png</file> - <file>images/Lattice2D.png</file> - <file>images/Transformation.png</file> - <file>images/ParticleComposition_64x64.png</file> - <file>images/ParticleDistribution_64x64.png</file> - <file>images/Lattice1D.png</file> <file>images/sample_layers2.png</file> - <file>images/Lattice2DFinite.png</file> </qresource> </RCC> diff --git a/Tests/ReferenceData/Std/FormFactorsWithAbsorption_Ripple1Box.int.gz b/Tests/ReferenceData/Std/FormFactorsWithAbsorption_CosineRippleBox.int.gz similarity index 100% rename from Tests/ReferenceData/Std/FormFactorsWithAbsorption_Ripple1Box.int.gz rename to Tests/ReferenceData/Std/FormFactorsWithAbsorption_CosineRippleBox.int.gz diff --git a/Tests/ReferenceData/Std/FormFactorsWithAbsorption_Ripple2Box.int.gz b/Tests/ReferenceData/Std/FormFactorsWithAbsorption_SawtoothRippleBox.int.gz similarity index 100% rename from Tests/ReferenceData/Std/FormFactorsWithAbsorption_Ripple2Box.int.gz rename to Tests/ReferenceData/Std/FormFactorsWithAbsorption_SawtoothRippleBox.int.gz diff --git a/Tests/ReferenceData/Std/FormFactors_Ripple1Box.int.gz b/Tests/ReferenceData/Std/FormFactors_CosineRippleBox.int.gz similarity index 100% rename from Tests/ReferenceData/Std/FormFactors_Ripple1Box.int.gz rename to Tests/ReferenceData/Std/FormFactors_CosineRippleBox.int.gz diff --git a/Tests/ReferenceData/Std/FormFactors_Ripple2Box.int.gz b/Tests/ReferenceData/Std/FormFactors_SawtoothRippleBox.int.gz similarity index 100% rename from Tests/ReferenceData/Std/FormFactors_Ripple2Box.int.gz rename to Tests/ReferenceData/Std/FormFactors_SawtoothRippleBox.int.gz diff --git a/Tests/UnitTests/Core/Sample/FormFactorBasicTest.cpp b/Tests/UnitTests/Core/Sample/FormFactorBasicTest.cpp index 6d94232d3bda73f4d4a8bdb38d080af207e5988d..ae176e8ef0b9a655083f8e469f7b9d402c078e64 100644 --- a/Tests/UnitTests/Core/Sample/FormFactorBasicTest.cpp +++ b/Tests/UnitTests/Core/Sample/FormFactorBasicTest.cpp @@ -428,14 +428,14 @@ TEST_F(FormFactorBasicTest, Tetrahedron) test_ff(&particle); } -TEST_F(FormFactorBasicTest, Ripple1Box) +TEST_F(FormFactorBasicTest, CosineRippleBox) { double width = 20.; double height = 4.; double length = 100.0; double volume = 0.5 * height * width * length; - FormFactorRipple1Box particle(length, width, height); + FormFactorCosineRippleBox particle(length, width, height); EXPECT_EQ(height, particle.getHeight()); EXPECT_EQ(width, particle.getWidth()); EXPECT_EQ(length, particle.getLength()); @@ -462,7 +462,7 @@ TEST_F(FormFactorBasicTest, TruncatedCube) test_ff(&particle); } -TEST_F(FormFactorBasicTest, Ripple2Box) +TEST_F(FormFactorBasicTest, SawtoothRippleBox) { double width = 20.; double height = 4.; @@ -470,7 +470,7 @@ TEST_F(FormFactorBasicTest, Ripple2Box) double d = 0.3; // asymmetry double volume = 0.5 * height * width * length; - FormFactorRipple2Box particle(length, width, height, d); + FormFactorSawtoothRippleBox particle(length, width, height, d); EXPECT_EQ(height, particle.getHeight()); EXPECT_DOUBLE_EQ(volume, particle.volume()); EXPECT_EQ(0., particle.bottomZ(RotationZ(.42))); diff --git a/Tests/UnitTests/GUI/TestGUICoreObjectCorrespondence.cpp b/Tests/UnitTests/GUI/TestGUICoreObjectCorrespondence.cpp index 79959e4d0d5b597d680d69160df5e7fd806afcc4..e1a97876d949eebc8c074663ba76e6dac228b3c0 100644 --- a/Tests/UnitTests/GUI/TestGUICoreObjectCorrespondence.cpp +++ b/Tests/UnitTests/GUI/TestGUICoreObjectCorrespondence.cpp @@ -135,17 +135,17 @@ TEST_F(TestGUICoreObjectCorrespondence, test_Pyramid) GUICoreObjectCorrespondence(gui_pyramid, core_pyramid); } -TEST_F(TestGUICoreObjectCorrespondence, test_Ripple1Box) +TEST_F(TestGUICoreObjectCorrespondence, test_CosineRippleBox) { - Ripple1BoxItem gui_ripple1; - FormFactorRipple1Box core_ripple1(10.0, 2.0, 1.0); + CosineRippleBoxItem gui_ripple1; + FormFactorCosineRippleBox core_ripple1(10.0, 2.0, 1.0); GUICoreObjectCorrespondence(gui_ripple1, core_ripple1); } -TEST_F(TestGUICoreObjectCorrespondence, test_Ripple2Box) +TEST_F(TestGUICoreObjectCorrespondence, test_SawtoothRippleBox) { - Ripple2BoxItem gui_ripple2; - FormFactorRipple2Box core_ripple2(10.0, 2.0, 1.0, 0.1); + SawtoothRippleBoxItem gui_ripple2; + FormFactorSawtoothRippleBox core_ripple2(10.0, 2.0, 1.0, 0.1); GUICoreObjectCorrespondence(gui_ripple2, core_ripple2); } diff --git a/Wrap/swig/libBornAgainCore.i b/Wrap/swig/libBornAgainCore.i index 3c0ecf29e6a775330f7fd63cd5d1d1454d9f5e1b..e8c24f657e3137bdb5c19a31ed45f5153b7285fe 100644 --- a/Wrap/swig/libBornAgainCore.i +++ b/Wrap/swig/libBornAgainCore.i @@ -127,6 +127,7 @@ #include "Core/HardParticle/FormFactorCantellatedCube.h" #include "Core/HardParticle/FormFactorCone.h" #include "Core/HardParticle/FormFactorCone6.h" +#include "Core/HardParticle/FormFactorCosineRipple.h" #include "Core/HardParticle/FormFactorCuboctahedron.h" #include "Core/HardParticle/FormFactorCylinder.h" #include "Core/HardParticle/FormFactorDodecahedron.h" @@ -144,8 +145,7 @@ #include "Core/HardParticle/FormFactorPrism3.h" #include "Core/HardParticle/FormFactorPrism6.h" #include "Core/HardParticle/FormFactorPyramid.h" -#include "Core/HardParticle/FormFactorRipple1.h" -#include "Core/HardParticle/FormFactorRipple2.h" +#include "Core/HardParticle/FormFactorSawtoothRipple.h" #include "Core/HardParticle/FormFactorTetrahedron.h" #include "Core/HardParticle/FormFactorTruncatedCube.h" #include "Core/HardParticle/FormFactorTruncatedSphere.h" @@ -411,6 +411,7 @@ %include "Core/HardParticle/FormFactorCantellatedCube.h" %include "Core/HardParticle/FormFactorCone.h" %include "Core/HardParticle/FormFactorCone6.h" +%include "Core/HardParticle/FormFactorCosineRipple.h" %include "Core/HardParticle/FormFactorCuboctahedron.h" %include "Core/HardParticle/FormFactorCylinder.h" %include "Core/HardParticle/FormFactorDodecahedron.h" @@ -426,8 +427,7 @@ %include "Core/HardParticle/FormFactorPrism3.h" %include "Core/HardParticle/FormFactorPrism6.h" %include "Core/HardParticle/FormFactorPyramid.h" -%include "Core/HardParticle/FormFactorRipple1.h" -%include "Core/HardParticle/FormFactorRipple2.h" +%include "Core/HardParticle/FormFactorSawtoothRipple.h" %include "Core/HardParticle/FormFactorTetrahedron.h" %include "Core/HardParticle/FormFactorTruncatedCube.h" %include "Core/HardParticle/FormFactorTruncatedSphere.h" diff --git a/auto/Wrap/libBornAgainCore.py b/auto/Wrap/libBornAgainCore.py index 1674dc1642f2844f0e9c8b87902f4b01990ec731..5a4f1a5c60a6269e6494259cf2384162543a4ba9 100644 --- a/auto/Wrap/libBornAgainCore.py +++ b/auto/Wrap/libBornAgainCore.py @@ -6336,12 +6336,12 @@ class INodeVisitor(object): visit(INodeVisitor self, FormFactorPrism3 arg2) visit(INodeVisitor self, FormFactorPrism6 arg2) visit(INodeVisitor self, FormFactorPyramid arg2) - visit(INodeVisitor self, FormFactorRipple1Box arg2) - visit(INodeVisitor self, FormFactorRipple1Gauss arg2) - visit(INodeVisitor self, FormFactorRipple1Lorentz arg2) - visit(INodeVisitor self, FormFactorRipple2Box arg2) - visit(INodeVisitor self, FormFactorRipple2Gauss arg2) - visit(INodeVisitor self, FormFactorRipple2Lorentz arg2) + visit(INodeVisitor self, FormFactorCosineRippleBox arg2) + visit(INodeVisitor self, FormFactorCosineRippleGauss arg2) + visit(INodeVisitor self, FormFactorCosineRippleLorentz arg2) + visit(INodeVisitor self, FormFactorSawtoothRippleBox arg2) + visit(INodeVisitor self, FormFactorSawtoothRippleGauss arg2) + visit(INodeVisitor self, FormFactorSawtoothRippleLorentz arg2) visit(INodeVisitor self, FormFactorSphereGaussianRadius arg2) visit(INodeVisitor self, FormFactorSphereLogNormalRadius arg2) visit(INodeVisitor self, FormFactorTetrahedron arg2) @@ -15115,48 +15115,34 @@ class IProfileRipple(IFormFactorBorn): # Register IProfileRipple in _libBornAgainCore: _libBornAgainCore.IProfileRipple_swigregister(IProfileRipple) -class ProfileRectangularRipple(IProfileRipple): - r"""Proxy of C++ ProfileRectangularRipple class.""" +class IProfileRectangularRipple(IProfileRipple): + r"""Proxy of C++ IProfileRectangularRipple class.""" thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract") __repr__ = _swig_repr - __swig_destroy__ = _libBornAgainCore.delete_ProfileRectangularRipple + __swig_destroy__ = _libBornAgainCore.delete_IProfileRectangularRipple -# Register ProfileRectangularRipple in _libBornAgainCore: -_libBornAgainCore.ProfileRectangularRipple_swigregister(ProfileRectangularRipple) +# Register IProfileRectangularRipple in _libBornAgainCore: +_libBornAgainCore.IProfileRectangularRipple_swigregister(IProfileRectangularRipple) -class ProfileRipple1(IProfileRipple): - r""" - - - Base class for form factors with a cosine ripple profile in the yz plane. - - C++ includes: ProfileRipple1.h - - """ +class ICosineRipple(IProfileRipple): + r"""Proxy of C++ ICosineRipple class.""" thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract") __repr__ = _swig_repr - __swig_destroy__ = _libBornAgainCore.delete_ProfileRipple1 + __swig_destroy__ = _libBornAgainCore.delete_ICosineRipple -# Register ProfileRipple1 in _libBornAgainCore: -_libBornAgainCore.ProfileRipple1_swigregister(ProfileRipple1) +# Register ICosineRipple in _libBornAgainCore: +_libBornAgainCore.ICosineRipple_swigregister(ICosineRipple) -class ProfileRipple2(IProfileRipple): - r""" - - - Base class for form factors with a cosine ripple profile in the yz plane. - - C++ includes: ProfileRipple2.h - - """ +class ISawtoothRipple(IProfileRipple): + r"""Proxy of C++ ISawtoothRipple class.""" thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") @@ -15165,16 +15151,12 @@ class ProfileRipple2(IProfileRipple): __repr__ = _swig_repr def getAsymmetry(self): - r""" - getAsymmetry(ProfileRipple2 self) -> double - double ProfileRipple2::getAsymmetry() const + r"""getAsymmetry(ISawtoothRipple self) -> double""" + return _libBornAgainCore.ISawtoothRipple_getAsymmetry(self) + __swig_destroy__ = _libBornAgainCore.delete_ISawtoothRipple - """ - return _libBornAgainCore.ProfileRipple2_getAsymmetry(self) - __swig_destroy__ = _libBornAgainCore.delete_ProfileRipple2 - -# Register ProfileRipple2 in _libBornAgainCore: -_libBornAgainCore.ProfileRipple2_swigregister(ProfileRipple2) +# Register ISawtoothRipple in _libBornAgainCore: +_libBornAgainCore.ISawtoothRipple_swigregister(ISawtoothRipple) class FormFactorAnisoPyramid(FormFactorPolyhedron): r""" @@ -15638,6 +15620,117 @@ class FormFactorCone6(FormFactorPolyhedron): # Register FormFactorCone6 in _libBornAgainCore: _libBornAgainCore.FormFactorCone6_swigregister(FormFactorCone6) +class FormFactorCosineRippleBox(ICosineRipple): + r"""Proxy of C++ FormFactorCosineRippleBox class.""" + + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + + def __init__(self, *args): + r""" + __init__(FormFactorCosineRippleBox self, vdouble1d_t P) -> FormFactorCosineRippleBox + __init__(FormFactorCosineRippleBox self, double length, double width, double height) -> FormFactorCosineRippleBox + """ + _libBornAgainCore.FormFactorCosineRippleBox_swiginit(self, _libBornAgainCore.new_FormFactorCosineRippleBox(*args)) + + def clone(self): + r""" + clone(FormFactorCosineRippleBox self) -> FormFactorCosineRippleBox + IFormFactorBorn* IFormFactorBorn::clone() const override=0 + + Returns a clone of this ISample object. + + """ + return _libBornAgainCore.FormFactorCosineRippleBox_clone(self) + + def accept(self, visitor): + r""" + accept(FormFactorCosineRippleBox self, INodeVisitor visitor) + virtual void INode::accept(INodeVisitor *visitor) const =0 + + Calls the INodeVisitor's visit method. + + """ + return _libBornAgainCore.FormFactorCosineRippleBox_accept(self, visitor) + __swig_destroy__ = _libBornAgainCore.delete_FormFactorCosineRippleBox + +# Register FormFactorCosineRippleBox in _libBornAgainCore: +_libBornAgainCore.FormFactorCosineRippleBox_swigregister(FormFactorCosineRippleBox) + +class FormFactorCosineRippleGauss(ICosineRipple): + r"""Proxy of C++ FormFactorCosineRippleGauss class.""" + + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + + def __init__(self, *args): + r""" + __init__(FormFactorCosineRippleGauss self, vdouble1d_t P) -> FormFactorCosineRippleGauss + __init__(FormFactorCosineRippleGauss self, double length, double width, double height) -> FormFactorCosineRippleGauss + """ + _libBornAgainCore.FormFactorCosineRippleGauss_swiginit(self, _libBornAgainCore.new_FormFactorCosineRippleGauss(*args)) + + def clone(self): + r""" + clone(FormFactorCosineRippleGauss self) -> FormFactorCosineRippleGauss + IFormFactorBorn* IFormFactorBorn::clone() const override=0 + + Returns a clone of this ISample object. + + """ + return _libBornAgainCore.FormFactorCosineRippleGauss_clone(self) + + def accept(self, visitor): + r""" + accept(FormFactorCosineRippleGauss self, INodeVisitor visitor) + virtual void INode::accept(INodeVisitor *visitor) const =0 + + Calls the INodeVisitor's visit method. + + """ + return _libBornAgainCore.FormFactorCosineRippleGauss_accept(self, visitor) + __swig_destroy__ = _libBornAgainCore.delete_FormFactorCosineRippleGauss + +# Register FormFactorCosineRippleGauss in _libBornAgainCore: +_libBornAgainCore.FormFactorCosineRippleGauss_swigregister(FormFactorCosineRippleGauss) + +class FormFactorCosineRippleLorentz(ICosineRipple): + r"""Proxy of C++ FormFactorCosineRippleLorentz class.""" + + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + + def __init__(self, *args): + r""" + __init__(FormFactorCosineRippleLorentz self, vdouble1d_t P) -> FormFactorCosineRippleLorentz + __init__(FormFactorCosineRippleLorentz self, double length, double width, double height) -> FormFactorCosineRippleLorentz + """ + _libBornAgainCore.FormFactorCosineRippleLorentz_swiginit(self, _libBornAgainCore.new_FormFactorCosineRippleLorentz(*args)) + + def clone(self): + r""" + clone(FormFactorCosineRippleLorentz self) -> FormFactorCosineRippleLorentz + IFormFactorBorn* IFormFactorBorn::clone() const override=0 + + Returns a clone of this ISample object. + + """ + return _libBornAgainCore.FormFactorCosineRippleLorentz_clone(self) + + def accept(self, visitor): + r""" + accept(FormFactorCosineRippleLorentz self, INodeVisitor visitor) + virtual void INode::accept(INodeVisitor *visitor) const =0 + + Calls the INodeVisitor's visit method. + + """ + return _libBornAgainCore.FormFactorCosineRippleLorentz_accept(self, visitor) + __swig_destroy__ = _libBornAgainCore.delete_FormFactorCosineRippleLorentz + +# Register FormFactorCosineRippleLorentz in _libBornAgainCore: +_libBornAgainCore.FormFactorCosineRippleLorentz_swigregister(FormFactorCosineRippleLorentz) + class FormFactorCuboctahedron(FormFactorPolyhedron): r""" @@ -16951,281 +17044,116 @@ class FormFactorPyramid(FormFactorPolyhedron): # Register FormFactorPyramid in _libBornAgainCore: _libBornAgainCore.FormFactorPyramid_swigregister(FormFactorPyramid) -class FormFactorRipple1Box(ProfileRipple1): - r""" - - - The form factor for a cosine ripple, with box profile in elongation direction. - - C++ includes: FormFactorRipple1.h - - """ +class FormFactorSawtoothRippleBox(ISawtoothRipple): + r"""Proxy of C++ FormFactorSawtoothRippleBox class.""" thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") __repr__ = _swig_repr def __init__(self, *args): r""" - __init__(FormFactorRipple1Box self, vdouble1d_t P) -> FormFactorRipple1Box - __init__(FormFactorRipple1Box self, double length, double width, double height) -> FormFactorRipple1Box - FormFactorRipple1Box::FormFactorRipple1Box(double length, double width, double height) - + __init__(FormFactorSawtoothRippleBox self, vdouble1d_t P) -> FormFactorSawtoothRippleBox + __init__(FormFactorSawtoothRippleBox self, double length, double width, double height, double asymmetry) -> FormFactorSawtoothRippleBox """ - _libBornAgainCore.FormFactorRipple1Box_swiginit(self, _libBornAgainCore.new_FormFactorRipple1Box(*args)) + _libBornAgainCore.FormFactorSawtoothRippleBox_swiginit(self, _libBornAgainCore.new_FormFactorSawtoothRippleBox(*args)) def clone(self): r""" - clone(FormFactorRipple1Box self) -> FormFactorRipple1Box - FormFactorRipple1Box * FormFactorRipple1Box::clone() const override final - - Returns a clone of this ISample object. - - """ - return _libBornAgainCore.FormFactorRipple1Box_clone(self) - - def accept(self, visitor): - r""" - accept(FormFactorRipple1Box self, INodeVisitor visitor) - void FormFactorRipple1Box::accept(INodeVisitor *visitor) const override final - - Calls the INodeVisitor's visit method. - - """ - return _libBornAgainCore.FormFactorRipple1Box_accept(self, visitor) - __swig_destroy__ = _libBornAgainCore.delete_FormFactorRipple1Box - -# Register FormFactorRipple1Box in _libBornAgainCore: -_libBornAgainCore.FormFactorRipple1Box_swigregister(FormFactorRipple1Box) - -class FormFactorRipple1Gauss(ProfileRipple1): - r""" - - - The form factor for a cosine ripple, with Gaussian profile in elongation direction. - - C++ includes: FormFactorRipple1.h - - """ - - thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") - __repr__ = _swig_repr - - def __init__(self, *args): - r""" - __init__(FormFactorRipple1Gauss self, vdouble1d_t P) -> FormFactorRipple1Gauss - __init__(FormFactorRipple1Gauss self, double length, double width, double height) -> FormFactorRipple1Gauss - FormFactorRipple1Gauss::FormFactorRipple1Gauss(double length, double width, double height) - - """ - _libBornAgainCore.FormFactorRipple1Gauss_swiginit(self, _libBornAgainCore.new_FormFactorRipple1Gauss(*args)) - - def clone(self): - r""" - clone(FormFactorRipple1Gauss self) -> FormFactorRipple1Gauss - FormFactorRipple1Gauss * FormFactorRipple1Gauss::clone() const override final - - Returns a clone of this ISample object. - - """ - return _libBornAgainCore.FormFactorRipple1Gauss_clone(self) - - def accept(self, visitor): - r""" - accept(FormFactorRipple1Gauss self, INodeVisitor visitor) - void FormFactorRipple1Gauss::accept(INodeVisitor *visitor) const override final - - Calls the INodeVisitor's visit method. - - """ - return _libBornAgainCore.FormFactorRipple1Gauss_accept(self, visitor) - __swig_destroy__ = _libBornAgainCore.delete_FormFactorRipple1Gauss - -# Register FormFactorRipple1Gauss in _libBornAgainCore: -_libBornAgainCore.FormFactorRipple1Gauss_swigregister(FormFactorRipple1Gauss) - -class FormFactorRipple1Lorentz(ProfileRipple1): - r""" - - - The form factor for a cosine ripple, with Lorentz form factor in elongation direction. - - C++ includes: FormFactorRipple1.h - - """ - - thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") - __repr__ = _swig_repr - - def __init__(self, *args): - r""" - __init__(FormFactorRipple1Lorentz self, vdouble1d_t P) -> FormFactorRipple1Lorentz - __init__(FormFactorRipple1Lorentz self, double length, double width, double height) -> FormFactorRipple1Lorentz - FormFactorRipple1Lorentz::FormFactorRipple1Lorentz(double length, double width, double height) - - """ - _libBornAgainCore.FormFactorRipple1Lorentz_swiginit(self, _libBornAgainCore.new_FormFactorRipple1Lorentz(*args)) - - def clone(self): - r""" - clone(FormFactorRipple1Lorentz self) -> FormFactorRipple1Lorentz - FormFactorRipple1Lorentz * FormFactorRipple1Lorentz::clone() const override final - - Returns a clone of this ISample object. - - """ - return _libBornAgainCore.FormFactorRipple1Lorentz_clone(self) - - def accept(self, visitor): - r""" - accept(FormFactorRipple1Lorentz self, INodeVisitor visitor) - void FormFactorRipple1Lorentz::accept(INodeVisitor *visitor) const override final - - Calls the INodeVisitor's visit method. - - """ - return _libBornAgainCore.FormFactorRipple1Lorentz_accept(self, visitor) - __swig_destroy__ = _libBornAgainCore.delete_FormFactorRipple1Lorentz - -# Register FormFactorRipple1Lorentz in _libBornAgainCore: -_libBornAgainCore.FormFactorRipple1Lorentz_swigregister(FormFactorRipple1Lorentz) - -class FormFactorRipple2Box(ProfileRipple2): - r""" - - - The form factor for a cosine ripple, with box profile in elongation direction. - - C++ includes: FormFactorRipple2.h - - """ - - thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") - __repr__ = _swig_repr - - def __init__(self, *args): - r""" - __init__(FormFactorRipple2Box self, vdouble1d_t P) -> FormFactorRipple2Box - __init__(FormFactorRipple2Box self, double length, double width, double height, double asymmetry) -> FormFactorRipple2Box - FormFactorRipple2Box::FormFactorRipple2Box(double length, double width, double height, double asymmetry) - - """ - _libBornAgainCore.FormFactorRipple2Box_swiginit(self, _libBornAgainCore.new_FormFactorRipple2Box(*args)) - - def clone(self): - r""" - clone(FormFactorRipple2Box self) -> FormFactorRipple2Box - FormFactorRipple2Box * FormFactorRipple2Box::clone() const override final + clone(FormFactorSawtoothRippleBox self) -> FormFactorSawtoothRippleBox + IFormFactorBorn* IFormFactorBorn::clone() const override=0 Returns a clone of this ISample object. """ - return _libBornAgainCore.FormFactorRipple2Box_clone(self) + return _libBornAgainCore.FormFactorSawtoothRippleBox_clone(self) def accept(self, visitor): r""" - accept(FormFactorRipple2Box self, INodeVisitor visitor) - void FormFactorRipple2Box::accept(INodeVisitor *visitor) const override final + accept(FormFactorSawtoothRippleBox self, INodeVisitor visitor) + virtual void INode::accept(INodeVisitor *visitor) const =0 Calls the INodeVisitor's visit method. """ - return _libBornAgainCore.FormFactorRipple2Box_accept(self, visitor) - __swig_destroy__ = _libBornAgainCore.delete_FormFactorRipple2Box + return _libBornAgainCore.FormFactorSawtoothRippleBox_accept(self, visitor) + __swig_destroy__ = _libBornAgainCore.delete_FormFactorSawtoothRippleBox -# Register FormFactorRipple2Box in _libBornAgainCore: -_libBornAgainCore.FormFactorRipple2Box_swigregister(FormFactorRipple2Box) +# Register FormFactorSawtoothRippleBox in _libBornAgainCore: +_libBornAgainCore.FormFactorSawtoothRippleBox_swigregister(FormFactorSawtoothRippleBox) -class FormFactorRipple2Gauss(ProfileRipple2): - r""" - - - The form factor for a cosine ripple, with Gaussian profile in elongation direction. - - C++ includes: FormFactorRipple2.h - - """ +class FormFactorSawtoothRippleGauss(ISawtoothRipple): + r"""Proxy of C++ FormFactorSawtoothRippleGauss class.""" thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") __repr__ = _swig_repr def __init__(self, *args): r""" - __init__(FormFactorRipple2Gauss self, vdouble1d_t P) -> FormFactorRipple2Gauss - __init__(FormFactorRipple2Gauss self, double length, double width, double height, double asymmetry) -> FormFactorRipple2Gauss - FormFactorRipple2Gauss::FormFactorRipple2Gauss(double length, double width, double height, double asymmetry) - + __init__(FormFactorSawtoothRippleGauss self, vdouble1d_t P) -> FormFactorSawtoothRippleGauss + __init__(FormFactorSawtoothRippleGauss self, double length, double width, double height, double asymmetry) -> FormFactorSawtoothRippleGauss """ - _libBornAgainCore.FormFactorRipple2Gauss_swiginit(self, _libBornAgainCore.new_FormFactorRipple2Gauss(*args)) + _libBornAgainCore.FormFactorSawtoothRippleGauss_swiginit(self, _libBornAgainCore.new_FormFactorSawtoothRippleGauss(*args)) def clone(self): r""" - clone(FormFactorRipple2Gauss self) -> FormFactorRipple2Gauss - FormFactorRipple2Gauss * FormFactorRipple2Gauss::clone() const override final + clone(FormFactorSawtoothRippleGauss self) -> FormFactorSawtoothRippleGauss + IFormFactorBorn* IFormFactorBorn::clone() const override=0 Returns a clone of this ISample object. """ - return _libBornAgainCore.FormFactorRipple2Gauss_clone(self) + return _libBornAgainCore.FormFactorSawtoothRippleGauss_clone(self) def accept(self, visitor): r""" - accept(FormFactorRipple2Gauss self, INodeVisitor visitor) - void FormFactorRipple2Gauss::accept(INodeVisitor *visitor) const override final + accept(FormFactorSawtoothRippleGauss self, INodeVisitor visitor) + virtual void INode::accept(INodeVisitor *visitor) const =0 Calls the INodeVisitor's visit method. """ - return _libBornAgainCore.FormFactorRipple2Gauss_accept(self, visitor) - __swig_destroy__ = _libBornAgainCore.delete_FormFactorRipple2Gauss - -# Register FormFactorRipple2Gauss in _libBornAgainCore: -_libBornAgainCore.FormFactorRipple2Gauss_swigregister(FormFactorRipple2Gauss) - -class FormFactorRipple2Lorentz(ProfileRipple2): - r""" + return _libBornAgainCore.FormFactorSawtoothRippleGauss_accept(self, visitor) + __swig_destroy__ = _libBornAgainCore.delete_FormFactorSawtoothRippleGauss +# Register FormFactorSawtoothRippleGauss in _libBornAgainCore: +_libBornAgainCore.FormFactorSawtoothRippleGauss_swigregister(FormFactorSawtoothRippleGauss) - The form factor for a cosine ripple, with Lorentz form factor in elongation direction. - - C++ includes: FormFactorRipple2.h - - """ +class FormFactorSawtoothRippleLorentz(ISawtoothRipple): + r"""Proxy of C++ FormFactorSawtoothRippleLorentz class.""" thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") __repr__ = _swig_repr def __init__(self, *args): r""" - __init__(FormFactorRipple2Lorentz self, vdouble1d_t P) -> FormFactorRipple2Lorentz - __init__(FormFactorRipple2Lorentz self, double length, double width, double height, double asymmetry) -> FormFactorRipple2Lorentz - FormFactorRipple2Lorentz::FormFactorRipple2Lorentz(double length, double width, double height, double asymmetry) - + __init__(FormFactorSawtoothRippleLorentz self, vdouble1d_t P) -> FormFactorSawtoothRippleLorentz + __init__(FormFactorSawtoothRippleLorentz self, double length, double width, double height, double asymmetry) -> FormFactorSawtoothRippleLorentz """ - _libBornAgainCore.FormFactorRipple2Lorentz_swiginit(self, _libBornAgainCore.new_FormFactorRipple2Lorentz(*args)) + _libBornAgainCore.FormFactorSawtoothRippleLorentz_swiginit(self, _libBornAgainCore.new_FormFactorSawtoothRippleLorentz(*args)) def clone(self): r""" - clone(FormFactorRipple2Lorentz self) -> FormFactorRipple2Lorentz - FormFactorRipple2Lorentz * FormFactorRipple2Lorentz::clone() const override final + clone(FormFactorSawtoothRippleLorentz self) -> FormFactorSawtoothRippleLorentz + IFormFactorBorn* IFormFactorBorn::clone() const override=0 Returns a clone of this ISample object. """ - return _libBornAgainCore.FormFactorRipple2Lorentz_clone(self) + return _libBornAgainCore.FormFactorSawtoothRippleLorentz_clone(self) def accept(self, visitor): r""" - accept(FormFactorRipple2Lorentz self, INodeVisitor visitor) - void FormFactorRipple2Lorentz::accept(INodeVisitor *visitor) const override final + accept(FormFactorSawtoothRippleLorentz self, INodeVisitor visitor) + virtual void INode::accept(INodeVisitor *visitor) const =0 Calls the INodeVisitor's visit method. """ - return _libBornAgainCore.FormFactorRipple2Lorentz_accept(self, visitor) - __swig_destroy__ = _libBornAgainCore.delete_FormFactorRipple2Lorentz + return _libBornAgainCore.FormFactorSawtoothRippleLorentz_accept(self, visitor) + __swig_destroy__ = _libBornAgainCore.delete_FormFactorSawtoothRippleLorentz -# Register FormFactorRipple2Lorentz in _libBornAgainCore: -_libBornAgainCore.FormFactorRipple2Lorentz_swigregister(FormFactorRipple2Lorentz) +# Register FormFactorSawtoothRippleLorentz in _libBornAgainCore: +_libBornAgainCore.FormFactorSawtoothRippleLorentz_swigregister(FormFactorSawtoothRippleLorentz) class FormFactorTetrahedron(FormFactorPolyhedron): r""" diff --git a/auto/Wrap/libBornAgainCore_wrap.cpp b/auto/Wrap/libBornAgainCore_wrap.cpp index d525fec916c19a74a8236a55e7a8ea7143ef7fca..9eea41e7afb1b10d000cbd39b499ea422018bdc9 100644 --- a/auto/Wrap/libBornAgainCore_wrap.cpp +++ b/auto/Wrap/libBornAgainCore_wrap.cpp @@ -3130,37 +3130,37 @@ namespace Swig { #define SWIGTYPE_p_FormFactorCone swig_types[62] #define SWIGTYPE_p_FormFactorCone6 swig_types[63] #define SWIGTYPE_p_FormFactorCoreShell swig_types[64] -#define SWIGTYPE_p_FormFactorCrystal swig_types[65] -#define SWIGTYPE_p_FormFactorCuboctahedron swig_types[66] -#define SWIGTYPE_p_FormFactorCylinder swig_types[67] -#define SWIGTYPE_p_FormFactorDWBA swig_types[68] -#define SWIGTYPE_p_FormFactorDWBAPol swig_types[69] -#define SWIGTYPE_p_FormFactorDecoratorMaterial swig_types[70] -#define SWIGTYPE_p_FormFactorDecoratorPositionFactor swig_types[71] -#define SWIGTYPE_p_FormFactorDecoratorRotation swig_types[72] -#define SWIGTYPE_p_FormFactorDodecahedron swig_types[73] -#define SWIGTYPE_p_FormFactorDot swig_types[74] -#define SWIGTYPE_p_FormFactorEllipsoidalCylinder swig_types[75] -#define SWIGTYPE_p_FormFactorFullSphere swig_types[76] -#define SWIGTYPE_p_FormFactorFullSpheroid swig_types[77] -#define SWIGTYPE_p_FormFactorGaussSphere swig_types[78] -#define SWIGTYPE_p_FormFactorHemiEllipsoid swig_types[79] -#define SWIGTYPE_p_FormFactorHollowSphere swig_types[80] -#define SWIGTYPE_p_FormFactorIcosahedron swig_types[81] -#define SWIGTYPE_p_FormFactorLongBoxGauss swig_types[82] -#define SWIGTYPE_p_FormFactorLongBoxLorentz swig_types[83] -#define SWIGTYPE_p_FormFactorPolygonalPrism swig_types[84] -#define SWIGTYPE_p_FormFactorPolygonalSurface swig_types[85] -#define SWIGTYPE_p_FormFactorPolyhedron swig_types[86] -#define SWIGTYPE_p_FormFactorPrism3 swig_types[87] -#define SWIGTYPE_p_FormFactorPrism6 swig_types[88] -#define SWIGTYPE_p_FormFactorPyramid swig_types[89] -#define SWIGTYPE_p_FormFactorRipple1Box swig_types[90] -#define SWIGTYPE_p_FormFactorRipple1Gauss swig_types[91] -#define SWIGTYPE_p_FormFactorRipple1Lorentz swig_types[92] -#define SWIGTYPE_p_FormFactorRipple2Box swig_types[93] -#define SWIGTYPE_p_FormFactorRipple2Gauss swig_types[94] -#define SWIGTYPE_p_FormFactorRipple2Lorentz swig_types[95] +#define SWIGTYPE_p_FormFactorCosineRippleBox swig_types[65] +#define SWIGTYPE_p_FormFactorCosineRippleGauss swig_types[66] +#define SWIGTYPE_p_FormFactorCosineRippleLorentz swig_types[67] +#define SWIGTYPE_p_FormFactorCrystal swig_types[68] +#define SWIGTYPE_p_FormFactorCuboctahedron swig_types[69] +#define SWIGTYPE_p_FormFactorCylinder swig_types[70] +#define SWIGTYPE_p_FormFactorDWBA swig_types[71] +#define SWIGTYPE_p_FormFactorDWBAPol swig_types[72] +#define SWIGTYPE_p_FormFactorDecoratorMaterial swig_types[73] +#define SWIGTYPE_p_FormFactorDecoratorPositionFactor swig_types[74] +#define SWIGTYPE_p_FormFactorDecoratorRotation swig_types[75] +#define SWIGTYPE_p_FormFactorDodecahedron swig_types[76] +#define SWIGTYPE_p_FormFactorDot swig_types[77] +#define SWIGTYPE_p_FormFactorEllipsoidalCylinder swig_types[78] +#define SWIGTYPE_p_FormFactorFullSphere swig_types[79] +#define SWIGTYPE_p_FormFactorFullSpheroid swig_types[80] +#define SWIGTYPE_p_FormFactorGaussSphere swig_types[81] +#define SWIGTYPE_p_FormFactorHemiEllipsoid swig_types[82] +#define SWIGTYPE_p_FormFactorHollowSphere swig_types[83] +#define SWIGTYPE_p_FormFactorIcosahedron swig_types[84] +#define SWIGTYPE_p_FormFactorLongBoxGauss swig_types[85] +#define SWIGTYPE_p_FormFactorLongBoxLorentz swig_types[86] +#define SWIGTYPE_p_FormFactorPolygonalPrism swig_types[87] +#define SWIGTYPE_p_FormFactorPolygonalSurface swig_types[88] +#define SWIGTYPE_p_FormFactorPolyhedron swig_types[89] +#define SWIGTYPE_p_FormFactorPrism3 swig_types[90] +#define SWIGTYPE_p_FormFactorPrism6 swig_types[91] +#define SWIGTYPE_p_FormFactorPyramid swig_types[92] +#define SWIGTYPE_p_FormFactorSawtoothRippleBox swig_types[93] +#define SWIGTYPE_p_FormFactorSawtoothRippleGauss swig_types[94] +#define SWIGTYPE_p_FormFactorSawtoothRippleLorentz swig_types[95] #define SWIGTYPE_p_FormFactorSphereGaussianRadius swig_types[96] #define SWIGTYPE_p_FormFactorSphereLogNormalRadius swig_types[97] #define SWIGTYPE_p_FormFactorTetrahedron swig_types[98] @@ -3180,106 +3180,106 @@ namespace Swig { #define SWIGTYPE_p_IChiSquaredModule swig_types[112] #define SWIGTYPE_p_ICloneable swig_types[113] #define SWIGTYPE_p_IClusteredParticles swig_types[114] -#define SWIGTYPE_p_IDetector swig_types[115] -#define SWIGTYPE_p_IDetector2D swig_types[116] -#define SWIGTYPE_p_IDetectorResolution swig_types[117] -#define SWIGTYPE_p_IDistribution1D swig_types[118] -#define SWIGTYPE_p_IFTDecayFunction1D swig_types[119] -#define SWIGTYPE_p_IFTDecayFunction2D swig_types[120] -#define SWIGTYPE_p_IFTDistribution1D swig_types[121] -#define SWIGTYPE_p_IFTDistribution2D swig_types[122] -#define SWIGTYPE_p_IFactoryT_std__string_IMultiLayerBuilder_t swig_types[123] -#define SWIGTYPE_p_IFactoryT_std__string_Simulation_t swig_types[124] -#define SWIGTYPE_p_IFootprintFactor swig_types[125] -#define SWIGTYPE_p_IFormFactor swig_types[126] -#define SWIGTYPE_p_IFormFactorBorn swig_types[127] -#define SWIGTYPE_p_IFormFactorDecorator swig_types[128] -#define SWIGTYPE_p_IHistogram swig_types[129] -#define SWIGTYPE_p_IIntensityFunction swig_types[130] -#define SWIGTYPE_p_IInterferenceFunction swig_types[131] -#define SWIGTYPE_p_ILatticeOrientation swig_types[132] -#define SWIGTYPE_p_ILayout swig_types[133] -#define SWIGTYPE_p_IMultiLayerBuilder swig_types[134] -#define SWIGTYPE_p_INode swig_types[135] -#define SWIGTYPE_p_INodeVisitor swig_types[136] -#define SWIGTYPE_p_IObservable swig_types[137] -#define SWIGTYPE_p_IObserver swig_types[138] -#define SWIGTYPE_p_IParameterT_double_t swig_types[139] -#define SWIGTYPE_p_IParameterized swig_types[140] -#define SWIGTYPE_p_IParticle swig_types[141] -#define SWIGTYPE_p_IPeakShape swig_types[142] -#define SWIGTYPE_p_IPixel swig_types[143] -#define SWIGTYPE_p_IProfileRipple swig_types[144] -#define SWIGTYPE_p_IResolutionFunction2D swig_types[145] -#define SWIGTYPE_p_IRotation swig_types[146] -#define SWIGTYPE_p_ISample swig_types[147] -#define SWIGTYPE_p_ISelectionRule swig_types[148] -#define SWIGTYPE_p_IShape2D swig_types[149] -#define SWIGTYPE_p_ISpecularScan swig_types[150] -#define SWIGTYPE_p_IUnitConverter swig_types[151] -#define SWIGTYPE_p_IVarianceFunction swig_types[152] -#define SWIGTYPE_p_IdentityRotation swig_types[153] -#define SWIGTYPE_p_Instrument swig_types[154] -#define SWIGTYPE_p_IntensityDataIOFactory swig_types[155] -#define SWIGTYPE_p_IntensityFunctionLog swig_types[156] -#define SWIGTYPE_p_IntensityFunctionSqrt swig_types[157] -#define SWIGTYPE_p_InterferenceFunction1DLattice swig_types[158] -#define SWIGTYPE_p_InterferenceFunction2DLattice swig_types[159] -#define SWIGTYPE_p_InterferenceFunction2DParaCrystal swig_types[160] -#define SWIGTYPE_p_InterferenceFunction2DSuperLattice swig_types[161] -#define SWIGTYPE_p_InterferenceFunction3DLattice swig_types[162] -#define SWIGTYPE_p_InterferenceFunctionFinite2DLattice swig_types[163] -#define SWIGTYPE_p_InterferenceFunctionFinite3DLattice swig_types[164] -#define SWIGTYPE_p_InterferenceFunctionHardDisk swig_types[165] -#define SWIGTYPE_p_InterferenceFunctionNone swig_types[166] -#define SWIGTYPE_p_InterferenceFunctionRadialParaCrystal swig_types[167] -#define SWIGTYPE_p_InterferenceFunctionTwin swig_types[168] -#define SWIGTYPE_p_IsGISAXSDetector swig_types[169] -#define SWIGTYPE_p_IsotropicGaussPeakShape swig_types[170] -#define SWIGTYPE_p_IsotropicLorentzPeakShape swig_types[171] -#define SWIGTYPE_p_IterationInfo swig_types[172] -#define SWIGTYPE_p_Lattice swig_types[173] -#define SWIGTYPE_p_Lattice2D swig_types[174] -#define SWIGTYPE_p_Lattice2D__ReciprocalBases swig_types[175] -#define SWIGTYPE_p_Layer swig_types[176] -#define SWIGTYPE_p_LayerInterface swig_types[177] -#define SWIGTYPE_p_LayerRoughness swig_types[178] -#define SWIGTYPE_p_Line swig_types[179] -#define SWIGTYPE_p_LorentzFisherPeakShape swig_types[180] -#define SWIGTYPE_p_Material swig_types[181] -#define SWIGTYPE_p_MesoCrystal swig_types[182] -#define SWIGTYPE_p_MillerIndex swig_types[183] -#define SWIGTYPE_p_MillerIndexOrientation swig_types[184] -#define SWIGTYPE_p_MisesFisherGaussPeakShape swig_types[185] -#define SWIGTYPE_p_MisesGaussPeakShape swig_types[186] -#define SWIGTYPE_p_MultiLayer swig_types[187] -#define SWIGTYPE_p_NodeMeta swig_types[188] -#define SWIGTYPE_p_OffSpecSimulation swig_types[189] -#define SWIGTYPE_p_OutputDataIteratorT_double_OutputDataT_double_t_t swig_types[190] -#define SWIGTYPE_p_OutputDataIteratorT_double_const_OutputDataT_double_t_const_t swig_types[191] -#define SWIGTYPE_p_OutputDataT_CumulativeValue_t swig_types[192] -#define SWIGTYPE_p_OutputDataT_bool_t swig_types[193] -#define SWIGTYPE_p_OutputDataT_double_t swig_types[194] -#define SWIGTYPE_p_ParaMeta swig_types[195] -#define SWIGTYPE_p_ParameterDistribution swig_types[196] -#define SWIGTYPE_p_ParameterPool swig_types[197] -#define SWIGTYPE_p_ParameterSample swig_types[198] -#define SWIGTYPE_p_Particle swig_types[199] -#define SWIGTYPE_p_ParticleComposition swig_types[200] -#define SWIGTYPE_p_ParticleCoreShell swig_types[201] -#define SWIGTYPE_p_ParticleDistribution swig_types[202] -#define SWIGTYPE_p_ParticleLayout swig_types[203] -#define SWIGTYPE_p_ParticleLimits swig_types[204] -#define SWIGTYPE_p_PoissonNoiseBackground swig_types[205] -#define SWIGTYPE_p_Polygon swig_types[206] -#define SWIGTYPE_p_PolygonPrivate swig_types[207] -#define SWIGTYPE_p_PolygonalTopology swig_types[208] -#define SWIGTYPE_p_PolyhedralEdge swig_types[209] -#define SWIGTYPE_p_PolyhedralFace swig_types[210] -#define SWIGTYPE_p_PolyhedralTopology swig_types[211] -#define SWIGTYPE_p_ProfileRectangularRipple swig_types[212] -#define SWIGTYPE_p_ProfileRipple1 swig_types[213] -#define SWIGTYPE_p_ProfileRipple2 swig_types[214] +#define SWIGTYPE_p_ICosineRipple swig_types[115] +#define SWIGTYPE_p_IDetector swig_types[116] +#define SWIGTYPE_p_IDetector2D swig_types[117] +#define SWIGTYPE_p_IDetectorResolution swig_types[118] +#define SWIGTYPE_p_IDistribution1D swig_types[119] +#define SWIGTYPE_p_IFTDecayFunction1D swig_types[120] +#define SWIGTYPE_p_IFTDecayFunction2D swig_types[121] +#define SWIGTYPE_p_IFTDistribution1D swig_types[122] +#define SWIGTYPE_p_IFTDistribution2D swig_types[123] +#define SWIGTYPE_p_IFactoryT_std__string_IMultiLayerBuilder_t swig_types[124] +#define SWIGTYPE_p_IFactoryT_std__string_Simulation_t swig_types[125] +#define SWIGTYPE_p_IFootprintFactor swig_types[126] +#define SWIGTYPE_p_IFormFactor swig_types[127] +#define SWIGTYPE_p_IFormFactorBorn swig_types[128] +#define SWIGTYPE_p_IFormFactorDecorator swig_types[129] +#define SWIGTYPE_p_IHistogram swig_types[130] +#define SWIGTYPE_p_IIntensityFunction swig_types[131] +#define SWIGTYPE_p_IInterferenceFunction swig_types[132] +#define SWIGTYPE_p_ILatticeOrientation swig_types[133] +#define SWIGTYPE_p_ILayout swig_types[134] +#define SWIGTYPE_p_IMultiLayerBuilder swig_types[135] +#define SWIGTYPE_p_INode swig_types[136] +#define SWIGTYPE_p_INodeVisitor swig_types[137] +#define SWIGTYPE_p_IObservable swig_types[138] +#define SWIGTYPE_p_IObserver swig_types[139] +#define SWIGTYPE_p_IParameterT_double_t swig_types[140] +#define SWIGTYPE_p_IParameterized swig_types[141] +#define SWIGTYPE_p_IParticle swig_types[142] +#define SWIGTYPE_p_IPeakShape swig_types[143] +#define SWIGTYPE_p_IPixel swig_types[144] +#define SWIGTYPE_p_IProfileRectangularRipple swig_types[145] +#define SWIGTYPE_p_IProfileRipple swig_types[146] +#define SWIGTYPE_p_IResolutionFunction2D swig_types[147] +#define SWIGTYPE_p_IRotation swig_types[148] +#define SWIGTYPE_p_ISample swig_types[149] +#define SWIGTYPE_p_ISawtoothRipple swig_types[150] +#define SWIGTYPE_p_ISelectionRule swig_types[151] +#define SWIGTYPE_p_IShape2D swig_types[152] +#define SWIGTYPE_p_ISpecularScan swig_types[153] +#define SWIGTYPE_p_IUnitConverter swig_types[154] +#define SWIGTYPE_p_IVarianceFunction swig_types[155] +#define SWIGTYPE_p_IdentityRotation swig_types[156] +#define SWIGTYPE_p_Instrument swig_types[157] +#define SWIGTYPE_p_IntensityDataIOFactory swig_types[158] +#define SWIGTYPE_p_IntensityFunctionLog swig_types[159] +#define SWIGTYPE_p_IntensityFunctionSqrt swig_types[160] +#define SWIGTYPE_p_InterferenceFunction1DLattice swig_types[161] +#define SWIGTYPE_p_InterferenceFunction2DLattice swig_types[162] +#define SWIGTYPE_p_InterferenceFunction2DParaCrystal swig_types[163] +#define SWIGTYPE_p_InterferenceFunction2DSuperLattice swig_types[164] +#define SWIGTYPE_p_InterferenceFunction3DLattice swig_types[165] +#define SWIGTYPE_p_InterferenceFunctionFinite2DLattice swig_types[166] +#define SWIGTYPE_p_InterferenceFunctionFinite3DLattice swig_types[167] +#define SWIGTYPE_p_InterferenceFunctionHardDisk swig_types[168] +#define SWIGTYPE_p_InterferenceFunctionNone swig_types[169] +#define SWIGTYPE_p_InterferenceFunctionRadialParaCrystal swig_types[170] +#define SWIGTYPE_p_InterferenceFunctionTwin swig_types[171] +#define SWIGTYPE_p_IsGISAXSDetector swig_types[172] +#define SWIGTYPE_p_IsotropicGaussPeakShape swig_types[173] +#define SWIGTYPE_p_IsotropicLorentzPeakShape swig_types[174] +#define SWIGTYPE_p_IterationInfo swig_types[175] +#define SWIGTYPE_p_Lattice swig_types[176] +#define SWIGTYPE_p_Lattice2D swig_types[177] +#define SWIGTYPE_p_Lattice2D__ReciprocalBases swig_types[178] +#define SWIGTYPE_p_Layer swig_types[179] +#define SWIGTYPE_p_LayerInterface swig_types[180] +#define SWIGTYPE_p_LayerRoughness swig_types[181] +#define SWIGTYPE_p_Line swig_types[182] +#define SWIGTYPE_p_LorentzFisherPeakShape swig_types[183] +#define SWIGTYPE_p_Material swig_types[184] +#define SWIGTYPE_p_MesoCrystal swig_types[185] +#define SWIGTYPE_p_MillerIndex swig_types[186] +#define SWIGTYPE_p_MillerIndexOrientation swig_types[187] +#define SWIGTYPE_p_MisesFisherGaussPeakShape swig_types[188] +#define SWIGTYPE_p_MisesGaussPeakShape swig_types[189] +#define SWIGTYPE_p_MultiLayer swig_types[190] +#define SWIGTYPE_p_NodeMeta swig_types[191] +#define SWIGTYPE_p_OffSpecSimulation swig_types[192] +#define SWIGTYPE_p_OutputDataIteratorT_double_OutputDataT_double_t_t swig_types[193] +#define SWIGTYPE_p_OutputDataIteratorT_double_const_OutputDataT_double_t_const_t swig_types[194] +#define SWIGTYPE_p_OutputDataT_CumulativeValue_t swig_types[195] +#define SWIGTYPE_p_OutputDataT_bool_t swig_types[196] +#define SWIGTYPE_p_OutputDataT_double_t swig_types[197] +#define SWIGTYPE_p_ParaMeta swig_types[198] +#define SWIGTYPE_p_ParameterDistribution swig_types[199] +#define SWIGTYPE_p_ParameterPool swig_types[200] +#define SWIGTYPE_p_ParameterSample swig_types[201] +#define SWIGTYPE_p_Particle swig_types[202] +#define SWIGTYPE_p_ParticleComposition swig_types[203] +#define SWIGTYPE_p_ParticleCoreShell swig_types[204] +#define SWIGTYPE_p_ParticleDistribution swig_types[205] +#define SWIGTYPE_p_ParticleLayout swig_types[206] +#define SWIGTYPE_p_ParticleLimits swig_types[207] +#define SWIGTYPE_p_PoissonNoiseBackground swig_types[208] +#define SWIGTYPE_p_Polygon swig_types[209] +#define SWIGTYPE_p_PolygonPrivate swig_types[210] +#define SWIGTYPE_p_PolygonalTopology swig_types[211] +#define SWIGTYPE_p_PolyhedralEdge swig_types[212] +#define SWIGTYPE_p_PolyhedralFace swig_types[213] +#define SWIGTYPE_p_PolyhedralTopology swig_types[214] #define SWIGTYPE_p_ProgressHandler__Callback_t swig_types[215] #define SWIGTYPE_p_PyBuilderCallback swig_types[216] #define SWIGTYPE_p_PyObserverCallback swig_types[217] @@ -6943,6 +6943,7 @@ SWIGINTERN void std_vector_Sl_std_pair_Sl_double_Sc_double_Sg__Sg__insert__SWIG_ #include "Core/HardParticle/FormFactorCantellatedCube.h" #include "Core/HardParticle/FormFactorCone.h" #include "Core/HardParticle/FormFactorCone6.h" +#include "Core/HardParticle/FormFactorCosineRipple.h" #include "Core/HardParticle/FormFactorCuboctahedron.h" #include "Core/HardParticle/FormFactorCylinder.h" #include "Core/HardParticle/FormFactorDodecahedron.h" @@ -6960,8 +6961,7 @@ SWIGINTERN void std_vector_Sl_std_pair_Sl_double_Sc_double_Sg__Sg__insert__SWIG_ #include "Core/HardParticle/FormFactorPrism3.h" #include "Core/HardParticle/FormFactorPrism6.h" #include "Core/HardParticle/FormFactorPyramid.h" -#include "Core/HardParticle/FormFactorRipple1.h" -#include "Core/HardParticle/FormFactorRipple2.h" +#include "Core/HardParticle/FormFactorSawtoothRipple.h" #include "Core/HardParticle/FormFactorTetrahedron.h" #include "Core/HardParticle/FormFactorTruncatedCube.h" #include "Core/HardParticle/FormFactorTruncatedSphere.h" @@ -56092,7 +56092,7 @@ fail: SWIGINTERN PyObject *_wrap_INodeVisitor_visit__SWIG_43(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; INodeVisitor *arg1 = (INodeVisitor *) 0 ; - FormFactorRipple1Box *arg2 = (FormFactorRipple1Box *) 0 ; + FormFactorCosineRippleBox *arg2 = (FormFactorCosineRippleBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; @@ -56104,12 +56104,12 @@ SWIGINTERN PyObject *_wrap_INodeVisitor_visit__SWIG_43(PyObject *SWIGUNUSEDPARM( SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "INodeVisitor_visit" "', argument " "1"" of type '" "INodeVisitor *""'"); } arg1 = reinterpret_cast< INodeVisitor * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_FormFactorRipple1Box, 0 | 0 ); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_FormFactorCosineRippleBox, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "INodeVisitor_visit" "', argument " "2"" of type '" "FormFactorRipple1Box const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "INodeVisitor_visit" "', argument " "2"" of type '" "FormFactorCosineRippleBox const *""'"); } - arg2 = reinterpret_cast< FormFactorRipple1Box * >(argp2); - (arg1)->visit((FormFactorRipple1Box const *)arg2); + arg2 = reinterpret_cast< FormFactorCosineRippleBox * >(argp2); + (arg1)->visit((FormFactorCosineRippleBox const *)arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -56120,7 +56120,7 @@ fail: SWIGINTERN PyObject *_wrap_INodeVisitor_visit__SWIG_44(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; INodeVisitor *arg1 = (INodeVisitor *) 0 ; - FormFactorRipple1Gauss *arg2 = (FormFactorRipple1Gauss *) 0 ; + FormFactorCosineRippleGauss *arg2 = (FormFactorCosineRippleGauss *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; @@ -56132,12 +56132,12 @@ SWIGINTERN PyObject *_wrap_INodeVisitor_visit__SWIG_44(PyObject *SWIGUNUSEDPARM( SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "INodeVisitor_visit" "', argument " "1"" of type '" "INodeVisitor *""'"); } arg1 = reinterpret_cast< INodeVisitor * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_FormFactorRipple1Gauss, 0 | 0 ); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_FormFactorCosineRippleGauss, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "INodeVisitor_visit" "', argument " "2"" of type '" "FormFactorRipple1Gauss const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "INodeVisitor_visit" "', argument " "2"" of type '" "FormFactorCosineRippleGauss const *""'"); } - arg2 = reinterpret_cast< FormFactorRipple1Gauss * >(argp2); - (arg1)->visit((FormFactorRipple1Gauss const *)arg2); + arg2 = reinterpret_cast< FormFactorCosineRippleGauss * >(argp2); + (arg1)->visit((FormFactorCosineRippleGauss const *)arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -56148,7 +56148,7 @@ fail: SWIGINTERN PyObject *_wrap_INodeVisitor_visit__SWIG_45(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; INodeVisitor *arg1 = (INodeVisitor *) 0 ; - FormFactorRipple1Lorentz *arg2 = (FormFactorRipple1Lorentz *) 0 ; + FormFactorCosineRippleLorentz *arg2 = (FormFactorCosineRippleLorentz *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; @@ -56160,12 +56160,12 @@ SWIGINTERN PyObject *_wrap_INodeVisitor_visit__SWIG_45(PyObject *SWIGUNUSEDPARM( SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "INodeVisitor_visit" "', argument " "1"" of type '" "INodeVisitor *""'"); } arg1 = reinterpret_cast< INodeVisitor * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_FormFactorRipple1Lorentz, 0 | 0 ); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_FormFactorCosineRippleLorentz, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "INodeVisitor_visit" "', argument " "2"" of type '" "FormFactorRipple1Lorentz const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "INodeVisitor_visit" "', argument " "2"" of type '" "FormFactorCosineRippleLorentz const *""'"); } - arg2 = reinterpret_cast< FormFactorRipple1Lorentz * >(argp2); - (arg1)->visit((FormFactorRipple1Lorentz const *)arg2); + arg2 = reinterpret_cast< FormFactorCosineRippleLorentz * >(argp2); + (arg1)->visit((FormFactorCosineRippleLorentz const *)arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -56176,7 +56176,7 @@ fail: SWIGINTERN PyObject *_wrap_INodeVisitor_visit__SWIG_46(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; INodeVisitor *arg1 = (INodeVisitor *) 0 ; - FormFactorRipple2Box *arg2 = (FormFactorRipple2Box *) 0 ; + FormFactorSawtoothRippleBox *arg2 = (FormFactorSawtoothRippleBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; @@ -56188,12 +56188,12 @@ SWIGINTERN PyObject *_wrap_INodeVisitor_visit__SWIG_46(PyObject *SWIGUNUSEDPARM( SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "INodeVisitor_visit" "', argument " "1"" of type '" "INodeVisitor *""'"); } arg1 = reinterpret_cast< INodeVisitor * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_FormFactorRipple2Box, 0 | 0 ); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_FormFactorSawtoothRippleBox, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "INodeVisitor_visit" "', argument " "2"" of type '" "FormFactorRipple2Box const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "INodeVisitor_visit" "', argument " "2"" of type '" "FormFactorSawtoothRippleBox const *""'"); } - arg2 = reinterpret_cast< FormFactorRipple2Box * >(argp2); - (arg1)->visit((FormFactorRipple2Box const *)arg2); + arg2 = reinterpret_cast< FormFactorSawtoothRippleBox * >(argp2); + (arg1)->visit((FormFactorSawtoothRippleBox const *)arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -56204,7 +56204,7 @@ fail: SWIGINTERN PyObject *_wrap_INodeVisitor_visit__SWIG_47(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; INodeVisitor *arg1 = (INodeVisitor *) 0 ; - FormFactorRipple2Gauss *arg2 = (FormFactorRipple2Gauss *) 0 ; + FormFactorSawtoothRippleGauss *arg2 = (FormFactorSawtoothRippleGauss *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; @@ -56216,12 +56216,12 @@ SWIGINTERN PyObject *_wrap_INodeVisitor_visit__SWIG_47(PyObject *SWIGUNUSEDPARM( SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "INodeVisitor_visit" "', argument " "1"" of type '" "INodeVisitor *""'"); } arg1 = reinterpret_cast< INodeVisitor * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_FormFactorRipple2Gauss, 0 | 0 ); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_FormFactorSawtoothRippleGauss, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "INodeVisitor_visit" "', argument " "2"" of type '" "FormFactorRipple2Gauss const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "INodeVisitor_visit" "', argument " "2"" of type '" "FormFactorSawtoothRippleGauss const *""'"); } - arg2 = reinterpret_cast< FormFactorRipple2Gauss * >(argp2); - (arg1)->visit((FormFactorRipple2Gauss const *)arg2); + arg2 = reinterpret_cast< FormFactorSawtoothRippleGauss * >(argp2); + (arg1)->visit((FormFactorSawtoothRippleGauss const *)arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -56232,7 +56232,7 @@ fail: SWIGINTERN PyObject *_wrap_INodeVisitor_visit__SWIG_48(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; INodeVisitor *arg1 = (INodeVisitor *) 0 ; - FormFactorRipple2Lorentz *arg2 = (FormFactorRipple2Lorentz *) 0 ; + FormFactorSawtoothRippleLorentz *arg2 = (FormFactorSawtoothRippleLorentz *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; @@ -56244,12 +56244,12 @@ SWIGINTERN PyObject *_wrap_INodeVisitor_visit__SWIG_48(PyObject *SWIGUNUSEDPARM( SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "INodeVisitor_visit" "', argument " "1"" of type '" "INodeVisitor *""'"); } arg1 = reinterpret_cast< INodeVisitor * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_FormFactorRipple2Lorentz, 0 | 0 ); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_FormFactorSawtoothRippleLorentz, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "INodeVisitor_visit" "', argument " "2"" of type '" "FormFactorRipple2Lorentz const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "INodeVisitor_visit" "', argument " "2"" of type '" "FormFactorSawtoothRippleLorentz const *""'"); } - arg2 = reinterpret_cast< FormFactorRipple2Lorentz * >(argp2); - (arg1)->visit((FormFactorRipple2Lorentz const *)arg2); + arg2 = reinterpret_cast< FormFactorSawtoothRippleLorentz * >(argp2); + (arg1)->visit((FormFactorSawtoothRippleLorentz const *)arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -58974,7 +58974,7 @@ SWIGINTERN PyObject *_wrap_INodeVisitor_visit(PyObject *self, PyObject *args) { _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FormFactorRipple1Box, 0); + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FormFactorCosineRippleBox, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_INodeVisitor_visit__SWIG_43(self, argc, argv); @@ -58988,7 +58988,7 @@ SWIGINTERN PyObject *_wrap_INodeVisitor_visit(PyObject *self, PyObject *args) { _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FormFactorRipple1Gauss, 0); + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FormFactorCosineRippleGauss, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_INodeVisitor_visit__SWIG_44(self, argc, argv); @@ -59002,7 +59002,7 @@ SWIGINTERN PyObject *_wrap_INodeVisitor_visit(PyObject *self, PyObject *args) { _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FormFactorRipple1Lorentz, 0); + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FormFactorCosineRippleLorentz, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_INodeVisitor_visit__SWIG_45(self, argc, argv); @@ -59016,7 +59016,7 @@ SWIGINTERN PyObject *_wrap_INodeVisitor_visit(PyObject *self, PyObject *args) { _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FormFactorRipple2Box, 0); + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FormFactorSawtoothRippleBox, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_INodeVisitor_visit__SWIG_46(self, argc, argv); @@ -59030,7 +59030,7 @@ SWIGINTERN PyObject *_wrap_INodeVisitor_visit(PyObject *self, PyObject *args) { _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FormFactorRipple2Gauss, 0); + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FormFactorSawtoothRippleGauss, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_INodeVisitor_visit__SWIG_47(self, argc, argv); @@ -59044,7 +59044,7 @@ SWIGINTERN PyObject *_wrap_INodeVisitor_visit(PyObject *self, PyObject *args) { _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FormFactorRipple2Lorentz, 0); + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FormFactorSawtoothRippleLorentz, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_INodeVisitor_visit__SWIG_48(self, argc, argv); @@ -60148,12 +60148,12 @@ fail: " INodeVisitor::visit(FormFactorPrism3 const *)\n" " INodeVisitor::visit(FormFactorPrism6 const *)\n" " INodeVisitor::visit(FormFactorPyramid const *)\n" - " INodeVisitor::visit(FormFactorRipple1Box const *)\n" - " INodeVisitor::visit(FormFactorRipple1Gauss const *)\n" - " INodeVisitor::visit(FormFactorRipple1Lorentz const *)\n" - " INodeVisitor::visit(FormFactorRipple2Box const *)\n" - " INodeVisitor::visit(FormFactorRipple2Gauss const *)\n" - " INodeVisitor::visit(FormFactorRipple2Lorentz const *)\n" + " INodeVisitor::visit(FormFactorCosineRippleBox const *)\n" + " INodeVisitor::visit(FormFactorCosineRippleGauss const *)\n" + " INodeVisitor::visit(FormFactorCosineRippleLorentz const *)\n" + " INodeVisitor::visit(FormFactorSawtoothRippleBox const *)\n" + " INodeVisitor::visit(FormFactorSawtoothRippleGauss const *)\n" + " INodeVisitor::visit(FormFactorSawtoothRippleLorentz const *)\n" " INodeVisitor::visit(FormFactorSphereGaussianRadius const *)\n" " INodeVisitor::visit(FormFactorSphereLogNormalRadius const *)\n" " INodeVisitor::visit(FormFactorTetrahedron const *)\n" @@ -92036,20 +92036,20 @@ SWIGINTERN PyObject *IProfileRipple_swigregister(PyObject *SWIGUNUSEDPARM(self), return SWIG_Py_Void(); } -SWIGINTERN PyObject *_wrap_delete_ProfileRectangularRipple(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_IProfileRectangularRipple(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - ProfileRectangularRipple *arg1 = (ProfileRectangularRipple *) 0 ; + IProfileRectangularRipple *arg1 = (IProfileRectangularRipple *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ProfileRectangularRipple, SWIG_POINTER_DISOWN | 0 ); + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_IProfileRectangularRipple, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ProfileRectangularRipple" "', argument " "1"" of type '" "ProfileRectangularRipple *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IProfileRectangularRipple" "', argument " "1"" of type '" "IProfileRectangularRipple *""'"); } - arg1 = reinterpret_cast< ProfileRectangularRipple * >(argp1); + arg1 = reinterpret_cast< IProfileRectangularRipple * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; @@ -92058,27 +92058,27 @@ fail: } -SWIGINTERN PyObject *ProfileRectangularRipple_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *IProfileRectangularRipple_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_ProfileRectangularRipple, SWIG_NewClientData(obj)); + SWIG_TypeNewClientData(SWIGTYPE_p_IProfileRectangularRipple, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } -SWIGINTERN PyObject *_wrap_delete_ProfileRipple1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_ICosineRipple(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - ProfileRipple1 *arg1 = (ProfileRipple1 *) 0 ; + ICosineRipple *arg1 = (ICosineRipple *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ProfileRipple1, SWIG_POINTER_DISOWN | 0 ); + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ICosineRipple, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ProfileRipple1" "', argument " "1"" of type '" "ProfileRipple1 *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ICosineRipple" "', argument " "1"" of type '" "ICosineRipple *""'"); } - arg1 = reinterpret_cast< ProfileRipple1 * >(argp1); + arg1 = reinterpret_cast< ICosineRipple * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; @@ -92087,16 +92087,16 @@ fail: } -SWIGINTERN PyObject *ProfileRipple1_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *ICosineRipple_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_ProfileRipple1, SWIG_NewClientData(obj)); + SWIG_TypeNewClientData(SWIGTYPE_p_ICosineRipple, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } -SWIGINTERN PyObject *_wrap_ProfileRipple2_getAsymmetry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_ISawtoothRipple_getAsymmetry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - ProfileRipple2 *arg1 = (ProfileRipple2 *) 0 ; + ISawtoothRipple *arg1 = (ISawtoothRipple *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; @@ -92104,12 +92104,12 @@ SWIGINTERN PyObject *_wrap_ProfileRipple2_getAsymmetry(PyObject *SWIGUNUSEDPARM( if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ProfileRipple2, 0 | 0 ); + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ISawtoothRipple, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProfileRipple2_getAsymmetry" "', argument " "1"" of type '" "ProfileRipple2 const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ISawtoothRipple_getAsymmetry" "', argument " "1"" of type '" "ISawtoothRipple const *""'"); } - arg1 = reinterpret_cast< ProfileRipple2 * >(argp1); - result = (double)((ProfileRipple2 const *)arg1)->getAsymmetry(); + arg1 = reinterpret_cast< ISawtoothRipple * >(argp1); + result = (double)((ISawtoothRipple const *)arg1)->getAsymmetry(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: @@ -92117,20 +92117,20 @@ fail: } -SWIGINTERN PyObject *_wrap_delete_ProfileRipple2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_ISawtoothRipple(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - ProfileRipple2 *arg1 = (ProfileRipple2 *) 0 ; + ISawtoothRipple *arg1 = (ISawtoothRipple *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ProfileRipple2, SWIG_POINTER_DISOWN | 0 ); + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ISawtoothRipple, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ProfileRipple2" "', argument " "1"" of type '" "ProfileRipple2 *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ISawtoothRipple" "', argument " "1"" of type '" "ISawtoothRipple *""'"); } - arg1 = reinterpret_cast< ProfileRipple2 * >(argp1); + arg1 = reinterpret_cast< ISawtoothRipple * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; @@ -92139,10 +92139,10 @@ fail: } -SWIGINTERN PyObject *ProfileRipple2_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *ISawtoothRipple_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_ProfileRipple2, SWIG_NewClientData(obj)); + SWIG_TypeNewClientData(SWIGTYPE_p_ISawtoothRipple, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } @@ -93578,6 +93578,585 @@ SWIGINTERN PyObject *FormFactorCone6_swiginit(PyObject *SWIGUNUSEDPARM(self), Py return SWIG_Python_InitShadowInstance(args); } +SWIGINTERN PyObject *_wrap_new_FormFactorCosineRippleBox__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::vector< double,std::allocator< double > > arg1 ; + FormFactorCosineRippleBox *result = 0 ; + + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + { + std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + int res = swig::asptr(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_FormFactorCosineRippleBox" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + result = (FormFactorCosineRippleBox *)new FormFactorCosineRippleBox(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorCosineRippleBox, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_FormFactorCosineRippleBox__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + double arg1 ; + double arg2 ; + double arg3 ; + double val1 ; + int ecode1 = 0 ; + double val2 ; + int ecode2 = 0 ; + double val3 ; + int ecode3 = 0 ; + FormFactorCosineRippleBox *result = 0 ; + + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + ecode1 = SWIG_AsVal_double(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FormFactorCosineRippleBox" "', argument " "1"" of type '" "double""'"); + } + arg1 = static_cast< double >(val1); + ecode2 = SWIG_AsVal_double(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FormFactorCosineRippleBox" "', argument " "2"" of type '" "double""'"); + } + arg2 = static_cast< double >(val2); + ecode3 = SWIG_AsVal_double(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FormFactorCosineRippleBox" "', argument " "3"" of type '" "double""'"); + } + arg3 = static_cast< double >(val3); + result = (FormFactorCosineRippleBox *)new FormFactorCosineRippleBox(arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorCosineRippleBox, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_FormFactorCosineRippleBox(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "new_FormFactorCosineRippleBox", 0, 3, argv))) SWIG_fail; + --argc; + if (argc == 1) { + int _v; + int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + _v = SWIG_CheckState(res); + if (_v) { + return _wrap_new_FormFactorCosineRippleBox__SWIG_0(self, argc, argv); + } + } + if (argc == 3) { + int _v; + { + int res = SWIG_AsVal_double(argv[0], NULL); + _v = SWIG_CheckState(res); + } + if (_v) { + { + int res = SWIG_AsVal_double(argv[1], NULL); + _v = SWIG_CheckState(res); + } + if (_v) { + { + int res = SWIG_AsVal_double(argv[2], NULL); + _v = SWIG_CheckState(res); + } + if (_v) { + return _wrap_new_FormFactorCosineRippleBox__SWIG_1(self, argc, argv); + } + } + } + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_FormFactorCosineRippleBox'.\n" + " Possible C/C++ prototypes are:\n" + " FormFactorCosineRippleBox::FormFactorCosineRippleBox(std::vector< double,std::allocator< double > > const)\n" + " FormFactorCosineRippleBox::FormFactorCosineRippleBox(double,double,double)\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_FormFactorCosineRippleBox_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + FormFactorCosineRippleBox *arg1 = (FormFactorCosineRippleBox *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + FormFactorCosineRippleBox *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorCosineRippleBox, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FormFactorCosineRippleBox_clone" "', argument " "1"" of type '" "FormFactorCosineRippleBox const *""'"); + } + arg1 = reinterpret_cast< FormFactorCosineRippleBox * >(argp1); + result = (FormFactorCosineRippleBox *)((FormFactorCosineRippleBox const *)arg1)->clone(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorCosineRippleBox, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_FormFactorCosineRippleBox_accept(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + FormFactorCosineRippleBox *arg1 = (FormFactorCosineRippleBox *) 0 ; + INodeVisitor *arg2 = (INodeVisitor *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "FormFactorCosineRippleBox_accept", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorCosineRippleBox, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FormFactorCosineRippleBox_accept" "', argument " "1"" of type '" "FormFactorCosineRippleBox const *""'"); + } + arg1 = reinterpret_cast< FormFactorCosineRippleBox * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_INodeVisitor, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FormFactorCosineRippleBox_accept" "', argument " "2"" of type '" "INodeVisitor *""'"); + } + arg2 = reinterpret_cast< INodeVisitor * >(argp2); + ((FormFactorCosineRippleBox const *)arg1)->accept(arg2); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_FormFactorCosineRippleBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + FormFactorCosineRippleBox *arg1 = (FormFactorCosineRippleBox *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorCosineRippleBox, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FormFactorCosineRippleBox" "', argument " "1"" of type '" "FormFactorCosineRippleBox *""'"); + } + arg1 = reinterpret_cast< FormFactorCosineRippleBox * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *FormFactorCosineRippleBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_FormFactorCosineRippleBox, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *FormFactorCosineRippleBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_new_FormFactorCosineRippleGauss__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::vector< double,std::allocator< double > > arg1 ; + FormFactorCosineRippleGauss *result = 0 ; + + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + { + std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + int res = swig::asptr(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_FormFactorCosineRippleGauss" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + result = (FormFactorCosineRippleGauss *)new FormFactorCosineRippleGauss(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorCosineRippleGauss, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_FormFactorCosineRippleGauss__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + double arg1 ; + double arg2 ; + double arg3 ; + double val1 ; + int ecode1 = 0 ; + double val2 ; + int ecode2 = 0 ; + double val3 ; + int ecode3 = 0 ; + FormFactorCosineRippleGauss *result = 0 ; + + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + ecode1 = SWIG_AsVal_double(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FormFactorCosineRippleGauss" "', argument " "1"" of type '" "double""'"); + } + arg1 = static_cast< double >(val1); + ecode2 = SWIG_AsVal_double(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FormFactorCosineRippleGauss" "', argument " "2"" of type '" "double""'"); + } + arg2 = static_cast< double >(val2); + ecode3 = SWIG_AsVal_double(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FormFactorCosineRippleGauss" "', argument " "3"" of type '" "double""'"); + } + arg3 = static_cast< double >(val3); + result = (FormFactorCosineRippleGauss *)new FormFactorCosineRippleGauss(arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorCosineRippleGauss, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_FormFactorCosineRippleGauss(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "new_FormFactorCosineRippleGauss", 0, 3, argv))) SWIG_fail; + --argc; + if (argc == 1) { + int _v; + int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + _v = SWIG_CheckState(res); + if (_v) { + return _wrap_new_FormFactorCosineRippleGauss__SWIG_0(self, argc, argv); + } + } + if (argc == 3) { + int _v; + { + int res = SWIG_AsVal_double(argv[0], NULL); + _v = SWIG_CheckState(res); + } + if (_v) { + { + int res = SWIG_AsVal_double(argv[1], NULL); + _v = SWIG_CheckState(res); + } + if (_v) { + { + int res = SWIG_AsVal_double(argv[2], NULL); + _v = SWIG_CheckState(res); + } + if (_v) { + return _wrap_new_FormFactorCosineRippleGauss__SWIG_1(self, argc, argv); + } + } + } + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_FormFactorCosineRippleGauss'.\n" + " Possible C/C++ prototypes are:\n" + " FormFactorCosineRippleGauss::FormFactorCosineRippleGauss(std::vector< double,std::allocator< double > > const)\n" + " FormFactorCosineRippleGauss::FormFactorCosineRippleGauss(double,double,double)\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_FormFactorCosineRippleGauss_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + FormFactorCosineRippleGauss *arg1 = (FormFactorCosineRippleGauss *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + FormFactorCosineRippleGauss *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorCosineRippleGauss, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FormFactorCosineRippleGauss_clone" "', argument " "1"" of type '" "FormFactorCosineRippleGauss const *""'"); + } + arg1 = reinterpret_cast< FormFactorCosineRippleGauss * >(argp1); + result = (FormFactorCosineRippleGauss *)((FormFactorCosineRippleGauss const *)arg1)->clone(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorCosineRippleGauss, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_FormFactorCosineRippleGauss_accept(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + FormFactorCosineRippleGauss *arg1 = (FormFactorCosineRippleGauss *) 0 ; + INodeVisitor *arg2 = (INodeVisitor *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "FormFactorCosineRippleGauss_accept", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorCosineRippleGauss, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FormFactorCosineRippleGauss_accept" "', argument " "1"" of type '" "FormFactorCosineRippleGauss const *""'"); + } + arg1 = reinterpret_cast< FormFactorCosineRippleGauss * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_INodeVisitor, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FormFactorCosineRippleGauss_accept" "', argument " "2"" of type '" "INodeVisitor *""'"); + } + arg2 = reinterpret_cast< INodeVisitor * >(argp2); + ((FormFactorCosineRippleGauss const *)arg1)->accept(arg2); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_FormFactorCosineRippleGauss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + FormFactorCosineRippleGauss *arg1 = (FormFactorCosineRippleGauss *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorCosineRippleGauss, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FormFactorCosineRippleGauss" "', argument " "1"" of type '" "FormFactorCosineRippleGauss *""'"); + } + arg1 = reinterpret_cast< FormFactorCosineRippleGauss * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *FormFactorCosineRippleGauss_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_FormFactorCosineRippleGauss, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *FormFactorCosineRippleGauss_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_new_FormFactorCosineRippleLorentz__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::vector< double,std::allocator< double > > arg1 ; + FormFactorCosineRippleLorentz *result = 0 ; + + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + { + std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + int res = swig::asptr(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_FormFactorCosineRippleLorentz" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + result = (FormFactorCosineRippleLorentz *)new FormFactorCosineRippleLorentz(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorCosineRippleLorentz, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_FormFactorCosineRippleLorentz__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + double arg1 ; + double arg2 ; + double arg3 ; + double val1 ; + int ecode1 = 0 ; + double val2 ; + int ecode2 = 0 ; + double val3 ; + int ecode3 = 0 ; + FormFactorCosineRippleLorentz *result = 0 ; + + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + ecode1 = SWIG_AsVal_double(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FormFactorCosineRippleLorentz" "', argument " "1"" of type '" "double""'"); + } + arg1 = static_cast< double >(val1); + ecode2 = SWIG_AsVal_double(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FormFactorCosineRippleLorentz" "', argument " "2"" of type '" "double""'"); + } + arg2 = static_cast< double >(val2); + ecode3 = SWIG_AsVal_double(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FormFactorCosineRippleLorentz" "', argument " "3"" of type '" "double""'"); + } + arg3 = static_cast< double >(val3); + result = (FormFactorCosineRippleLorentz *)new FormFactorCosineRippleLorentz(arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorCosineRippleLorentz, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_FormFactorCosineRippleLorentz(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "new_FormFactorCosineRippleLorentz", 0, 3, argv))) SWIG_fail; + --argc; + if (argc == 1) { + int _v; + int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + _v = SWIG_CheckState(res); + if (_v) { + return _wrap_new_FormFactorCosineRippleLorentz__SWIG_0(self, argc, argv); + } + } + if (argc == 3) { + int _v; + { + int res = SWIG_AsVal_double(argv[0], NULL); + _v = SWIG_CheckState(res); + } + if (_v) { + { + int res = SWIG_AsVal_double(argv[1], NULL); + _v = SWIG_CheckState(res); + } + if (_v) { + { + int res = SWIG_AsVal_double(argv[2], NULL); + _v = SWIG_CheckState(res); + } + if (_v) { + return _wrap_new_FormFactorCosineRippleLorentz__SWIG_1(self, argc, argv); + } + } + } + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_FormFactorCosineRippleLorentz'.\n" + " Possible C/C++ prototypes are:\n" + " FormFactorCosineRippleLorentz::FormFactorCosineRippleLorentz(std::vector< double,std::allocator< double > > const)\n" + " FormFactorCosineRippleLorentz::FormFactorCosineRippleLorentz(double,double,double)\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_FormFactorCosineRippleLorentz_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + FormFactorCosineRippleLorentz *arg1 = (FormFactorCosineRippleLorentz *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + FormFactorCosineRippleLorentz *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorCosineRippleLorentz, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FormFactorCosineRippleLorentz_clone" "', argument " "1"" of type '" "FormFactorCosineRippleLorentz const *""'"); + } + arg1 = reinterpret_cast< FormFactorCosineRippleLorentz * >(argp1); + result = (FormFactorCosineRippleLorentz *)((FormFactorCosineRippleLorentz const *)arg1)->clone(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorCosineRippleLorentz, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_FormFactorCosineRippleLorentz_accept(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + FormFactorCosineRippleLorentz *arg1 = (FormFactorCosineRippleLorentz *) 0 ; + INodeVisitor *arg2 = (INodeVisitor *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "FormFactorCosineRippleLorentz_accept", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorCosineRippleLorentz, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FormFactorCosineRippleLorentz_accept" "', argument " "1"" of type '" "FormFactorCosineRippleLorentz const *""'"); + } + arg1 = reinterpret_cast< FormFactorCosineRippleLorentz * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_INodeVisitor, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FormFactorCosineRippleLorentz_accept" "', argument " "2"" of type '" "INodeVisitor *""'"); + } + arg2 = reinterpret_cast< INodeVisitor * >(argp2); + ((FormFactorCosineRippleLorentz const *)arg1)->accept(arg2); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_FormFactorCosineRippleLorentz(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + FormFactorCosineRippleLorentz *arg1 = (FormFactorCosineRippleLorentz *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorCosineRippleLorentz, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FormFactorCosineRippleLorentz" "', argument " "1"" of type '" "FormFactorCosineRippleLorentz *""'"); + } + arg1 = reinterpret_cast< FormFactorCosineRippleLorentz * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *FormFactorCosineRippleLorentz_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_FormFactorCosineRippleLorentz, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *FormFactorCosineRippleLorentz_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + SWIGINTERN PyObject *_wrap_new_FormFactorCuboctahedron__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< double,std::allocator< double > > arg1 ; @@ -97745,609 +98324,30 @@ SWIGINTERN PyObject *FormFactorPyramid_swiginit(PyObject *SWIGUNUSEDPARM(self), return SWIG_Python_InitShadowInstance(args); } -SWIGINTERN PyObject *_wrap_new_FormFactorRipple1Box__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_new_FormFactorSawtoothRippleBox__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< double,std::allocator< double > > arg1 ; - FormFactorRipple1Box *result = 0 ; + FormFactorSawtoothRippleBox *result = 0 ; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; int res = swig::asptr(swig_obj[0], &ptr); if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_FormFactorRipple1Box" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const""'"); + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_FormFactorSawtoothRippleBox" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const""'"); } arg1 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; } - result = (FormFactorRipple1Box *)new FormFactorRipple1Box(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorRipple1Box, SWIG_POINTER_NEW | 0 ); + result = (FormFactorSawtoothRippleBox *)new FormFactorSawtoothRippleBox(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorSawtoothRippleBox, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_new_FormFactorRipple1Box__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - double arg1 ; - double arg2 ; - double arg3 ; - double val1 ; - int ecode1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - FormFactorRipple1Box *result = 0 ; - - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - ecode1 = SWIG_AsVal_double(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FormFactorRipple1Box" "', argument " "1"" of type '" "double""'"); - } - arg1 = static_cast< double >(val1); - ecode2 = SWIG_AsVal_double(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FormFactorRipple1Box" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FormFactorRipple1Box" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - result = (FormFactorRipple1Box *)new FormFactorRipple1Box(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorRipple1Box, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_FormFactorRipple1Box(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; - - if (!(argc = SWIG_Python_UnpackTuple(args, "new_FormFactorRipple1Box", 0, 3, argv))) SWIG_fail; - --argc; - if (argc == 1) { - int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_FormFactorRipple1Box__SWIG_0(self, argc, argv); - } - } - if (argc == 3) { - int _v; - { - int res = SWIG_AsVal_double(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_FormFactorRipple1Box__SWIG_1(self, argc, argv); - } - } - } - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_FormFactorRipple1Box'.\n" - " Possible C/C++ prototypes are:\n" - " FormFactorRipple1Box::FormFactorRipple1Box(std::vector< double,std::allocator< double > > const)\n" - " FormFactorRipple1Box::FormFactorRipple1Box(double,double,double)\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_FormFactorRipple1Box_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - FormFactorRipple1Box *arg1 = (FormFactorRipple1Box *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - FormFactorRipple1Box *result = 0 ; - - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorRipple1Box, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FormFactorRipple1Box_clone" "', argument " "1"" of type '" "FormFactorRipple1Box const *""'"); - } - arg1 = reinterpret_cast< FormFactorRipple1Box * >(argp1); - result = (FormFactorRipple1Box *)((FormFactorRipple1Box const *)arg1)->clone(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorRipple1Box, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_FormFactorRipple1Box_accept(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - FormFactorRipple1Box *arg1 = (FormFactorRipple1Box *) 0 ; - INodeVisitor *arg2 = (INodeVisitor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject *swig_obj[2] ; - - if (!SWIG_Python_UnpackTuple(args, "FormFactorRipple1Box_accept", 2, 2, swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorRipple1Box, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FormFactorRipple1Box_accept" "', argument " "1"" of type '" "FormFactorRipple1Box const *""'"); - } - arg1 = reinterpret_cast< FormFactorRipple1Box * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_INodeVisitor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FormFactorRipple1Box_accept" "', argument " "2"" of type '" "INodeVisitor *""'"); - } - arg2 = reinterpret_cast< INodeVisitor * >(argp2); - ((FormFactorRipple1Box const *)arg1)->accept(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_FormFactorRipple1Box(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - FormFactorRipple1Box *arg1 = (FormFactorRipple1Box *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorRipple1Box, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FormFactorRipple1Box" "', argument " "1"" of type '" "FormFactorRipple1Box *""'"); - } - arg1 = reinterpret_cast< FormFactorRipple1Box * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *FormFactorRipple1Box_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_FormFactorRipple1Box, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *FormFactorRipple1Box_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - return SWIG_Python_InitShadowInstance(args); -} - -SWIGINTERN PyObject *_wrap_new_FormFactorRipple1Gauss__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::vector< double,std::allocator< double > > arg1 ; - FormFactorRipple1Gauss *result = 0 ; - - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; - int res = swig::asptr(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_FormFactorRipple1Gauss" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - result = (FormFactorRipple1Gauss *)new FormFactorRipple1Gauss(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorRipple1Gauss, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_FormFactorRipple1Gauss__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - double arg1 ; - double arg2 ; - double arg3 ; - double val1 ; - int ecode1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - FormFactorRipple1Gauss *result = 0 ; - - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - ecode1 = SWIG_AsVal_double(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FormFactorRipple1Gauss" "', argument " "1"" of type '" "double""'"); - } - arg1 = static_cast< double >(val1); - ecode2 = SWIG_AsVal_double(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FormFactorRipple1Gauss" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FormFactorRipple1Gauss" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - result = (FormFactorRipple1Gauss *)new FormFactorRipple1Gauss(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorRipple1Gauss, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_FormFactorRipple1Gauss(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; - - if (!(argc = SWIG_Python_UnpackTuple(args, "new_FormFactorRipple1Gauss", 0, 3, argv))) SWIG_fail; - --argc; - if (argc == 1) { - int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_FormFactorRipple1Gauss__SWIG_0(self, argc, argv); - } - } - if (argc == 3) { - int _v; - { - int res = SWIG_AsVal_double(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_FormFactorRipple1Gauss__SWIG_1(self, argc, argv); - } - } - } - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_FormFactorRipple1Gauss'.\n" - " Possible C/C++ prototypes are:\n" - " FormFactorRipple1Gauss::FormFactorRipple1Gauss(std::vector< double,std::allocator< double > > const)\n" - " FormFactorRipple1Gauss::FormFactorRipple1Gauss(double,double,double)\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_FormFactorRipple1Gauss_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - FormFactorRipple1Gauss *arg1 = (FormFactorRipple1Gauss *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - FormFactorRipple1Gauss *result = 0 ; - - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorRipple1Gauss, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FormFactorRipple1Gauss_clone" "', argument " "1"" of type '" "FormFactorRipple1Gauss const *""'"); - } - arg1 = reinterpret_cast< FormFactorRipple1Gauss * >(argp1); - result = (FormFactorRipple1Gauss *)((FormFactorRipple1Gauss const *)arg1)->clone(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorRipple1Gauss, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_FormFactorRipple1Gauss_accept(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - FormFactorRipple1Gauss *arg1 = (FormFactorRipple1Gauss *) 0 ; - INodeVisitor *arg2 = (INodeVisitor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject *swig_obj[2] ; - - if (!SWIG_Python_UnpackTuple(args, "FormFactorRipple1Gauss_accept", 2, 2, swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorRipple1Gauss, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FormFactorRipple1Gauss_accept" "', argument " "1"" of type '" "FormFactorRipple1Gauss const *""'"); - } - arg1 = reinterpret_cast< FormFactorRipple1Gauss * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_INodeVisitor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FormFactorRipple1Gauss_accept" "', argument " "2"" of type '" "INodeVisitor *""'"); - } - arg2 = reinterpret_cast< INodeVisitor * >(argp2); - ((FormFactorRipple1Gauss const *)arg1)->accept(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_FormFactorRipple1Gauss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - FormFactorRipple1Gauss *arg1 = (FormFactorRipple1Gauss *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorRipple1Gauss, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FormFactorRipple1Gauss" "', argument " "1"" of type '" "FormFactorRipple1Gauss *""'"); - } - arg1 = reinterpret_cast< FormFactorRipple1Gauss * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *FormFactorRipple1Gauss_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_FormFactorRipple1Gauss, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *FormFactorRipple1Gauss_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - return SWIG_Python_InitShadowInstance(args); -} - -SWIGINTERN PyObject *_wrap_new_FormFactorRipple1Lorentz__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::vector< double,std::allocator< double > > arg1 ; - FormFactorRipple1Lorentz *result = 0 ; - - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; - int res = swig::asptr(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_FormFactorRipple1Lorentz" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - result = (FormFactorRipple1Lorentz *)new FormFactorRipple1Lorentz(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorRipple1Lorentz, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_FormFactorRipple1Lorentz__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - double arg1 ; - double arg2 ; - double arg3 ; - double val1 ; - int ecode1 = 0 ; - double val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - FormFactorRipple1Lorentz *result = 0 ; - - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - ecode1 = SWIG_AsVal_double(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FormFactorRipple1Lorentz" "', argument " "1"" of type '" "double""'"); - } - arg1 = static_cast< double >(val1); - ecode2 = SWIG_AsVal_double(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FormFactorRipple1Lorentz" "', argument " "2"" of type '" "double""'"); - } - arg2 = static_cast< double >(val2); - ecode3 = SWIG_AsVal_double(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FormFactorRipple1Lorentz" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - result = (FormFactorRipple1Lorentz *)new FormFactorRipple1Lorentz(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorRipple1Lorentz, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_FormFactorRipple1Lorentz(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; - - if (!(argc = SWIG_Python_UnpackTuple(args, "new_FormFactorRipple1Lorentz", 0, 3, argv))) SWIG_fail; - --argc; - if (argc == 1) { - int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_new_FormFactorRipple1Lorentz__SWIG_0(self, argc, argv); - } - } - if (argc == 3) { - int _v; - { - int res = SWIG_AsVal_double(argv[0], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[1], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - { - int res = SWIG_AsVal_double(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_new_FormFactorRipple1Lorentz__SWIG_1(self, argc, argv); - } - } - } - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_FormFactorRipple1Lorentz'.\n" - " Possible C/C++ prototypes are:\n" - " FormFactorRipple1Lorentz::FormFactorRipple1Lorentz(std::vector< double,std::allocator< double > > const)\n" - " FormFactorRipple1Lorentz::FormFactorRipple1Lorentz(double,double,double)\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_FormFactorRipple1Lorentz_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - FormFactorRipple1Lorentz *arg1 = (FormFactorRipple1Lorentz *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - FormFactorRipple1Lorentz *result = 0 ; - - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorRipple1Lorentz, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FormFactorRipple1Lorentz_clone" "', argument " "1"" of type '" "FormFactorRipple1Lorentz const *""'"); - } - arg1 = reinterpret_cast< FormFactorRipple1Lorentz * >(argp1); - result = (FormFactorRipple1Lorentz *)((FormFactorRipple1Lorentz const *)arg1)->clone(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorRipple1Lorentz, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_FormFactorRipple1Lorentz_accept(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - FormFactorRipple1Lorentz *arg1 = (FormFactorRipple1Lorentz *) 0 ; - INodeVisitor *arg2 = (INodeVisitor *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject *swig_obj[2] ; - - if (!SWIG_Python_UnpackTuple(args, "FormFactorRipple1Lorentz_accept", 2, 2, swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorRipple1Lorentz, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FormFactorRipple1Lorentz_accept" "', argument " "1"" of type '" "FormFactorRipple1Lorentz const *""'"); - } - arg1 = reinterpret_cast< FormFactorRipple1Lorentz * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_INodeVisitor, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FormFactorRipple1Lorentz_accept" "', argument " "2"" of type '" "INodeVisitor *""'"); - } - arg2 = reinterpret_cast< INodeVisitor * >(argp2); - ((FormFactorRipple1Lorentz const *)arg1)->accept(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_FormFactorRipple1Lorentz(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - FormFactorRipple1Lorentz *arg1 = (FormFactorRipple1Lorentz *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorRipple1Lorentz, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FormFactorRipple1Lorentz" "', argument " "1"" of type '" "FormFactorRipple1Lorentz *""'"); - } - arg1 = reinterpret_cast< FormFactorRipple1Lorentz * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *FormFactorRipple1Lorentz_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; - if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_FormFactorRipple1Lorentz, SWIG_NewClientData(obj)); - return SWIG_Py_Void(); -} - -SWIGINTERN PyObject *FormFactorRipple1Lorentz_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - return SWIG_Python_InitShadowInstance(args); -} - -SWIGINTERN PyObject *_wrap_new_FormFactorRipple2Box__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::vector< double,std::allocator< double > > arg1 ; - FormFactorRipple2Box *result = 0 ; - - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; - int res = swig::asptr(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_FormFactorRipple2Box" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - result = (FormFactorRipple2Box *)new FormFactorRipple2Box(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorRipple2Box, SWIG_POINTER_NEW | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_new_FormFactorRipple2Box__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_new_FormFactorSawtoothRippleBox__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; double arg1 ; double arg2 ; @@ -98361,51 +98361,51 @@ SWIGINTERN PyObject *_wrap_new_FormFactorRipple2Box__SWIG_1(PyObject *SWIGUNUSED int ecode3 = 0 ; double val4 ; int ecode4 = 0 ; - FormFactorRipple2Box *result = 0 ; + FormFactorSawtoothRippleBox *result = 0 ; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; ecode1 = SWIG_AsVal_double(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FormFactorRipple2Box" "', argument " "1"" of type '" "double""'"); + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FormFactorSawtoothRippleBox" "', argument " "1"" of type '" "double""'"); } arg1 = static_cast< double >(val1); ecode2 = SWIG_AsVal_double(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FormFactorRipple2Box" "', argument " "2"" of type '" "double""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FormFactorSawtoothRippleBox" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FormFactorRipple2Box" "', argument " "3"" of type '" "double""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FormFactorSawtoothRippleBox" "', argument " "3"" of type '" "double""'"); } arg3 = static_cast< double >(val3); ecode4 = SWIG_AsVal_double(swig_obj[3], &val4); if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FormFactorRipple2Box" "', argument " "4"" of type '" "double""'"); + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FormFactorSawtoothRippleBox" "', argument " "4"" of type '" "double""'"); } arg4 = static_cast< double >(val4); - result = (FormFactorRipple2Box *)new FormFactorRipple2Box(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorRipple2Box, SWIG_POINTER_NEW | 0 ); + result = (FormFactorSawtoothRippleBox *)new FormFactorSawtoothRippleBox(arg1,arg2,arg3,arg4); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorSawtoothRippleBox, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_new_FormFactorRipple2Box(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_new_FormFactorSawtoothRippleBox(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[5] = { 0 }; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_FormFactorRipple2Box", 0, 4, argv))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_FormFactorSawtoothRippleBox", 0, 4, argv))) SWIG_fail; --argc; if (argc == 1) { int _v; int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { - return _wrap_new_FormFactorRipple2Box__SWIG_0(self, argc, argv); + return _wrap_new_FormFactorSawtoothRippleBox__SWIG_0(self, argc, argv); } } if (argc == 4) { @@ -98430,7 +98430,7 @@ SWIGINTERN PyObject *_wrap_new_FormFactorRipple2Box(PyObject *self, PyObject *ar _v = SWIG_CheckState(res); } if (_v) { - return _wrap_new_FormFactorRipple2Box__SWIG_1(self, argc, argv); + return _wrap_new_FormFactorSawtoothRippleBox__SWIG_1(self, argc, argv); } } } @@ -98438,40 +98438,40 @@ SWIGINTERN PyObject *_wrap_new_FormFactorRipple2Box(PyObject *self, PyObject *ar } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_FormFactorRipple2Box'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_FormFactorSawtoothRippleBox'.\n" " Possible C/C++ prototypes are:\n" - " FormFactorRipple2Box::FormFactorRipple2Box(std::vector< double,std::allocator< double > > const)\n" - " FormFactorRipple2Box::FormFactorRipple2Box(double,double,double,double)\n"); + " FormFactorSawtoothRippleBox::FormFactorSawtoothRippleBox(std::vector< double,std::allocator< double > > const)\n" + " FormFactorSawtoothRippleBox::FormFactorSawtoothRippleBox(double,double,double,double)\n"); return 0; } -SWIGINTERN PyObject *_wrap_FormFactorRipple2Box_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_FormFactorSawtoothRippleBox_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - FormFactorRipple2Box *arg1 = (FormFactorRipple2Box *) 0 ; + FormFactorSawtoothRippleBox *arg1 = (FormFactorSawtoothRippleBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - FormFactorRipple2Box *result = 0 ; + FormFactorSawtoothRippleBox *result = 0 ; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorRipple2Box, 0 | 0 ); + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorSawtoothRippleBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FormFactorRipple2Box_clone" "', argument " "1"" of type '" "FormFactorRipple2Box const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FormFactorSawtoothRippleBox_clone" "', argument " "1"" of type '" "FormFactorSawtoothRippleBox const *""'"); } - arg1 = reinterpret_cast< FormFactorRipple2Box * >(argp1); - result = (FormFactorRipple2Box *)((FormFactorRipple2Box const *)arg1)->clone(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorRipple2Box, 0 | 0 ); + arg1 = reinterpret_cast< FormFactorSawtoothRippleBox * >(argp1); + result = (FormFactorSawtoothRippleBox *)((FormFactorSawtoothRippleBox const *)arg1)->clone(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorSawtoothRippleBox, 0 | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_FormFactorRipple2Box_accept(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_FormFactorSawtoothRippleBox_accept(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - FormFactorRipple2Box *arg1 = (FormFactorRipple2Box *) 0 ; + FormFactorSawtoothRippleBox *arg1 = (FormFactorSawtoothRippleBox *) 0 ; INodeVisitor *arg2 = (INodeVisitor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -98479,18 +98479,18 @@ SWIGINTERN PyObject *_wrap_FormFactorRipple2Box_accept(PyObject *SWIGUNUSEDPARM( int res2 = 0 ; PyObject *swig_obj[2] ; - if (!SWIG_Python_UnpackTuple(args, "FormFactorRipple2Box_accept", 2, 2, swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorRipple2Box, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "FormFactorSawtoothRippleBox_accept", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorSawtoothRippleBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FormFactorRipple2Box_accept" "', argument " "1"" of type '" "FormFactorRipple2Box const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FormFactorSawtoothRippleBox_accept" "', argument " "1"" of type '" "FormFactorSawtoothRippleBox const *""'"); } - arg1 = reinterpret_cast< FormFactorRipple2Box * >(argp1); + arg1 = reinterpret_cast< FormFactorSawtoothRippleBox * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_INodeVisitor, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FormFactorRipple2Box_accept" "', argument " "2"" of type '" "INodeVisitor *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FormFactorSawtoothRippleBox_accept" "', argument " "2"" of type '" "INodeVisitor *""'"); } arg2 = reinterpret_cast< INodeVisitor * >(argp2); - ((FormFactorRipple2Box const *)arg1)->accept(arg2); + ((FormFactorSawtoothRippleBox const *)arg1)->accept(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -98498,20 +98498,20 @@ fail: } -SWIGINTERN PyObject *_wrap_delete_FormFactorRipple2Box(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_FormFactorSawtoothRippleBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - FormFactorRipple2Box *arg1 = (FormFactorRipple2Box *) 0 ; + FormFactorSawtoothRippleBox *arg1 = (FormFactorSawtoothRippleBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorRipple2Box, SWIG_POINTER_DISOWN | 0 ); + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorSawtoothRippleBox, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FormFactorRipple2Box" "', argument " "1"" of type '" "FormFactorRipple2Box *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FormFactorSawtoothRippleBox" "', argument " "1"" of type '" "FormFactorSawtoothRippleBox *""'"); } - arg1 = reinterpret_cast< FormFactorRipple2Box * >(argp1); + arg1 = reinterpret_cast< FormFactorSawtoothRippleBox * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; @@ -98520,41 +98520,41 @@ fail: } -SWIGINTERN PyObject *FormFactorRipple2Box_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *FormFactorSawtoothRippleBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_FormFactorRipple2Box, SWIG_NewClientData(obj)); + SWIG_TypeNewClientData(SWIGTYPE_p_FormFactorSawtoothRippleBox, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } -SWIGINTERN PyObject *FormFactorRipple2Box_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *FormFactorSawtoothRippleBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { return SWIG_Python_InitShadowInstance(args); } -SWIGINTERN PyObject *_wrap_new_FormFactorRipple2Gauss__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_new_FormFactorSawtoothRippleGauss__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< double,std::allocator< double > > arg1 ; - FormFactorRipple2Gauss *result = 0 ; + FormFactorSawtoothRippleGauss *result = 0 ; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; int res = swig::asptr(swig_obj[0], &ptr); if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_FormFactorRipple2Gauss" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const""'"); + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_FormFactorSawtoothRippleGauss" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const""'"); } arg1 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; } - result = (FormFactorRipple2Gauss *)new FormFactorRipple2Gauss(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorRipple2Gauss, SWIG_POINTER_NEW | 0 ); + result = (FormFactorSawtoothRippleGauss *)new FormFactorSawtoothRippleGauss(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorSawtoothRippleGauss, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_new_FormFactorRipple2Gauss__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_new_FormFactorSawtoothRippleGauss__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; double arg1 ; double arg2 ; @@ -98568,51 +98568,51 @@ SWIGINTERN PyObject *_wrap_new_FormFactorRipple2Gauss__SWIG_1(PyObject *SWIGUNUS int ecode3 = 0 ; double val4 ; int ecode4 = 0 ; - FormFactorRipple2Gauss *result = 0 ; + FormFactorSawtoothRippleGauss *result = 0 ; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; ecode1 = SWIG_AsVal_double(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FormFactorRipple2Gauss" "', argument " "1"" of type '" "double""'"); + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FormFactorSawtoothRippleGauss" "', argument " "1"" of type '" "double""'"); } arg1 = static_cast< double >(val1); ecode2 = SWIG_AsVal_double(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FormFactorRipple2Gauss" "', argument " "2"" of type '" "double""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FormFactorSawtoothRippleGauss" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FormFactorRipple2Gauss" "', argument " "3"" of type '" "double""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FormFactorSawtoothRippleGauss" "', argument " "3"" of type '" "double""'"); } arg3 = static_cast< double >(val3); ecode4 = SWIG_AsVal_double(swig_obj[3], &val4); if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FormFactorRipple2Gauss" "', argument " "4"" of type '" "double""'"); + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FormFactorSawtoothRippleGauss" "', argument " "4"" of type '" "double""'"); } arg4 = static_cast< double >(val4); - result = (FormFactorRipple2Gauss *)new FormFactorRipple2Gauss(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorRipple2Gauss, SWIG_POINTER_NEW | 0 ); + result = (FormFactorSawtoothRippleGauss *)new FormFactorSawtoothRippleGauss(arg1,arg2,arg3,arg4); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorSawtoothRippleGauss, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_new_FormFactorRipple2Gauss(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_new_FormFactorSawtoothRippleGauss(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[5] = { 0 }; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_FormFactorRipple2Gauss", 0, 4, argv))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_FormFactorSawtoothRippleGauss", 0, 4, argv))) SWIG_fail; --argc; if (argc == 1) { int _v; int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { - return _wrap_new_FormFactorRipple2Gauss__SWIG_0(self, argc, argv); + return _wrap_new_FormFactorSawtoothRippleGauss__SWIG_0(self, argc, argv); } } if (argc == 4) { @@ -98637,7 +98637,7 @@ SWIGINTERN PyObject *_wrap_new_FormFactorRipple2Gauss(PyObject *self, PyObject * _v = SWIG_CheckState(res); } if (_v) { - return _wrap_new_FormFactorRipple2Gauss__SWIG_1(self, argc, argv); + return _wrap_new_FormFactorSawtoothRippleGauss__SWIG_1(self, argc, argv); } } } @@ -98645,40 +98645,40 @@ SWIGINTERN PyObject *_wrap_new_FormFactorRipple2Gauss(PyObject *self, PyObject * } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_FormFactorRipple2Gauss'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_FormFactorSawtoothRippleGauss'.\n" " Possible C/C++ prototypes are:\n" - " FormFactorRipple2Gauss::FormFactorRipple2Gauss(std::vector< double,std::allocator< double > > const)\n" - " FormFactorRipple2Gauss::FormFactorRipple2Gauss(double,double,double,double)\n"); + " FormFactorSawtoothRippleGauss::FormFactorSawtoothRippleGauss(std::vector< double,std::allocator< double > > const)\n" + " FormFactorSawtoothRippleGauss::FormFactorSawtoothRippleGauss(double,double,double,double)\n"); return 0; } -SWIGINTERN PyObject *_wrap_FormFactorRipple2Gauss_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_FormFactorSawtoothRippleGauss_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - FormFactorRipple2Gauss *arg1 = (FormFactorRipple2Gauss *) 0 ; + FormFactorSawtoothRippleGauss *arg1 = (FormFactorSawtoothRippleGauss *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - FormFactorRipple2Gauss *result = 0 ; + FormFactorSawtoothRippleGauss *result = 0 ; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorRipple2Gauss, 0 | 0 ); + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorSawtoothRippleGauss, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FormFactorRipple2Gauss_clone" "', argument " "1"" of type '" "FormFactorRipple2Gauss const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FormFactorSawtoothRippleGauss_clone" "', argument " "1"" of type '" "FormFactorSawtoothRippleGauss const *""'"); } - arg1 = reinterpret_cast< FormFactorRipple2Gauss * >(argp1); - result = (FormFactorRipple2Gauss *)((FormFactorRipple2Gauss const *)arg1)->clone(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorRipple2Gauss, 0 | 0 ); + arg1 = reinterpret_cast< FormFactorSawtoothRippleGauss * >(argp1); + result = (FormFactorSawtoothRippleGauss *)((FormFactorSawtoothRippleGauss const *)arg1)->clone(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorSawtoothRippleGauss, 0 | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_FormFactorRipple2Gauss_accept(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_FormFactorSawtoothRippleGauss_accept(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - FormFactorRipple2Gauss *arg1 = (FormFactorRipple2Gauss *) 0 ; + FormFactorSawtoothRippleGauss *arg1 = (FormFactorSawtoothRippleGauss *) 0 ; INodeVisitor *arg2 = (INodeVisitor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -98686,18 +98686,18 @@ SWIGINTERN PyObject *_wrap_FormFactorRipple2Gauss_accept(PyObject *SWIGUNUSEDPAR int res2 = 0 ; PyObject *swig_obj[2] ; - if (!SWIG_Python_UnpackTuple(args, "FormFactorRipple2Gauss_accept", 2, 2, swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorRipple2Gauss, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "FormFactorSawtoothRippleGauss_accept", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorSawtoothRippleGauss, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FormFactorRipple2Gauss_accept" "', argument " "1"" of type '" "FormFactorRipple2Gauss const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FormFactorSawtoothRippleGauss_accept" "', argument " "1"" of type '" "FormFactorSawtoothRippleGauss const *""'"); } - arg1 = reinterpret_cast< FormFactorRipple2Gauss * >(argp1); + arg1 = reinterpret_cast< FormFactorSawtoothRippleGauss * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_INodeVisitor, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FormFactorRipple2Gauss_accept" "', argument " "2"" of type '" "INodeVisitor *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FormFactorSawtoothRippleGauss_accept" "', argument " "2"" of type '" "INodeVisitor *""'"); } arg2 = reinterpret_cast< INodeVisitor * >(argp2); - ((FormFactorRipple2Gauss const *)arg1)->accept(arg2); + ((FormFactorSawtoothRippleGauss const *)arg1)->accept(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -98705,20 +98705,20 @@ fail: } -SWIGINTERN PyObject *_wrap_delete_FormFactorRipple2Gauss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_FormFactorSawtoothRippleGauss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - FormFactorRipple2Gauss *arg1 = (FormFactorRipple2Gauss *) 0 ; + FormFactorSawtoothRippleGauss *arg1 = (FormFactorSawtoothRippleGauss *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorRipple2Gauss, SWIG_POINTER_DISOWN | 0 ); + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorSawtoothRippleGauss, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FormFactorRipple2Gauss" "', argument " "1"" of type '" "FormFactorRipple2Gauss *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FormFactorSawtoothRippleGauss" "', argument " "1"" of type '" "FormFactorSawtoothRippleGauss *""'"); } - arg1 = reinterpret_cast< FormFactorRipple2Gauss * >(argp1); + arg1 = reinterpret_cast< FormFactorSawtoothRippleGauss * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; @@ -98727,41 +98727,41 @@ fail: } -SWIGINTERN PyObject *FormFactorRipple2Gauss_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *FormFactorSawtoothRippleGauss_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_FormFactorRipple2Gauss, SWIG_NewClientData(obj)); + SWIG_TypeNewClientData(SWIGTYPE_p_FormFactorSawtoothRippleGauss, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } -SWIGINTERN PyObject *FormFactorRipple2Gauss_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *FormFactorSawtoothRippleGauss_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { return SWIG_Python_InitShadowInstance(args); } -SWIGINTERN PyObject *_wrap_new_FormFactorRipple2Lorentz__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_new_FormFactorSawtoothRippleLorentz__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< double,std::allocator< double > > arg1 ; - FormFactorRipple2Lorentz *result = 0 ; + FormFactorSawtoothRippleLorentz *result = 0 ; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; int res = swig::asptr(swig_obj[0], &ptr); if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_FormFactorRipple2Lorentz" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const""'"); + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_FormFactorSawtoothRippleLorentz" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const""'"); } arg1 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; } - result = (FormFactorRipple2Lorentz *)new FormFactorRipple2Lorentz(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorRipple2Lorentz, SWIG_POINTER_NEW | 0 ); + result = (FormFactorSawtoothRippleLorentz *)new FormFactorSawtoothRippleLorentz(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorSawtoothRippleLorentz, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_new_FormFactorRipple2Lorentz__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_new_FormFactorSawtoothRippleLorentz__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; double arg1 ; double arg2 ; @@ -98775,51 +98775,51 @@ SWIGINTERN PyObject *_wrap_new_FormFactorRipple2Lorentz__SWIG_1(PyObject *SWIGUN int ecode3 = 0 ; double val4 ; int ecode4 = 0 ; - FormFactorRipple2Lorentz *result = 0 ; + FormFactorSawtoothRippleLorentz *result = 0 ; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; ecode1 = SWIG_AsVal_double(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FormFactorRipple2Lorentz" "', argument " "1"" of type '" "double""'"); + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FormFactorSawtoothRippleLorentz" "', argument " "1"" of type '" "double""'"); } arg1 = static_cast< double >(val1); ecode2 = SWIG_AsVal_double(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FormFactorRipple2Lorentz" "', argument " "2"" of type '" "double""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FormFactorSawtoothRippleLorentz" "', argument " "2"" of type '" "double""'"); } arg2 = static_cast< double >(val2); ecode3 = SWIG_AsVal_double(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FormFactorRipple2Lorentz" "', argument " "3"" of type '" "double""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FormFactorSawtoothRippleLorentz" "', argument " "3"" of type '" "double""'"); } arg3 = static_cast< double >(val3); ecode4 = SWIG_AsVal_double(swig_obj[3], &val4); if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FormFactorRipple2Lorentz" "', argument " "4"" of type '" "double""'"); + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FormFactorSawtoothRippleLorentz" "', argument " "4"" of type '" "double""'"); } arg4 = static_cast< double >(val4); - result = (FormFactorRipple2Lorentz *)new FormFactorRipple2Lorentz(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorRipple2Lorentz, SWIG_POINTER_NEW | 0 ); + result = (FormFactorSawtoothRippleLorentz *)new FormFactorSawtoothRippleLorentz(arg1,arg2,arg3,arg4); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorSawtoothRippleLorentz, SWIG_POINTER_NEW | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_new_FormFactorRipple2Lorentz(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_new_FormFactorSawtoothRippleLorentz(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[5] = { 0 }; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_FormFactorRipple2Lorentz", 0, 4, argv))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_FormFactorSawtoothRippleLorentz", 0, 4, argv))) SWIG_fail; --argc; if (argc == 1) { int _v; int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { - return _wrap_new_FormFactorRipple2Lorentz__SWIG_0(self, argc, argv); + return _wrap_new_FormFactorSawtoothRippleLorentz__SWIG_0(self, argc, argv); } } if (argc == 4) { @@ -98844,7 +98844,7 @@ SWIGINTERN PyObject *_wrap_new_FormFactorRipple2Lorentz(PyObject *self, PyObject _v = SWIG_CheckState(res); } if (_v) { - return _wrap_new_FormFactorRipple2Lorentz__SWIG_1(self, argc, argv); + return _wrap_new_FormFactorSawtoothRippleLorentz__SWIG_1(self, argc, argv); } } } @@ -98852,40 +98852,40 @@ SWIGINTERN PyObject *_wrap_new_FormFactorRipple2Lorentz(PyObject *self, PyObject } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_FormFactorRipple2Lorentz'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_FormFactorSawtoothRippleLorentz'.\n" " Possible C/C++ prototypes are:\n" - " FormFactorRipple2Lorentz::FormFactorRipple2Lorentz(std::vector< double,std::allocator< double > > const)\n" - " FormFactorRipple2Lorentz::FormFactorRipple2Lorentz(double,double,double,double)\n"); + " FormFactorSawtoothRippleLorentz::FormFactorSawtoothRippleLorentz(std::vector< double,std::allocator< double > > const)\n" + " FormFactorSawtoothRippleLorentz::FormFactorSawtoothRippleLorentz(double,double,double,double)\n"); return 0; } -SWIGINTERN PyObject *_wrap_FormFactorRipple2Lorentz_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_FormFactorSawtoothRippleLorentz_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - FormFactorRipple2Lorentz *arg1 = (FormFactorRipple2Lorentz *) 0 ; + FormFactorSawtoothRippleLorentz *arg1 = (FormFactorSawtoothRippleLorentz *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - FormFactorRipple2Lorentz *result = 0 ; + FormFactorSawtoothRippleLorentz *result = 0 ; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorRipple2Lorentz, 0 | 0 ); + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorSawtoothRippleLorentz, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FormFactorRipple2Lorentz_clone" "', argument " "1"" of type '" "FormFactorRipple2Lorentz const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FormFactorSawtoothRippleLorentz_clone" "', argument " "1"" of type '" "FormFactorSawtoothRippleLorentz const *""'"); } - arg1 = reinterpret_cast< FormFactorRipple2Lorentz * >(argp1); - result = (FormFactorRipple2Lorentz *)((FormFactorRipple2Lorentz const *)arg1)->clone(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorRipple2Lorentz, 0 | 0 ); + arg1 = reinterpret_cast< FormFactorSawtoothRippleLorentz * >(argp1); + result = (FormFactorSawtoothRippleLorentz *)((FormFactorSawtoothRippleLorentz const *)arg1)->clone(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FormFactorSawtoothRippleLorentz, 0 | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_FormFactorRipple2Lorentz_accept(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_FormFactorSawtoothRippleLorentz_accept(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - FormFactorRipple2Lorentz *arg1 = (FormFactorRipple2Lorentz *) 0 ; + FormFactorSawtoothRippleLorentz *arg1 = (FormFactorSawtoothRippleLorentz *) 0 ; INodeVisitor *arg2 = (INodeVisitor *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -98893,18 +98893,18 @@ SWIGINTERN PyObject *_wrap_FormFactorRipple2Lorentz_accept(PyObject *SWIGUNUSEDP int res2 = 0 ; PyObject *swig_obj[2] ; - if (!SWIG_Python_UnpackTuple(args, "FormFactorRipple2Lorentz_accept", 2, 2, swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorRipple2Lorentz, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "FormFactorSawtoothRippleLorentz_accept", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorSawtoothRippleLorentz, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FormFactorRipple2Lorentz_accept" "', argument " "1"" of type '" "FormFactorRipple2Lorentz const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FormFactorSawtoothRippleLorentz_accept" "', argument " "1"" of type '" "FormFactorSawtoothRippleLorentz const *""'"); } - arg1 = reinterpret_cast< FormFactorRipple2Lorentz * >(argp1); + arg1 = reinterpret_cast< FormFactorSawtoothRippleLorentz * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_INodeVisitor, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FormFactorRipple2Lorentz_accept" "', argument " "2"" of type '" "INodeVisitor *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FormFactorSawtoothRippleLorentz_accept" "', argument " "2"" of type '" "INodeVisitor *""'"); } arg2 = reinterpret_cast< INodeVisitor * >(argp2); - ((FormFactorRipple2Lorentz const *)arg1)->accept(arg2); + ((FormFactorSawtoothRippleLorentz const *)arg1)->accept(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -98912,20 +98912,20 @@ fail: } -SWIGINTERN PyObject *_wrap_delete_FormFactorRipple2Lorentz(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_FormFactorSawtoothRippleLorentz(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; - FormFactorRipple2Lorentz *arg1 = (FormFactorRipple2Lorentz *) 0 ; + FormFactorSawtoothRippleLorentz *arg1 = (FormFactorSawtoothRippleLorentz *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorRipple2Lorentz, SWIG_POINTER_DISOWN | 0 ); + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_FormFactorSawtoothRippleLorentz, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FormFactorRipple2Lorentz" "', argument " "1"" of type '" "FormFactorRipple2Lorentz *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FormFactorSawtoothRippleLorentz" "', argument " "1"" of type '" "FormFactorSawtoothRippleLorentz *""'"); } - arg1 = reinterpret_cast< FormFactorRipple2Lorentz * >(argp1); + arg1 = reinterpret_cast< FormFactorSawtoothRippleLorentz * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; @@ -98934,14 +98934,14 @@ fail: } -SWIGINTERN PyObject *FormFactorRipple2Lorentz_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *FormFactorSawtoothRippleLorentz_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; - SWIG_TypeNewClientData(SWIGTYPE_p_FormFactorRipple2Lorentz, SWIG_NewClientData(obj)); + SWIG_TypeNewClientData(SWIGTYPE_p_FormFactorSawtoothRippleLorentz, SWIG_NewClientData(obj)); return SWIG_Py_Void(); } -SWIGINTERN PyObject *FormFactorRipple2Lorentz_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *FormFactorSawtoothRippleLorentz_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { return SWIG_Python_InitShadowInstance(args); } @@ -124993,12 +124993,12 @@ static PyMethodDef SwigMethods[] = { "INodeVisitor_visit(INodeVisitor self, FormFactorPrism3 arg2)\n" "INodeVisitor_visit(INodeVisitor self, FormFactorPrism6 arg2)\n" "INodeVisitor_visit(INodeVisitor self, FormFactorPyramid arg2)\n" - "INodeVisitor_visit(INodeVisitor self, FormFactorRipple1Box arg2)\n" - "INodeVisitor_visit(INodeVisitor self, FormFactorRipple1Gauss arg2)\n" - "INodeVisitor_visit(INodeVisitor self, FormFactorRipple1Lorentz arg2)\n" - "INodeVisitor_visit(INodeVisitor self, FormFactorRipple2Box arg2)\n" - "INodeVisitor_visit(INodeVisitor self, FormFactorRipple2Gauss arg2)\n" - "INodeVisitor_visit(INodeVisitor self, FormFactorRipple2Lorentz arg2)\n" + "INodeVisitor_visit(INodeVisitor self, FormFactorCosineRippleBox arg2)\n" + "INodeVisitor_visit(INodeVisitor self, FormFactorCosineRippleGauss arg2)\n" + "INodeVisitor_visit(INodeVisitor self, FormFactorCosineRippleLorentz arg2)\n" + "INodeVisitor_visit(INodeVisitor self, FormFactorSawtoothRippleBox arg2)\n" + "INodeVisitor_visit(INodeVisitor self, FormFactorSawtoothRippleGauss arg2)\n" + "INodeVisitor_visit(INodeVisitor self, FormFactorSawtoothRippleLorentz arg2)\n" "INodeVisitor_visit(INodeVisitor self, FormFactorSphereGaussianRadius arg2)\n" "INodeVisitor_visit(INodeVisitor self, FormFactorSphereLogNormalRadius arg2)\n" "INodeVisitor_visit(INodeVisitor self, FormFactorTetrahedron arg2)\n" @@ -130237,17 +130237,13 @@ static PyMethodDef SwigMethods[] = { ""}, { "delete_IProfileRipple", _wrap_delete_IProfileRipple, METH_O, "delete_IProfileRipple(IProfileRipple self)"}, { "IProfileRipple_swigregister", IProfileRipple_swigregister, METH_O, NULL}, - { "delete_ProfileRectangularRipple", _wrap_delete_ProfileRectangularRipple, METH_O, "delete_ProfileRectangularRipple(ProfileRectangularRipple self)"}, - { "ProfileRectangularRipple_swigregister", ProfileRectangularRipple_swigregister, METH_O, NULL}, - { "delete_ProfileRipple1", _wrap_delete_ProfileRipple1, METH_O, "delete_ProfileRipple1(ProfileRipple1 self)"}, - { "ProfileRipple1_swigregister", ProfileRipple1_swigregister, METH_O, NULL}, - { "ProfileRipple2_getAsymmetry", _wrap_ProfileRipple2_getAsymmetry, METH_O, "\n" - "ProfileRipple2_getAsymmetry(ProfileRipple2 self) -> double\n" - "double ProfileRipple2::getAsymmetry() const\n" - "\n" - ""}, - { "delete_ProfileRipple2", _wrap_delete_ProfileRipple2, METH_O, "delete_ProfileRipple2(ProfileRipple2 self)"}, - { "ProfileRipple2_swigregister", ProfileRipple2_swigregister, METH_O, NULL}, + { "delete_IProfileRectangularRipple", _wrap_delete_IProfileRectangularRipple, METH_O, "delete_IProfileRectangularRipple(IProfileRectangularRipple self)"}, + { "IProfileRectangularRipple_swigregister", IProfileRectangularRipple_swigregister, METH_O, NULL}, + { "delete_ICosineRipple", _wrap_delete_ICosineRipple, METH_O, "delete_ICosineRipple(ICosineRipple self)"}, + { "ICosineRipple_swigregister", ICosineRipple_swigregister, METH_O, NULL}, + { "ISawtoothRipple_getAsymmetry", _wrap_ISawtoothRipple_getAsymmetry, METH_O, "ISawtoothRipple_getAsymmetry(ISawtoothRipple self) -> double"}, + { "delete_ISawtoothRipple", _wrap_delete_ISawtoothRipple, METH_O, "delete_ISawtoothRipple(ISawtoothRipple self)"}, + { "ISawtoothRipple_swigregister", ISawtoothRipple_swigregister, METH_O, NULL}, { "new_FormFactorAnisoPyramid", _wrap_new_FormFactorAnisoPyramid, METH_VARARGS, "\n" "FormFactorAnisoPyramid(vdouble1d_t P)\n" "new_FormFactorAnisoPyramid(double length, double width, double height, double alpha) -> FormFactorAnisoPyramid\n" @@ -130538,6 +130534,69 @@ static PyMethodDef SwigMethods[] = { { "delete_FormFactorCone6", _wrap_delete_FormFactorCone6, METH_O, "delete_FormFactorCone6(FormFactorCone6 self)"}, { "FormFactorCone6_swigregister", FormFactorCone6_swigregister, METH_O, NULL}, { "FormFactorCone6_swiginit", FormFactorCone6_swiginit, METH_VARARGS, NULL}, + { "new_FormFactorCosineRippleBox", _wrap_new_FormFactorCosineRippleBox, METH_VARARGS, "\n" + "FormFactorCosineRippleBox(vdouble1d_t P)\n" + "new_FormFactorCosineRippleBox(double length, double width, double height) -> FormFactorCosineRippleBox\n" + ""}, + { "FormFactorCosineRippleBox_clone", _wrap_FormFactorCosineRippleBox_clone, METH_O, "\n" + "FormFactorCosineRippleBox_clone(FormFactorCosineRippleBox self) -> FormFactorCosineRippleBox\n" + "IFormFactorBorn* IFormFactorBorn::clone() const override=0\n" + "\n" + "Returns a clone of this ISample object. \n" + "\n" + ""}, + { "FormFactorCosineRippleBox_accept", _wrap_FormFactorCosineRippleBox_accept, METH_VARARGS, "\n" + "FormFactorCosineRippleBox_accept(FormFactorCosineRippleBox self, INodeVisitor visitor)\n" + "virtual void INode::accept(INodeVisitor *visitor) const =0\n" + "\n" + "Calls the INodeVisitor's visit method. \n" + "\n" + ""}, + { "delete_FormFactorCosineRippleBox", _wrap_delete_FormFactorCosineRippleBox, METH_O, "delete_FormFactorCosineRippleBox(FormFactorCosineRippleBox self)"}, + { "FormFactorCosineRippleBox_swigregister", FormFactorCosineRippleBox_swigregister, METH_O, NULL}, + { "FormFactorCosineRippleBox_swiginit", FormFactorCosineRippleBox_swiginit, METH_VARARGS, NULL}, + { "new_FormFactorCosineRippleGauss", _wrap_new_FormFactorCosineRippleGauss, METH_VARARGS, "\n" + "FormFactorCosineRippleGauss(vdouble1d_t P)\n" + "new_FormFactorCosineRippleGauss(double length, double width, double height) -> FormFactorCosineRippleGauss\n" + ""}, + { "FormFactorCosineRippleGauss_clone", _wrap_FormFactorCosineRippleGauss_clone, METH_O, "\n" + "FormFactorCosineRippleGauss_clone(FormFactorCosineRippleGauss self) -> FormFactorCosineRippleGauss\n" + "IFormFactorBorn* IFormFactorBorn::clone() const override=0\n" + "\n" + "Returns a clone of this ISample object. \n" + "\n" + ""}, + { "FormFactorCosineRippleGauss_accept", _wrap_FormFactorCosineRippleGauss_accept, METH_VARARGS, "\n" + "FormFactorCosineRippleGauss_accept(FormFactorCosineRippleGauss self, INodeVisitor visitor)\n" + "virtual void INode::accept(INodeVisitor *visitor) const =0\n" + "\n" + "Calls the INodeVisitor's visit method. \n" + "\n" + ""}, + { "delete_FormFactorCosineRippleGauss", _wrap_delete_FormFactorCosineRippleGauss, METH_O, "delete_FormFactorCosineRippleGauss(FormFactorCosineRippleGauss self)"}, + { "FormFactorCosineRippleGauss_swigregister", FormFactorCosineRippleGauss_swigregister, METH_O, NULL}, + { "FormFactorCosineRippleGauss_swiginit", FormFactorCosineRippleGauss_swiginit, METH_VARARGS, NULL}, + { "new_FormFactorCosineRippleLorentz", _wrap_new_FormFactorCosineRippleLorentz, METH_VARARGS, "\n" + "FormFactorCosineRippleLorentz(vdouble1d_t P)\n" + "new_FormFactorCosineRippleLorentz(double length, double width, double height) -> FormFactorCosineRippleLorentz\n" + ""}, + { "FormFactorCosineRippleLorentz_clone", _wrap_FormFactorCosineRippleLorentz_clone, METH_O, "\n" + "FormFactorCosineRippleLorentz_clone(FormFactorCosineRippleLorentz self) -> FormFactorCosineRippleLorentz\n" + "IFormFactorBorn* IFormFactorBorn::clone() const override=0\n" + "\n" + "Returns a clone of this ISample object. \n" + "\n" + ""}, + { "FormFactorCosineRippleLorentz_accept", _wrap_FormFactorCosineRippleLorentz_accept, METH_VARARGS, "\n" + "FormFactorCosineRippleLorentz_accept(FormFactorCosineRippleLorentz self, INodeVisitor visitor)\n" + "virtual void INode::accept(INodeVisitor *visitor) const =0\n" + "\n" + "Calls the INodeVisitor's visit method. \n" + "\n" + ""}, + { "delete_FormFactorCosineRippleLorentz", _wrap_delete_FormFactorCosineRippleLorentz, METH_O, "delete_FormFactorCosineRippleLorentz(FormFactorCosineRippleLorentz self)"}, + { "FormFactorCosineRippleLorentz_swigregister", FormFactorCosineRippleLorentz_swigregister, METH_O, NULL}, + { "FormFactorCosineRippleLorentz_swiginit", FormFactorCosineRippleLorentz_swiginit, METH_VARARGS, NULL}, { "new_FormFactorCuboctahedron", _wrap_new_FormFactorCuboctahedron, METH_VARARGS, "\n" "FormFactorCuboctahedron(vdouble1d_t P)\n" "new_FormFactorCuboctahedron(double length, double height, double height_ratio, double alpha) -> FormFactorCuboctahedron\n" @@ -131357,144 +131416,69 @@ static PyMethodDef SwigMethods[] = { { "delete_FormFactorPyramid", _wrap_delete_FormFactorPyramid, METH_O, "delete_FormFactorPyramid(FormFactorPyramid self)"}, { "FormFactorPyramid_swigregister", FormFactorPyramid_swigregister, METH_O, NULL}, { "FormFactorPyramid_swiginit", FormFactorPyramid_swiginit, METH_VARARGS, NULL}, - { "new_FormFactorRipple1Box", _wrap_new_FormFactorRipple1Box, METH_VARARGS, "\n" - "FormFactorRipple1Box(vdouble1d_t P)\n" - "new_FormFactorRipple1Box(double length, double width, double height) -> FormFactorRipple1Box\n" - "FormFactorRipple1Box::FormFactorRipple1Box(double length, double width, double height)\n" - "\n" - ""}, - { "FormFactorRipple1Box_clone", _wrap_FormFactorRipple1Box_clone, METH_O, "\n" - "FormFactorRipple1Box_clone(FormFactorRipple1Box self) -> FormFactorRipple1Box\n" - "FormFactorRipple1Box * FormFactorRipple1Box::clone() const override final\n" - "\n" - "Returns a clone of this ISample object. \n" - "\n" - ""}, - { "FormFactorRipple1Box_accept", _wrap_FormFactorRipple1Box_accept, METH_VARARGS, "\n" - "FormFactorRipple1Box_accept(FormFactorRipple1Box self, INodeVisitor visitor)\n" - "void FormFactorRipple1Box::accept(INodeVisitor *visitor) const override final\n" - "\n" - "Calls the INodeVisitor's visit method. \n" - "\n" - ""}, - { "delete_FormFactorRipple1Box", _wrap_delete_FormFactorRipple1Box, METH_O, "delete_FormFactorRipple1Box(FormFactorRipple1Box self)"}, - { "FormFactorRipple1Box_swigregister", FormFactorRipple1Box_swigregister, METH_O, NULL}, - { "FormFactorRipple1Box_swiginit", FormFactorRipple1Box_swiginit, METH_VARARGS, NULL}, - { "new_FormFactorRipple1Gauss", _wrap_new_FormFactorRipple1Gauss, METH_VARARGS, "\n" - "FormFactorRipple1Gauss(vdouble1d_t P)\n" - "new_FormFactorRipple1Gauss(double length, double width, double height) -> FormFactorRipple1Gauss\n" - "FormFactorRipple1Gauss::FormFactorRipple1Gauss(double length, double width, double height)\n" - "\n" - ""}, - { "FormFactorRipple1Gauss_clone", _wrap_FormFactorRipple1Gauss_clone, METH_O, "\n" - "FormFactorRipple1Gauss_clone(FormFactorRipple1Gauss self) -> FormFactorRipple1Gauss\n" - "FormFactorRipple1Gauss * FormFactorRipple1Gauss::clone() const override final\n" - "\n" - "Returns a clone of this ISample object. \n" - "\n" + { "new_FormFactorSawtoothRippleBox", _wrap_new_FormFactorSawtoothRippleBox, METH_VARARGS, "\n" + "FormFactorSawtoothRippleBox(vdouble1d_t P)\n" + "new_FormFactorSawtoothRippleBox(double length, double width, double height, double asymmetry) -> FormFactorSawtoothRippleBox\n" ""}, - { "FormFactorRipple1Gauss_accept", _wrap_FormFactorRipple1Gauss_accept, METH_VARARGS, "\n" - "FormFactorRipple1Gauss_accept(FormFactorRipple1Gauss self, INodeVisitor visitor)\n" - "void FormFactorRipple1Gauss::accept(INodeVisitor *visitor) const override final\n" - "\n" - "Calls the INodeVisitor's visit method. \n" - "\n" - ""}, - { "delete_FormFactorRipple1Gauss", _wrap_delete_FormFactorRipple1Gauss, METH_O, "delete_FormFactorRipple1Gauss(FormFactorRipple1Gauss self)"}, - { "FormFactorRipple1Gauss_swigregister", FormFactorRipple1Gauss_swigregister, METH_O, NULL}, - { "FormFactorRipple1Gauss_swiginit", FormFactorRipple1Gauss_swiginit, METH_VARARGS, NULL}, - { "new_FormFactorRipple1Lorentz", _wrap_new_FormFactorRipple1Lorentz, METH_VARARGS, "\n" - "FormFactorRipple1Lorentz(vdouble1d_t P)\n" - "new_FormFactorRipple1Lorentz(double length, double width, double height) -> FormFactorRipple1Lorentz\n" - "FormFactorRipple1Lorentz::FormFactorRipple1Lorentz(double length, double width, double height)\n" - "\n" - ""}, - { "FormFactorRipple1Lorentz_clone", _wrap_FormFactorRipple1Lorentz_clone, METH_O, "\n" - "FormFactorRipple1Lorentz_clone(FormFactorRipple1Lorentz self) -> FormFactorRipple1Lorentz\n" - "FormFactorRipple1Lorentz * FormFactorRipple1Lorentz::clone() const override final\n" - "\n" - "Returns a clone of this ISample object. \n" - "\n" - ""}, - { "FormFactorRipple1Lorentz_accept", _wrap_FormFactorRipple1Lorentz_accept, METH_VARARGS, "\n" - "FormFactorRipple1Lorentz_accept(FormFactorRipple1Lorentz self, INodeVisitor visitor)\n" - "void FormFactorRipple1Lorentz::accept(INodeVisitor *visitor) const override final\n" - "\n" - "Calls the INodeVisitor's visit method. \n" - "\n" - ""}, - { "delete_FormFactorRipple1Lorentz", _wrap_delete_FormFactorRipple1Lorentz, METH_O, "delete_FormFactorRipple1Lorentz(FormFactorRipple1Lorentz self)"}, - { "FormFactorRipple1Lorentz_swigregister", FormFactorRipple1Lorentz_swigregister, METH_O, NULL}, - { "FormFactorRipple1Lorentz_swiginit", FormFactorRipple1Lorentz_swiginit, METH_VARARGS, NULL}, - { "new_FormFactorRipple2Box", _wrap_new_FormFactorRipple2Box, METH_VARARGS, "\n" - "FormFactorRipple2Box(vdouble1d_t P)\n" - "new_FormFactorRipple2Box(double length, double width, double height, double asymmetry) -> FormFactorRipple2Box\n" - "FormFactorRipple2Box::FormFactorRipple2Box(double length, double width, double height, double asymmetry)\n" - "\n" - ""}, - { "FormFactorRipple2Box_clone", _wrap_FormFactorRipple2Box_clone, METH_O, "\n" - "FormFactorRipple2Box_clone(FormFactorRipple2Box self) -> FormFactorRipple2Box\n" - "FormFactorRipple2Box * FormFactorRipple2Box::clone() const override final\n" + { "FormFactorSawtoothRippleBox_clone", _wrap_FormFactorSawtoothRippleBox_clone, METH_O, "\n" + "FormFactorSawtoothRippleBox_clone(FormFactorSawtoothRippleBox self) -> FormFactorSawtoothRippleBox\n" + "IFormFactorBorn* IFormFactorBorn::clone() const override=0\n" "\n" "Returns a clone of this ISample object. \n" "\n" ""}, - { "FormFactorRipple2Box_accept", _wrap_FormFactorRipple2Box_accept, METH_VARARGS, "\n" - "FormFactorRipple2Box_accept(FormFactorRipple2Box self, INodeVisitor visitor)\n" - "void FormFactorRipple2Box::accept(INodeVisitor *visitor) const override final\n" + { "FormFactorSawtoothRippleBox_accept", _wrap_FormFactorSawtoothRippleBox_accept, METH_VARARGS, "\n" + "FormFactorSawtoothRippleBox_accept(FormFactorSawtoothRippleBox self, INodeVisitor visitor)\n" + "virtual void INode::accept(INodeVisitor *visitor) const =0\n" "\n" "Calls the INodeVisitor's visit method. \n" "\n" ""}, - { "delete_FormFactorRipple2Box", _wrap_delete_FormFactorRipple2Box, METH_O, "delete_FormFactorRipple2Box(FormFactorRipple2Box self)"}, - { "FormFactorRipple2Box_swigregister", FormFactorRipple2Box_swigregister, METH_O, NULL}, - { "FormFactorRipple2Box_swiginit", FormFactorRipple2Box_swiginit, METH_VARARGS, NULL}, - { "new_FormFactorRipple2Gauss", _wrap_new_FormFactorRipple2Gauss, METH_VARARGS, "\n" - "FormFactorRipple2Gauss(vdouble1d_t P)\n" - "new_FormFactorRipple2Gauss(double length, double width, double height, double asymmetry) -> FormFactorRipple2Gauss\n" - "FormFactorRipple2Gauss::FormFactorRipple2Gauss(double length, double width, double height, double asymmetry)\n" - "\n" + { "delete_FormFactorSawtoothRippleBox", _wrap_delete_FormFactorSawtoothRippleBox, METH_O, "delete_FormFactorSawtoothRippleBox(FormFactorSawtoothRippleBox self)"}, + { "FormFactorSawtoothRippleBox_swigregister", FormFactorSawtoothRippleBox_swigregister, METH_O, NULL}, + { "FormFactorSawtoothRippleBox_swiginit", FormFactorSawtoothRippleBox_swiginit, METH_VARARGS, NULL}, + { "new_FormFactorSawtoothRippleGauss", _wrap_new_FormFactorSawtoothRippleGauss, METH_VARARGS, "\n" + "FormFactorSawtoothRippleGauss(vdouble1d_t P)\n" + "new_FormFactorSawtoothRippleGauss(double length, double width, double height, double asymmetry) -> FormFactorSawtoothRippleGauss\n" ""}, - { "FormFactorRipple2Gauss_clone", _wrap_FormFactorRipple2Gauss_clone, METH_O, "\n" - "FormFactorRipple2Gauss_clone(FormFactorRipple2Gauss self) -> FormFactorRipple2Gauss\n" - "FormFactorRipple2Gauss * FormFactorRipple2Gauss::clone() const override final\n" + { "FormFactorSawtoothRippleGauss_clone", _wrap_FormFactorSawtoothRippleGauss_clone, METH_O, "\n" + "FormFactorSawtoothRippleGauss_clone(FormFactorSawtoothRippleGauss self) -> FormFactorSawtoothRippleGauss\n" + "IFormFactorBorn* IFormFactorBorn::clone() const override=0\n" "\n" "Returns a clone of this ISample object. \n" "\n" ""}, - { "FormFactorRipple2Gauss_accept", _wrap_FormFactorRipple2Gauss_accept, METH_VARARGS, "\n" - "FormFactorRipple2Gauss_accept(FormFactorRipple2Gauss self, INodeVisitor visitor)\n" - "void FormFactorRipple2Gauss::accept(INodeVisitor *visitor) const override final\n" + { "FormFactorSawtoothRippleGauss_accept", _wrap_FormFactorSawtoothRippleGauss_accept, METH_VARARGS, "\n" + "FormFactorSawtoothRippleGauss_accept(FormFactorSawtoothRippleGauss self, INodeVisitor visitor)\n" + "virtual void INode::accept(INodeVisitor *visitor) const =0\n" "\n" "Calls the INodeVisitor's visit method. \n" "\n" ""}, - { "delete_FormFactorRipple2Gauss", _wrap_delete_FormFactorRipple2Gauss, METH_O, "delete_FormFactorRipple2Gauss(FormFactorRipple2Gauss self)"}, - { "FormFactorRipple2Gauss_swigregister", FormFactorRipple2Gauss_swigregister, METH_O, NULL}, - { "FormFactorRipple2Gauss_swiginit", FormFactorRipple2Gauss_swiginit, METH_VARARGS, NULL}, - { "new_FormFactorRipple2Lorentz", _wrap_new_FormFactorRipple2Lorentz, METH_VARARGS, "\n" - "FormFactorRipple2Lorentz(vdouble1d_t P)\n" - "new_FormFactorRipple2Lorentz(double length, double width, double height, double asymmetry) -> FormFactorRipple2Lorentz\n" - "FormFactorRipple2Lorentz::FormFactorRipple2Lorentz(double length, double width, double height, double asymmetry)\n" - "\n" + { "delete_FormFactorSawtoothRippleGauss", _wrap_delete_FormFactorSawtoothRippleGauss, METH_O, "delete_FormFactorSawtoothRippleGauss(FormFactorSawtoothRippleGauss self)"}, + { "FormFactorSawtoothRippleGauss_swigregister", FormFactorSawtoothRippleGauss_swigregister, METH_O, NULL}, + { "FormFactorSawtoothRippleGauss_swiginit", FormFactorSawtoothRippleGauss_swiginit, METH_VARARGS, NULL}, + { "new_FormFactorSawtoothRippleLorentz", _wrap_new_FormFactorSawtoothRippleLorentz, METH_VARARGS, "\n" + "FormFactorSawtoothRippleLorentz(vdouble1d_t P)\n" + "new_FormFactorSawtoothRippleLorentz(double length, double width, double height, double asymmetry) -> FormFactorSawtoothRippleLorentz\n" ""}, - { "FormFactorRipple2Lorentz_clone", _wrap_FormFactorRipple2Lorentz_clone, METH_O, "\n" - "FormFactorRipple2Lorentz_clone(FormFactorRipple2Lorentz self) -> FormFactorRipple2Lorentz\n" - "FormFactorRipple2Lorentz * FormFactorRipple2Lorentz::clone() const override final\n" + { "FormFactorSawtoothRippleLorentz_clone", _wrap_FormFactorSawtoothRippleLorentz_clone, METH_O, "\n" + "FormFactorSawtoothRippleLorentz_clone(FormFactorSawtoothRippleLorentz self) -> FormFactorSawtoothRippleLorentz\n" + "IFormFactorBorn* IFormFactorBorn::clone() const override=0\n" "\n" "Returns a clone of this ISample object. \n" "\n" ""}, - { "FormFactorRipple2Lorentz_accept", _wrap_FormFactorRipple2Lorentz_accept, METH_VARARGS, "\n" - "FormFactorRipple2Lorentz_accept(FormFactorRipple2Lorentz self, INodeVisitor visitor)\n" - "void FormFactorRipple2Lorentz::accept(INodeVisitor *visitor) const override final\n" + { "FormFactorSawtoothRippleLorentz_accept", _wrap_FormFactorSawtoothRippleLorentz_accept, METH_VARARGS, "\n" + "FormFactorSawtoothRippleLorentz_accept(FormFactorSawtoothRippleLorentz self, INodeVisitor visitor)\n" + "virtual void INode::accept(INodeVisitor *visitor) const =0\n" "\n" "Calls the INodeVisitor's visit method. \n" "\n" ""}, - { "delete_FormFactorRipple2Lorentz", _wrap_delete_FormFactorRipple2Lorentz, METH_O, "delete_FormFactorRipple2Lorentz(FormFactorRipple2Lorentz self)"}, - { "FormFactorRipple2Lorentz_swigregister", FormFactorRipple2Lorentz_swigregister, METH_O, NULL}, - { "FormFactorRipple2Lorentz_swiginit", FormFactorRipple2Lorentz_swiginit, METH_VARARGS, NULL}, + { "delete_FormFactorSawtoothRippleLorentz", _wrap_delete_FormFactorSawtoothRippleLorentz, METH_O, "delete_FormFactorSawtoothRippleLorentz(FormFactorSawtoothRippleLorentz self)"}, + { "FormFactorSawtoothRippleLorentz_swigregister", FormFactorSawtoothRippleLorentz_swigregister, METH_O, NULL}, + { "FormFactorSawtoothRippleLorentz_swiginit", FormFactorSawtoothRippleLorentz_swiginit, METH_VARARGS, NULL}, { "new_FormFactorTetrahedron", _wrap_new_FormFactorTetrahedron, METH_VARARGS, "\n" "FormFactorTetrahedron(vdouble1d_t P)\n" "new_FormFactorTetrahedron(double base_edge, double height, double alpha) -> FormFactorTetrahedron\n" @@ -134847,24 +134831,6 @@ static void *_p_RectangularDetectorTo_p_IDetector(void *x, int *SWIGUNUSEDPARM(n static void *_p_IDetector2DTo_p_IDetector(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IDetector *) ((IDetector2D *) x)); } -static void *_p_FormFactorRipple1LorentzTo_p_ProfileRipple1(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ProfileRipple1 *) ((FormFactorRipple1Lorentz *) x)); -} -static void *_p_FormFactorRipple1BoxTo_p_ProfileRipple1(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ProfileRipple1 *) ((FormFactorRipple1Box *) x)); -} -static void *_p_FormFactorRipple1GaussTo_p_ProfileRipple1(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ProfileRipple1 *) ((FormFactorRipple1Gauss *) x)); -} -static void *_p_FormFactorRipple2GaussTo_p_ProfileRipple2(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ProfileRipple2 *) ((FormFactorRipple2Gauss *) x)); -} -static void *_p_FormFactorRipple2LorentzTo_p_ProfileRipple2(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ProfileRipple2 *) ((FormFactorRipple2Lorentz *) x)); -} -static void *_p_FormFactorRipple2BoxTo_p_ProfileRipple2(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ProfileRipple2 *) ((FormFactorRipple2Box *) x)); -} static void *_p_PolygonTo_p_IShape2D(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IShape2D *) ((Polygon *) x)); } @@ -134913,32 +134879,50 @@ static void *_p_RangedDistributionGateTo_p_RangedDistribution(void *x, int *SWIG static void *_p_RangedDistributionLogNormalTo_p_RangedDistribution(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((RangedDistribution *) ((RangedDistributionLogNormal *) x)); } -static void *_p_FormFactorRipple1LorentzTo_p_IProfileRipple(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IProfileRipple *) (ProfileRipple1 *) ((FormFactorRipple1Lorentz *) x)); +static void *_p_FormFactorSawtoothRippleLorentzTo_p_ISawtoothRipple(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((ISawtoothRipple *) ((FormFactorSawtoothRippleLorentz *) x)); +} +static void *_p_FormFactorSawtoothRippleBoxTo_p_ISawtoothRipple(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((ISawtoothRipple *) ((FormFactorSawtoothRippleBox *) x)); +} +static void *_p_FormFactorSawtoothRippleGaussTo_p_ISawtoothRipple(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((ISawtoothRipple *) ((FormFactorSawtoothRippleGauss *) x)); +} +static void *_p_FormFactorCosineRippleLorentzTo_p_IProfileRipple(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IProfileRipple *) (ICosineRipple *) ((FormFactorCosineRippleLorentz *) x)); +} +static void *_p_FormFactorSawtoothRippleLorentzTo_p_IProfileRipple(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IProfileRipple *) (ISawtoothRipple *) ((FormFactorSawtoothRippleLorentz *) x)); } -static void *_p_FormFactorRipple2GaussTo_p_IProfileRipple(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IProfileRipple *) (ProfileRipple2 *) ((FormFactorRipple2Gauss *) x)); +static void *_p_IProfileRectangularRippleTo_p_IProfileRipple(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IProfileRipple *) ((IProfileRectangularRipple *) x)); } -static void *_p_FormFactorRipple2LorentzTo_p_IProfileRipple(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IProfileRipple *) (ProfileRipple2 *) ((FormFactorRipple2Lorentz *) x)); +static void *_p_ISawtoothRippleTo_p_IProfileRipple(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IProfileRipple *) ((ISawtoothRipple *) x)); } -static void *_p_ProfileRectangularRippleTo_p_IProfileRipple(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IProfileRipple *) ((ProfileRectangularRipple *) x)); +static void *_p_FormFactorCosineRippleBoxTo_p_IProfileRipple(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IProfileRipple *) (ICosineRipple *) ((FormFactorCosineRippleBox *) x)); } -static void *_p_ProfileRipple1To_p_IProfileRipple(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IProfileRipple *) ((ProfileRipple1 *) x)); +static void *_p_FormFactorSawtoothRippleBoxTo_p_IProfileRipple(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IProfileRipple *) (ISawtoothRipple *) ((FormFactorSawtoothRippleBox *) x)); } -static void *_p_ProfileRipple2To_p_IProfileRipple(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IProfileRipple *) ((ProfileRipple2 *) x)); +static void *_p_ICosineRippleTo_p_IProfileRipple(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IProfileRipple *) ((ICosineRipple *) x)); } -static void *_p_FormFactorRipple1BoxTo_p_IProfileRipple(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IProfileRipple *) (ProfileRipple1 *) ((FormFactorRipple1Box *) x)); +static void *_p_FormFactorCosineRippleGaussTo_p_IProfileRipple(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IProfileRipple *) (ICosineRipple *) ((FormFactorCosineRippleGauss *) x)); } -static void *_p_FormFactorRipple1GaussTo_p_IProfileRipple(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IProfileRipple *) (ProfileRipple1 *) ((FormFactorRipple1Gauss *) x)); +static void *_p_FormFactorSawtoothRippleGaussTo_p_IProfileRipple(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IProfileRipple *) (ISawtoothRipple *) ((FormFactorSawtoothRippleGauss *) x)); } -static void *_p_FormFactorRipple2BoxTo_p_IProfileRipple(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IProfileRipple *) (ProfileRipple2 *) ((FormFactorRipple2Box *) x)); +static void *_p_FormFactorCosineRippleLorentzTo_p_ICosineRipple(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((ICosineRipple *) ((FormFactorCosineRippleLorentz *) x)); +} +static void *_p_FormFactorCosineRippleBoxTo_p_ICosineRipple(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((ICosineRipple *) ((FormFactorCosineRippleBox *) x)); +} +static void *_p_FormFactorCosineRippleGaussTo_p_ICosineRipple(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((ICosineRipple *) ((FormFactorCosineRippleGauss *) x)); } static void *_p_ConstKBinAxisTo_p_VariableBinAxis(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((VariableBinAxis *) ((ConstKBinAxis *) x)); @@ -134976,21 +134960,21 @@ static void *_p_FormFactorTruncatedSpheroidTo_p_IFormFactorBorn(void *x, int *SW static void *_p_IProfileRippleTo_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IFormFactorBorn *) ((IProfileRipple *) x)); } -static void *_p_FormFactorRipple1BoxTo_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IFormFactorBorn *) (IProfileRipple *)(ProfileRipple1 *) ((FormFactorRipple1Box *) x)); +static void *_p_ICosineRippleTo_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IFormFactorBorn *) (IProfileRipple *) ((ICosineRipple *) x)); } static void *_p_FormFactorLongBoxGaussTo_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IFormFactorBorn *) ((FormFactorLongBoxGauss *) x)); } -static void *_p_ProfileRipple1To_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IFormFactorBorn *) (IProfileRipple *) ((ProfileRipple1 *) x)); +static void *_p_FormFactorSawtoothRippleGaussTo_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IFormFactorBorn *) (IProfileRipple *)(ISawtoothRipple *) ((FormFactorSawtoothRippleGauss *) x)); +} +static void *_p_FormFactorCosineRippleGaussTo_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IFormFactorBorn *) (IProfileRipple *)(ICosineRipple *) ((FormFactorCosineRippleGauss *) x)); } static void *_p_FormFactorPolygonalSurfaceTo_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IFormFactorBorn *) ((FormFactorPolygonalSurface *) x)); } -static void *_p_ProfileRipple2To_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IFormFactorBorn *) (IProfileRipple *) ((ProfileRipple2 *) x)); -} static void *_p_FormFactorCantellatedCubeTo_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IFormFactorBorn *) (FormFactorPolyhedron *) ((FormFactorCantellatedCube *) x)); } @@ -135003,9 +134987,6 @@ static void *_p_FormFactorTruncatedCubeTo_p_IFormFactorBorn(void *x, int *SWIGUN static void *_p_FormFactorTruncatedSphereTo_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IFormFactorBorn *) ((FormFactorTruncatedSphere *) x)); } -static void *_p_FormFactorRipple1GaussTo_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IFormFactorBorn *) (IProfileRipple *)(ProfileRipple1 *) ((FormFactorRipple1Gauss *) x)); -} static void *_p_FormFactorEllipsoidalCylinderTo_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IFormFactorBorn *) ((FormFactorEllipsoidalCylinder *) x)); } @@ -135024,12 +135005,12 @@ static void *_p_FormFactorIcosahedronTo_p_IFormFactorBorn(void *x, int *SWIGUNUS static void *_p_FormFactorDodecahedronTo_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IFormFactorBorn *) (FormFactorPolyhedron *) ((FormFactorDodecahedron *) x)); } -static void *_p_FormFactorPolyhedronTo_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IFormFactorBorn *) ((FormFactorPolyhedron *) x)); -} static void *_p_FormFactorCuboctahedronTo_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IFormFactorBorn *) (FormFactorPolyhedron *) ((FormFactorCuboctahedron *) x)); } +static void *_p_FormFactorPolyhedronTo_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IFormFactorBorn *) ((FormFactorPolyhedron *) x)); +} static void *_p_FormFactorConeTo_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IFormFactorBorn *) ((FormFactorCone *) x)); } @@ -135051,21 +135032,27 @@ static void *_p_FormFactorGaussSphereTo_p_IFormFactorBorn(void *x, int *SWIGUNUS static void *_p_FormFactorDotTo_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IFormFactorBorn *) ((FormFactorDot *) x)); } -static void *_p_FormFactorRipple2BoxTo_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IFormFactorBorn *) (IProfileRipple *)(ProfileRipple2 *) ((FormFactorRipple2Box *) x)); -} -static void *_p_ProfileRectangularRippleTo_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IFormFactorBorn *) (IProfileRipple *) ((ProfileRectangularRipple *) x)); +static void *_p_IProfileRectangularRippleTo_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IFormFactorBorn *) (IProfileRipple *) ((IProfileRectangularRipple *) x)); } -static void *_p_FormFactorRipple2LorentzTo_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IFormFactorBorn *) (IProfileRipple *)(ProfileRipple2 *) ((FormFactorRipple2Lorentz *) x)); +static void *_p_ISawtoothRippleTo_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IFormFactorBorn *) (IProfileRipple *) ((ISawtoothRipple *) x)); } -static void *_p_FormFactorRipple1LorentzTo_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IFormFactorBorn *) (IProfileRipple *)(ProfileRipple1 *) ((FormFactorRipple1Lorentz *) x)); +static void *_p_FormFactorSawtoothRippleLorentzTo_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IFormFactorBorn *) (IProfileRipple *)(ISawtoothRipple *) ((FormFactorSawtoothRippleLorentz *) x)); } static void *_p_FormFactorLongBoxLorentzTo_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IFormFactorBorn *) ((FormFactorLongBoxLorentz *) x)); } +static void *_p_FormFactorCosineRippleLorentzTo_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IFormFactorBorn *) (IProfileRipple *)(ICosineRipple *) ((FormFactorCosineRippleLorentz *) x)); +} +static void *_p_FormFactorSawtoothRippleBoxTo_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IFormFactorBorn *) (IProfileRipple *)(ISawtoothRipple *) ((FormFactorSawtoothRippleBox *) x)); +} +static void *_p_FormFactorCosineRippleBoxTo_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IFormFactorBorn *) (IProfileRipple *)(ICosineRipple *) ((FormFactorCosineRippleBox *) x)); +} static void *_p_FormFactorPyramidTo_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IFormFactorBorn *) (FormFactorPolyhedron *) ((FormFactorPyramid *) x)); } @@ -135075,9 +135062,6 @@ static void *_p_FormFactorAnisoPyramidTo_p_IFormFactorBorn(void *x, int *SWIGUNU static void *_p_FormFactorPrism3To_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IFormFactorBorn *) (FormFactorPolygonalPrism *) ((FormFactorPrism3 *) x)); } -static void *_p_FormFactorRipple2GaussTo_p_IFormFactorBorn(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IFormFactorBorn *) (IProfileRipple *)(ProfileRipple2 *) ((FormFactorRipple2Gauss *) x)); -} static void *_p_VariableBinAxisTo_p_IAxis(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IAxis *) ((VariableBinAxis *) x)); } @@ -135267,6 +135251,12 @@ static void *_p_MisesGaussPeakShapeTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM( static void *_p_FormFactorWeightedTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ICloneable *) (ISample *)(IFormFactor *) ((FormFactorWeighted *) x)); } +static void *_p_FormFactorSawtoothRippleGaussTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((ICloneable *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ISawtoothRipple *) ((FormFactorSawtoothRippleGauss *) x)); +} +static void *_p_FormFactorCosineRippleGaussTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((ICloneable *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ICosineRipple *) ((FormFactorCosineRippleGauss *) x)); +} static void *_p_LineTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ICloneable *) (IShape2D *) ((Line *) x)); } @@ -135330,8 +135320,11 @@ static void *_p_FTDecayFunction1DTriangleTo_p_ICloneable(void *x, int *SWIGUNUSE static void *_p_FTDistribution1DTriangleTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ICloneable *) (IFTDistribution1D *) ((FTDistribution1DTriangle *) x)); } -static void *_p_ProfileRectangularRippleTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ICloneable *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *) ((ProfileRectangularRipple *) x)); +static void *_p_ISawtoothRippleTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((ICloneable *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *) ((ISawtoothRipple *) x)); +} +static void *_p_IProfileRectangularRippleTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((ICloneable *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *) ((IProfileRectangularRipple *) x)); } static void *_p_ParameterPoolTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ICloneable *) ((ParameterPool *) x)); @@ -135342,9 +135335,6 @@ static void *_p_FootprintGaussTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newme static void *_p_FormFactorDotTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ICloneable *) (ISample *)(IFormFactor *)(IFormFactorBorn *) ((FormFactorDot *) x)); } -static void *_p_FormFactorRipple2GaussTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ICloneable *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ProfileRipple2 *) ((FormFactorRipple2Gauss *) x)); -} static void *_p_ResolutionFunction2DGaussianTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ICloneable *) (IResolutionFunction2D *) ((ResolutionFunction2DGaussian *) x)); } @@ -135375,6 +135365,9 @@ static void *_p_FormFactorTruncatedSphereTo_p_ICloneable(void *x, int *SWIGUNUSE static void *_p_FormFactorFullSphereTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ICloneable *) (ISample *)(IFormFactor *)(IFormFactorBorn *) ((FormFactorFullSphere *) x)); } +static void *_p_ICosineRippleTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((ICloneable *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *) ((ICosineRipple *) x)); +} static void *_p_IProfileRippleTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ICloneable *) (ISample *)(IFormFactor *)(IFormFactorBorn *) ((IProfileRipple *) x)); } @@ -135537,42 +135530,33 @@ static void *_p_FormFactorBoxTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmem static void *_p_FTDistribution1DGateTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ICloneable *) (IFTDistribution1D *) ((FTDistribution1DGate *) x)); } -static void *_p_ProfileRipple1To_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ICloneable *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *) ((ProfileRipple1 *) x)); -} static void *_p_FormFactorLongBoxGaussTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ICloneable *) (ISample *)(IFormFactor *)(IFormFactorBorn *) ((FormFactorLongBoxGauss *) x)); } static void *_p_FormFactorPolygonalPrismTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ICloneable *) (ISample *)(IFormFactor *)(IFormFactorBorn *) ((FormFactorPolygonalPrism *) x)); } -static void *_p_ProfileRipple2To_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ICloneable *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *) ((ProfileRipple2 *) x)); -} static void *_p_FormFactorPrism3To_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ICloneable *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(FormFactorPolygonalPrism *) ((FormFactorPrism3 *) x)); } static void *_p_FormFactorHemiEllipsoidTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ICloneable *) (ISample *)(IFormFactor *)(IFormFactorBorn *) ((FormFactorHemiEllipsoid *) x)); } -static void *_p_FormFactorRipple2LorentzTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ICloneable *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ProfileRipple2 *) ((FormFactorRipple2Lorentz *) x)); -} -static void *_p_FormFactorRipple1LorentzTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ICloneable *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ProfileRipple1 *) ((FormFactorRipple1Lorentz *) x)); +static void *_p_FormFactorSawtoothRippleLorentzTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((ICloneable *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ISawtoothRipple *) ((FormFactorSawtoothRippleLorentz *) x)); } static void *_p_FormFactorLongBoxLorentzTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ICloneable *) (ISample *)(IFormFactor *)(IFormFactorBorn *) ((FormFactorLongBoxLorentz *) x)); } +static void *_p_FormFactorCosineRippleLorentzTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((ICloneable *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ICosineRipple *) ((FormFactorCosineRippleLorentz *) x)); +} static void *_p_RangedDistributionLorentzTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ICloneable *) (RangedDistribution *) ((RangedDistributionLorentz *) x)); } static void *_p_DistributionLorentzTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ICloneable *) (IDistribution1D *) ((DistributionLorentz *) x)); } -static void *_p_FormFactorRipple1BoxTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ICloneable *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ProfileRipple1 *) ((FormFactorRipple1Box *) x)); -} static void *_p_FormFactorPrism6To_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ICloneable *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(FormFactorPolygonalPrism *) ((FormFactorPrism6 *) x)); } @@ -135582,18 +135566,12 @@ static void *_p_FTDistribution2DConeTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM static void *_p_IDetector2DTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ICloneable *) (IDetector *) ((IDetector2D *) x)); } -static void *_p_FormFactorRipple2BoxTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ICloneable *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ProfileRipple2 *) ((FormFactorRipple2Box *) x)); -} static void *_p_IFootprintFactorTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ICloneable *) ((IFootprintFactor *) x)); } static void *_p_ISampleTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ICloneable *) ((ISample *) x)); } -static void *_p_FormFactorRipple1GaussTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ICloneable *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ProfileRipple1 *) ((FormFactorRipple1Gauss *) x)); -} static void *_p_IResolutionFunction2DTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ICloneable *) ((IResolutionFunction2D *) x)); } @@ -135615,6 +135593,12 @@ static void *_p_FormFactorSphereLogNormalRadiusTo_p_ICloneable(void *x, int *SWI static void *_p_FormFactorSphereGaussianRadiusTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ICloneable *) (ISample *)(IFormFactor *)(IFormFactorBorn *) ((FormFactorSphereGaussianRadius *) x)); } +static void *_p_FormFactorSawtoothRippleBoxTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((ICloneable *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ISawtoothRipple *) ((FormFactorSawtoothRippleBox *) x)); +} +static void *_p_FormFactorCosineRippleBoxTo_p_ICloneable(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((ICloneable *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ICosineRipple *) ((FormFactorCosineRippleBox *) x)); +} static void *_p_AngularSpecScanTo_p_ISpecularScan(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ISpecularScan *) ((AngularSpecScan *) x)); } @@ -135729,9 +135713,6 @@ static void *_p_IsGISAXSDetectorTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM static void *_p_RectangularDetectorTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IParameterized *) (INode *)(IDetector *)(IDetector2D *) ((RectangularDetector *) x)); } -static void *_p_FormFactorRipple2BoxTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IParameterized *) (INode *)(ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ProfileRipple2 *) ((FormFactorRipple2Box *) x)); -} static void *_p_MisesGaussPeakShapeTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IParameterized *) (INode *)(ISample *)(IPeakShape *) ((MisesGaussPeakShape *) x)); } @@ -135798,8 +135779,11 @@ static void *_p_FTDistribution2DConeTo_p_IParameterized(void *x, int *SWIGUNUSED static void *_p_ParticleCoreShellTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IParameterized *) (INode *)(ISample *)(IAbstractParticle *)(IParticle *) ((ParticleCoreShell *) x)); } -static void *_p_ProfileRectangularRippleTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IParameterized *) (INode *)(ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *) ((ProfileRectangularRipple *) x)); +static void *_p_IProfileRectangularRippleTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IParameterized *) (INode *)(ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *) ((IProfileRectangularRipple *) x)); +} +static void *_p_ISawtoothRippleTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IParameterized *) (INode *)(ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *) ((ISawtoothRipple *) x)); } static void *_p_FormFactorFullSphereTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IParameterized *) (INode *)(ISample *)(IFormFactor *)(IFormFactorBorn *) ((FormFactorFullSphere *) x)); @@ -135831,9 +135815,6 @@ static void *_p_FTDistribution2DGateTo_p_IParameterized(void *x, int *SWIGUNUSED static void *_p_DistributionLogNormalTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IParameterized *) (INode *)(IDistribution1D *) ((DistributionLogNormal *) x)); } -static void *_p_FormFactorRipple1BoxTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IParameterized *) (INode *)(ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ProfileRipple1 *) ((FormFactorRipple1Box *) x)); -} static void *_p_InstrumentTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IParameterized *) (INode *) ((Instrument *) x)); } @@ -135879,9 +135860,6 @@ static void *_p_FormFactorTruncatedCubeTo_p_IParameterized(void *x, int *SWIGUNU static void *_p_RotationZTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IParameterized *) (INode *)(IRotation *) ((RotationZ *) x)); } -static void *_p_FormFactorRipple2GaussTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IParameterized *) (INode *)(ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ProfileRipple2 *) ((FormFactorRipple2Gauss *) x)); -} static void *_p_IFormFactorBornTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IParameterized *) (INode *)(ISample *)(IFormFactor *) ((IFormFactorBorn *) x)); } @@ -135921,18 +135899,18 @@ static void *_p_IFTDecayFunction1DTo_p_IParameterized(void *x, int *SWIGUNUSEDPA static void *_p_FormFactorConeTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IParameterized *) (INode *)(ISample *)(IFormFactor *)(IFormFactorBorn *) ((FormFactorCone *) x)); } +static void *_p_FormFactorCosineRippleBoxTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IParameterized *) (INode *)(ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ICosineRipple *) ((FormFactorCosineRippleBox *) x)); +} +static void *_p_FormFactorSawtoothRippleBoxTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IParameterized *) (INode *)(ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ISawtoothRipple *) ((FormFactorSawtoothRippleBox *) x)); +} static void *_p_InterferenceFunctionTwinTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IParameterized *) (INode *)(ISample *)(IInterferenceFunction *) ((InterferenceFunctionTwin *) x)); } static void *_p_LayerTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IParameterized *) (INode *)(ISample *) ((Layer *) x)); } -static void *_p_ProfileRipple1To_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IParameterized *) (INode *)(ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *) ((ProfileRipple1 *) x)); -} -static void *_p_ProfileRipple2To_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IParameterized *) (INode *)(ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *) ((ProfileRipple2 *) x)); -} static void *_p_FormFactorAnisoPyramidTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IParameterized *) (INode *)(ISample *)(IFormFactor *)(IFormFactorBorn *)(FormFactorPolyhedron *) ((FormFactorAnisoPyramid *) x)); } @@ -135975,6 +135953,12 @@ static void *_p_FTDistribution2DVoigtTo_p_IParameterized(void *x, int *SWIGUNUSE static void *_p_FTDecayFunction2DVoigtTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IParameterized *) (INode *)(IFTDecayFunction2D *) ((FTDecayFunction2DVoigt *) x)); } +static void *_p_FormFactorCosineRippleGaussTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IParameterized *) (INode *)(ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ICosineRipple *) ((FormFactorCosineRippleGauss *) x)); +} +static void *_p_FormFactorSawtoothRippleGaussTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IParameterized *) (INode *)(ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ISawtoothRipple *) ((FormFactorSawtoothRippleGauss *) x)); +} static void *_p_FTDistribution2DCauchyTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IParameterized *) (INode *)(IFTDistribution2D *) ((FTDistribution2DCauchy *) x)); } @@ -135996,9 +135980,6 @@ static void *_p_FootprintSquareTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM( static void *_p_FormFactorCone6To_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IParameterized *) (INode *)(ISample *)(IFormFactor *)(IFormFactorBorn *)(FormFactorPolyhedron *) ((FormFactorCone6 *) x)); } -static void *_p_FormFactorRipple1GaussTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IParameterized *) (INode *)(ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ProfileRipple1 *) ((FormFactorRipple1Gauss *) x)); -} static void *_p_IFormFactorDecoratorTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IParameterized *) (INode *)(ISample *)(IFormFactor *) ((IFormFactorDecorator *) x)); } @@ -136026,6 +136007,9 @@ static void *_p_MesoCrystalTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newm static void *_p_IProfileRippleTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IParameterized *) (INode *)(ISample *)(IFormFactor *)(IFormFactorBorn *) ((IProfileRipple *) x)); } +static void *_p_ICosineRippleTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IParameterized *) (INode *)(ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *) ((ICosineRipple *) x)); +} static void *_p_IFTDistribution2DTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IParameterized *) (INode *) ((IFTDistribution2D *) x)); } @@ -136068,14 +136052,14 @@ static void *_p_InterferenceFunction2DLatticeTo_p_IParameterized(void *x, int *S static void *_p_InterferenceFunction1DLatticeTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IParameterized *) (INode *)(ISample *)(IInterferenceFunction *) ((InterferenceFunction1DLattice *) x)); } +static void *_p_FormFactorCosineRippleLorentzTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IParameterized *) (INode *)(ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ICosineRipple *) ((FormFactorCosineRippleLorentz *) x)); +} static void *_p_FormFactorLongBoxLorentzTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IParameterized *) (INode *)(ISample *)(IFormFactor *)(IFormFactorBorn *) ((FormFactorLongBoxLorentz *) x)); } -static void *_p_FormFactorRipple1LorentzTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IParameterized *) (INode *)(ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ProfileRipple1 *) ((FormFactorRipple1Lorentz *) x)); -} -static void *_p_FormFactorRipple2LorentzTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IParameterized *) (INode *)(ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ProfileRipple2 *) ((FormFactorRipple2Lorentz *) x)); +static void *_p_FormFactorSawtoothRippleLorentzTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IParameterized *) (INode *)(ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ISawtoothRipple *) ((FormFactorSawtoothRippleLorentz *) x)); } static void *_p_LatticeTo_p_IParameterized(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IParameterized *) (INode *) ((Lattice *) x)); @@ -136122,14 +136106,17 @@ static void *_p_FormFactorTruncatedSpheroidTo_p_IFormFactor(void *x, int *SWIGUN static void *_p_IProfileRippleTo_p_IFormFactor(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IFormFactor *) (IFormFactorBorn *) ((IProfileRipple *) x)); } -static void *_p_FormFactorRipple1BoxTo_p_IFormFactor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IFormFactor *) (IFormFactorBorn *)(IProfileRipple *)(ProfileRipple1 *) ((FormFactorRipple1Box *) x)); +static void *_p_ICosineRippleTo_p_IFormFactor(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IFormFactor *) (IFormFactorBorn *)(IProfileRipple *) ((ICosineRipple *) x)); } static void *_p_FormFactorLongBoxGaussTo_p_IFormFactor(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IFormFactor *) (IFormFactorBorn *) ((FormFactorLongBoxGauss *) x)); } -static void *_p_ProfileRipple1To_p_IFormFactor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IFormFactor *) (IFormFactorBorn *)(IProfileRipple *) ((ProfileRipple1 *) x)); +static void *_p_FormFactorCosineRippleGaussTo_p_IFormFactor(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IFormFactor *) (IFormFactorBorn *)(IProfileRipple *)(ICosineRipple *) ((FormFactorCosineRippleGauss *) x)); +} +static void *_p_FormFactorSawtoothRippleGaussTo_p_IFormFactor(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IFormFactor *) (IFormFactorBorn *)(IProfileRipple *)(ISawtoothRipple *) ((FormFactorSawtoothRippleGauss *) x)); } static void *_p_FormFactorPolygonalSurfaceTo_p_IFormFactor(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IFormFactor *) (IFormFactorBorn *) ((FormFactorPolygonalSurface *) x)); @@ -136137,9 +136124,6 @@ static void *_p_FormFactorPolygonalSurfaceTo_p_IFormFactor(void *x, int *SWIGUNU static void *_p_FormFactorCrystalTo_p_IFormFactor(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IFormFactor *) ((FormFactorCrystal *) x)); } -static void *_p_ProfileRipple2To_p_IFormFactor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IFormFactor *) (IFormFactorBorn *)(IProfileRipple *) ((ProfileRipple2 *) x)); -} static void *_p_FormFactorCantellatedCubeTo_p_IFormFactor(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IFormFactor *) (IFormFactorBorn *)(FormFactorPolyhedron *) ((FormFactorCantellatedCube *) x)); } @@ -136152,9 +136136,6 @@ static void *_p_FormFactorTruncatedCubeTo_p_IFormFactor(void *x, int *SWIGUNUSED static void *_p_FormFactorTruncatedSphereTo_p_IFormFactor(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IFormFactor *) (IFormFactorBorn *) ((FormFactorTruncatedSphere *) x)); } -static void *_p_FormFactorRipple1GaussTo_p_IFormFactor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IFormFactor *) (IFormFactorBorn *)(IProfileRipple *)(ProfileRipple1 *) ((FormFactorRipple1Gauss *) x)); -} static void *_p_FormFactorEllipsoidalCylinderTo_p_IFormFactor(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IFormFactor *) (IFormFactorBorn *) ((FormFactorEllipsoidalCylinder *) x)); } @@ -136206,23 +136187,29 @@ static void *_p_FormFactorGaussSphereTo_p_IFormFactor(void *x, int *SWIGUNUSEDPA static void *_p_FormFactorDotTo_p_IFormFactor(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IFormFactor *) (IFormFactorBorn *) ((FormFactorDot *) x)); } -static void *_p_FormFactorRipple2BoxTo_p_IFormFactor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IFormFactor *) (IFormFactorBorn *)(IProfileRipple *)(ProfileRipple2 *) ((FormFactorRipple2Box *) x)); +static void *_p_IProfileRectangularRippleTo_p_IFormFactor(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IFormFactor *) (IFormFactorBorn *)(IProfileRipple *) ((IProfileRectangularRipple *) x)); } -static void *_p_ProfileRectangularRippleTo_p_IFormFactor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IFormFactor *) (IFormFactorBorn *)(IProfileRipple *) ((ProfileRectangularRipple *) x)); -} -static void *_p_FormFactorRipple1LorentzTo_p_IFormFactor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IFormFactor *) (IFormFactorBorn *)(IProfileRipple *)(ProfileRipple1 *) ((FormFactorRipple1Lorentz *) x)); +static void *_p_ISawtoothRippleTo_p_IFormFactor(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IFormFactor *) (IFormFactorBorn *)(IProfileRipple *) ((ISawtoothRipple *) x)); } static void *_p_FormFactorLongBoxLorentzTo_p_IFormFactor(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IFormFactor *) (IFormFactorBorn *) ((FormFactorLongBoxLorentz *) x)); } +static void *_p_FormFactorCosineRippleLorentzTo_p_IFormFactor(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IFormFactor *) (IFormFactorBorn *)(IProfileRipple *)(ICosineRipple *) ((FormFactorCosineRippleLorentz *) x)); +} static void *_p_FormFactorWeightedTo_p_IFormFactor(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IFormFactor *) ((FormFactorWeighted *) x)); } -static void *_p_FormFactorRipple2LorentzTo_p_IFormFactor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IFormFactor *) (IFormFactorBorn *)(IProfileRipple *)(ProfileRipple2 *) ((FormFactorRipple2Lorentz *) x)); +static void *_p_FormFactorSawtoothRippleLorentzTo_p_IFormFactor(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IFormFactor *) (IFormFactorBorn *)(IProfileRipple *)(ISawtoothRipple *) ((FormFactorSawtoothRippleLorentz *) x)); +} +static void *_p_FormFactorCosineRippleBoxTo_p_IFormFactor(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IFormFactor *) (IFormFactorBorn *)(IProfileRipple *)(ICosineRipple *) ((FormFactorCosineRippleBox *) x)); +} +static void *_p_FormFactorSawtoothRippleBoxTo_p_IFormFactor(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((IFormFactor *) (IFormFactorBorn *)(IProfileRipple *)(ISawtoothRipple *) ((FormFactorSawtoothRippleBox *) x)); } static void *_p_FormFactorPyramidTo_p_IFormFactor(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IFormFactor *) (IFormFactorBorn *)(FormFactorPolyhedron *) ((FormFactorPyramid *) x)); @@ -136233,9 +136220,6 @@ static void *_p_FormFactorAnisoPyramidTo_p_IFormFactor(void *x, int *SWIGUNUSEDP static void *_p_FormFactorPrism3To_p_IFormFactor(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IFormFactor *) (IFormFactorBorn *)(FormFactorPolygonalPrism *) ((FormFactorPrism3 *) x)); } -static void *_p_FormFactorRipple2GaussTo_p_IFormFactor(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((IFormFactor *) (IFormFactorBorn *)(IProfileRipple *)(ProfileRipple2 *) ((FormFactorRipple2Gauss *) x)); -} static void *_p_SampleBuilderFactoryTo_p_IFactoryT_std__string_IMultiLayerBuilder_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((IFactory< std::string,IMultiLayerBuilder > *) ((SampleBuilderFactory *) x)); } @@ -136266,9 +136250,6 @@ static void *_p_ILayoutTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { static void *_p_FormFactorHemiEllipsoidTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ISample *) (IFormFactor *)(IFormFactorBorn *) ((FormFactorHemiEllipsoid *) x)); } -static void *_p_FormFactorRipple2BoxTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ISample *) (IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ProfileRipple2 *) ((FormFactorRipple2Box *) x)); -} static void *_p_IPeakShapeTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ISample *) ((IPeakShape *) x)); } @@ -136314,8 +136295,11 @@ static void *_p_FormFactorPrism6To_p_ISample(void *x, int *SWIGUNUSEDPARM(newmem static void *_p_ParticleCoreShellTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ISample *) (IAbstractParticle *)(IParticle *) ((ParticleCoreShell *) x)); } -static void *_p_ProfileRectangularRippleTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ISample *) (IFormFactor *)(IFormFactorBorn *)(IProfileRipple *) ((ProfileRectangularRipple *) x)); +static void *_p_ISawtoothRippleTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((ISample *) (IFormFactor *)(IFormFactorBorn *)(IProfileRipple *) ((ISawtoothRipple *) x)); +} +static void *_p_IProfileRectangularRippleTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((ISample *) (IFormFactor *)(IFormFactorBorn *)(IProfileRipple *) ((IProfileRectangularRipple *) x)); } static void *_p_FormFactorTruncatedSphereTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ISample *) (IFormFactor *)(IFormFactorBorn *) ((FormFactorTruncatedSphere *) x)); @@ -136338,9 +136322,6 @@ static void *_p_FormFactorPolygonalPrismTo_p_ISample(void *x, int *SWIGUNUSEDPAR static void *_p_InterferenceFunctionHardDiskTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ISample *) (IInterferenceFunction *) ((InterferenceFunctionHardDisk *) x)); } -static void *_p_FormFactorRipple1BoxTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ISample *) (IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ProfileRipple1 *) ((FormFactorRipple1Box *) x)); -} static void *_p_FormFactorFullSpheroidTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ISample *) (IFormFactor *)(IFormFactorBorn *) ((FormFactorFullSpheroid *) x)); } @@ -136353,9 +136334,6 @@ static void *_p_FormFactorTruncatedCubeTo_p_ISample(void *x, int *SWIGUNUSEDPARM static void *_p_FormFactorCantellatedCubeTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ISample *) (IFormFactor *)(IFormFactorBorn *)(FormFactorPolyhedron *) ((FormFactorCantellatedCube *) x)); } -static void *_p_FormFactorRipple2GaussTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ISample *) (IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ProfileRipple2 *) ((FormFactorRipple2Gauss *) x)); -} static void *_p_IFormFactorBornTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ISample *) (IFormFactor *) ((IFormFactorBorn *) x)); } @@ -136371,6 +136349,12 @@ static void *_p_IParticleTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { static void *_p_IAbstractParticleTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ISample *) ((IAbstractParticle *) x)); } +static void *_p_FormFactorSawtoothRippleBoxTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((ISample *) (IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ISawtoothRipple *) ((FormFactorSawtoothRippleBox *) x)); +} +static void *_p_FormFactorCosineRippleBoxTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((ISample *) (IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ICosineRipple *) ((FormFactorCosineRippleBox *) x)); +} static void *_p_FormFactorConeTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ISample *) (IFormFactor *)(IFormFactorBorn *) ((FormFactorCone *) x)); } @@ -136380,18 +136364,12 @@ static void *_p_InterferenceFunctionTwinTo_p_ISample(void *x, int *SWIGUNUSEDPAR static void *_p_LayerTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ISample *) ((Layer *) x)); } -static void *_p_ProfileRipple1To_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ISample *) (IFormFactor *)(IFormFactorBorn *)(IProfileRipple *) ((ProfileRipple1 *) x)); -} static void *_p_FormFactorPyramidTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ISample *) (IFormFactor *)(IFormFactorBorn *)(FormFactorPolyhedron *) ((FormFactorPyramid *) x)); } static void *_p_FormFactorAnisoPyramidTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ISample *) (IFormFactor *)(IFormFactorBorn *)(FormFactorPolyhedron *) ((FormFactorAnisoPyramid *) x)); } -static void *_p_ProfileRipple2To_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ISample *) (IFormFactor *)(IFormFactorBorn *)(IProfileRipple *) ((ProfileRipple2 *) x)); -} static void *_p_FormFactorEllipsoidalCylinderTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ISample *) (IFormFactor *)(IFormFactorBorn *) ((FormFactorEllipsoidalCylinder *) x)); } @@ -136401,15 +136379,18 @@ static void *_p_FormFactorCylinderTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newm static void *_p_ParticleCompositionTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ISample *) (IAbstractParticle *)(IParticle *) ((ParticleComposition *) x)); } +static void *_p_FormFactorSawtoothRippleGaussTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((ISample *) (IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ISawtoothRipple *) ((FormFactorSawtoothRippleGauss *) x)); +} +static void *_p_FormFactorCosineRippleGaussTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((ISample *) (IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ICosineRipple *) ((FormFactorCosineRippleGauss *) x)); +} static void *_p_IInterferenceFunctionTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ISample *) ((IInterferenceFunction *) x)); } static void *_p_FormFactorCone6To_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ISample *) (IFormFactor *)(IFormFactorBorn *)(FormFactorPolyhedron *) ((FormFactorCone6 *) x)); } -static void *_p_FormFactorRipple1GaussTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ISample *) (IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ProfileRipple1 *) ((FormFactorRipple1Gauss *) x)); -} static void *_p_IFormFactorDecoratorTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ISample *) (IFormFactor *) ((IFormFactorDecorator *) x)); } @@ -136434,6 +136415,9 @@ static void *_p_InterferenceFunction2DParaCrystalTo_p_ISample(void *x, int *SWIG static void *_p_InterferenceFunctionRadialParaCrystalTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ISample *) (IInterferenceFunction *) ((InterferenceFunctionRadialParaCrystal *) x)); } +static void *_p_ICosineRippleTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((ISample *) (IFormFactor *)(IFormFactorBorn *)(IProfileRipple *) ((ICosineRipple *) x)); +} static void *_p_IProfileRippleTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ISample *) (IFormFactor *)(IFormFactorBorn *) ((IProfileRipple *) x)); } @@ -136446,15 +136430,15 @@ static void *_p_FormFactorGaussSphereTo_p_ISample(void *x, int *SWIGUNUSEDPARM(n static void *_p_FormFactorWeightedTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ISample *) (IFormFactor *) ((FormFactorWeighted *) x)); } -static void *_p_FormFactorRipple2LorentzTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ISample *) (IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ProfileRipple2 *) ((FormFactorRipple2Lorentz *) x)); -} -static void *_p_FormFactorRipple1LorentzTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((ISample *) (IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ProfileRipple1 *) ((FormFactorRipple1Lorentz *) x)); +static void *_p_FormFactorSawtoothRippleLorentzTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((ISample *) (IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ISawtoothRipple *) ((FormFactorSawtoothRippleLorentz *) x)); } static void *_p_FormFactorLongBoxLorentzTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ISample *) (IFormFactor *)(IFormFactorBorn *) ((FormFactorLongBoxLorentz *) x)); } +static void *_p_FormFactorCosineRippleLorentzTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((ISample *) (IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ICosineRipple *) ((FormFactorCosineRippleLorentz *) x)); +} static void *_p_InterferenceFunction1DLatticeTo_p_ISample(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((ISample *) (IInterferenceFunction *) ((InterferenceFunction1DLattice *) x)); } @@ -136530,9 +136514,6 @@ static void *_p_IsGISAXSDetectorTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemor static void *_p_RectangularDetectorTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((INode *) (IDetector *)(IDetector2D *) ((RectangularDetector *) x)); } -static void *_p_FormFactorRipple2BoxTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((INode *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ProfileRipple2 *) ((FormFactorRipple2Box *) x)); -} static void *_p_MisesGaussPeakShapeTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((INode *) (ISample *)(IPeakShape *) ((MisesGaussPeakShape *) x)); } @@ -136599,8 +136580,11 @@ static void *_p_FTDistribution2DConeTo_p_INode(void *x, int *SWIGUNUSEDPARM(newm static void *_p_ParticleCoreShellTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((INode *) (ISample *)(IAbstractParticle *)(IParticle *) ((ParticleCoreShell *) x)); } -static void *_p_ProfileRectangularRippleTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((INode *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *) ((ProfileRectangularRipple *) x)); +static void *_p_IProfileRectangularRippleTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((INode *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *) ((IProfileRectangularRipple *) x)); +} +static void *_p_ISawtoothRippleTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((INode *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *) ((ISawtoothRipple *) x)); } static void *_p_FormFactorFullSphereTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((INode *) (ISample *)(IFormFactor *)(IFormFactorBorn *) ((FormFactorFullSphere *) x)); @@ -136632,9 +136616,6 @@ static void *_p_FTDistribution2DGateTo_p_INode(void *x, int *SWIGUNUSEDPARM(newm static void *_p_DistributionLogNormalTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((INode *) (IDistribution1D *) ((DistributionLogNormal *) x)); } -static void *_p_FormFactorRipple1BoxTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((INode *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ProfileRipple1 *) ((FormFactorRipple1Box *) x)); -} static void *_p_InstrumentTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((INode *) ((Instrument *) x)); } @@ -136680,9 +136661,6 @@ static void *_p_FormFactorTruncatedCubeTo_p_INode(void *x, int *SWIGUNUSEDPARM(n static void *_p_RotationZTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((INode *) (IRotation *) ((RotationZ *) x)); } -static void *_p_FormFactorRipple2GaussTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((INode *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ProfileRipple2 *) ((FormFactorRipple2Gauss *) x)); -} static void *_p_IFormFactorBornTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((INode *) (ISample *)(IFormFactor *) ((IFormFactorBorn *) x)); } @@ -136719,18 +136697,18 @@ static void *_p_IFTDecayFunction1DTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmem static void *_p_FormFactorConeTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((INode *) (ISample *)(IFormFactor *)(IFormFactorBorn *) ((FormFactorCone *) x)); } +static void *_p_FormFactorCosineRippleBoxTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((INode *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ICosineRipple *) ((FormFactorCosineRippleBox *) x)); +} +static void *_p_FormFactorSawtoothRippleBoxTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((INode *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ISawtoothRipple *) ((FormFactorSawtoothRippleBox *) x)); +} static void *_p_InterferenceFunctionTwinTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((INode *) (ISample *)(IInterferenceFunction *) ((InterferenceFunctionTwin *) x)); } static void *_p_LayerTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((INode *) (ISample *) ((Layer *) x)); } -static void *_p_ProfileRipple1To_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((INode *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *) ((ProfileRipple1 *) x)); -} -static void *_p_ProfileRipple2To_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((INode *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *) ((ProfileRipple2 *) x)); -} static void *_p_FormFactorAnisoPyramidTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((INode *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(FormFactorPolyhedron *) ((FormFactorAnisoPyramid *) x)); } @@ -136773,6 +136751,12 @@ static void *_p_FTDistribution2DVoigtTo_p_INode(void *x, int *SWIGUNUSEDPARM(new static void *_p_FTDecayFunction2DVoigtTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((INode *) (IFTDecayFunction2D *) ((FTDecayFunction2DVoigt *) x)); } +static void *_p_FormFactorCosineRippleGaussTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((INode *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ICosineRipple *) ((FormFactorCosineRippleGauss *) x)); +} +static void *_p_FormFactorSawtoothRippleGaussTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((INode *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ISawtoothRipple *) ((FormFactorSawtoothRippleGauss *) x)); +} static void *_p_FTDistribution2DCauchyTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((INode *) (IFTDistribution2D *) ((FTDistribution2DCauchy *) x)); } @@ -136794,9 +136778,6 @@ static void *_p_FootprintSquareTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory static void *_p_FormFactorCone6To_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((INode *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(FormFactorPolyhedron *) ((FormFactorCone6 *) x)); } -static void *_p_FormFactorRipple1GaussTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((INode *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ProfileRipple1 *) ((FormFactorRipple1Gauss *) x)); -} static void *_p_IFormFactorDecoratorTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((INode *) (ISample *)(IFormFactor *) ((IFormFactorDecorator *) x)); } @@ -136824,6 +136805,9 @@ static void *_p_MesoCrystalTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { static void *_p_IProfileRippleTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((INode *) (ISample *)(IFormFactor *)(IFormFactorBorn *) ((IProfileRipple *) x)); } +static void *_p_ICosineRippleTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((INode *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *) ((ICosineRipple *) x)); +} static void *_p_IFTDistribution2DTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((INode *) ((IFTDistribution2D *) x)); } @@ -136866,14 +136850,14 @@ static void *_p_InterferenceFunction2DLatticeTo_p_INode(void *x, int *SWIGUNUSED static void *_p_InterferenceFunction1DLatticeTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((INode *) (ISample *)(IInterferenceFunction *) ((InterferenceFunction1DLattice *) x)); } +static void *_p_FormFactorCosineRippleLorentzTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((INode *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ICosineRipple *) ((FormFactorCosineRippleLorentz *) x)); +} static void *_p_FormFactorLongBoxLorentzTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((INode *) (ISample *)(IFormFactor *)(IFormFactorBorn *) ((FormFactorLongBoxLorentz *) x)); } -static void *_p_FormFactorRipple1LorentzTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((INode *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ProfileRipple1 *) ((FormFactorRipple1Lorentz *) x)); -} -static void *_p_FormFactorRipple2LorentzTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((INode *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ProfileRipple2 *) ((FormFactorRipple2Lorentz *) x)); +static void *_p_FormFactorSawtoothRippleLorentzTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((INode *) (ISample *)(IFormFactor *)(IFormFactorBorn *)(IProfileRipple *)(ISawtoothRipple *) ((FormFactorSawtoothRippleLorentz *) x)); } static void *_p_LatticeTo_p_INode(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((INode *) ((Lattice *) x)); @@ -137138,6 +137122,9 @@ static swig_type_info _swigt__p_FormFactorCantellatedCube = {"_p_FormFactorCante static swig_type_info _swigt__p_FormFactorCone = {"_p_FormFactorCone", "FormFactorCone *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FormFactorCone6 = {"_p_FormFactorCone6", "FormFactorCone6 *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FormFactorCoreShell = {"_p_FormFactorCoreShell", "FormFactorCoreShell *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_FormFactorCosineRippleBox = {"_p_FormFactorCosineRippleBox", "FormFactorCosineRippleBox *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_FormFactorCosineRippleGauss = {"_p_FormFactorCosineRippleGauss", "FormFactorCosineRippleGauss *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_FormFactorCosineRippleLorentz = {"_p_FormFactorCosineRippleLorentz", "FormFactorCosineRippleLorentz *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FormFactorCrystal = {"_p_FormFactorCrystal", "FormFactorCrystal *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FormFactorCuboctahedron = {"_p_FormFactorCuboctahedron", "FormFactorCuboctahedron *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FormFactorCylinder = {"_p_FormFactorCylinder", "FormFactorCylinder *", 0, 0, (void*)0, 0}; @@ -137163,12 +137150,9 @@ static swig_type_info _swigt__p_FormFactorPolyhedron = {"_p_FormFactorPolyhedron static swig_type_info _swigt__p_FormFactorPrism3 = {"_p_FormFactorPrism3", "FormFactorPrism3 *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FormFactorPrism6 = {"_p_FormFactorPrism6", "FormFactorPrism6 *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FormFactorPyramid = {"_p_FormFactorPyramid", "FormFactorPyramid *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_FormFactorRipple1Box = {"_p_FormFactorRipple1Box", "FormFactorRipple1Box *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_FormFactorRipple1Gauss = {"_p_FormFactorRipple1Gauss", "FormFactorRipple1Gauss *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_FormFactorRipple1Lorentz = {"_p_FormFactorRipple1Lorentz", "FormFactorRipple1Lorentz *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_FormFactorRipple2Box = {"_p_FormFactorRipple2Box", "FormFactorRipple2Box *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_FormFactorRipple2Gauss = {"_p_FormFactorRipple2Gauss", "FormFactorRipple2Gauss *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_FormFactorRipple2Lorentz = {"_p_FormFactorRipple2Lorentz", "FormFactorRipple2Lorentz *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_FormFactorSawtoothRippleBox = {"_p_FormFactorSawtoothRippleBox", "FormFactorSawtoothRippleBox *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_FormFactorSawtoothRippleGauss = {"_p_FormFactorSawtoothRippleGauss", "FormFactorSawtoothRippleGauss *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_FormFactorSawtoothRippleLorentz = {"_p_FormFactorSawtoothRippleLorentz", "FormFactorSawtoothRippleLorentz *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FormFactorSphereGaussianRadius = {"_p_FormFactorSphereGaussianRadius", "FormFactorSphereGaussianRadius *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FormFactorSphereLogNormalRadius = {"_p_FormFactorSphereLogNormalRadius", "FormFactorSphereLogNormalRadius *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FormFactorTetrahedron = {"_p_FormFactorTetrahedron", "FormFactorTetrahedron *", 0, 0, (void*)0, 0}; @@ -137188,6 +137172,7 @@ static swig_type_info _swigt__p_IBackground = {"_p_IBackground", "IBackground *" static swig_type_info _swigt__p_IChiSquaredModule = {"_p_IChiSquaredModule", "IChiSquaredModule *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_ICloneable = {"_p_ICloneable", "ICloneable *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_IClusteredParticles = {"_p_IClusteredParticles", "IClusteredParticles *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_ICosineRipple = {"_p_ICosineRipple", "ICosineRipple *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_IDetector = {"_p_IDetector", "IDetector *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_IDetector2D = {"_p_IDetector2D", "IDetector2D *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_IDetectorResolution = {"_p_IDetectorResolution", "IDetectorResolution *", 0, 0, (void*)0, 0}; @@ -137217,10 +137202,12 @@ static swig_type_info _swigt__p_IParameterized = {"_p_IParameterized", "IParamet static swig_type_info _swigt__p_IParticle = {"_p_IParticle", "IParticle *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_IPeakShape = {"_p_IPeakShape", "IPeakShape *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_IPixel = {"_p_IPixel", "IPixel *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_IProfileRectangularRipple = {"_p_IProfileRectangularRipple", "IProfileRectangularRipple *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_IProfileRipple = {"_p_IProfileRipple", "IProfileRipple *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_IResolutionFunction2D = {"_p_IResolutionFunction2D", "IResolutionFunction2D *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_IRotation = {"_p_IRotation", "IRotation *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_ISample = {"_p_ISample", "ISample *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_ISawtoothRipple = {"_p_ISawtoothRipple", "ISawtoothRipple *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_ISelectionRule = {"_p_ISelectionRule", "ISelectionRule *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_IShape2D = {"_p_IShape2D", "IShape2D *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_ISpecularScan = {"_p_ISpecularScan", "ISpecularScan *", 0, 0, (void*)0, 0}; @@ -137285,9 +137272,6 @@ static swig_type_info _swigt__p_PolygonalTopology = {"_p_PolygonalTopology", "Po static swig_type_info _swigt__p_PolyhedralEdge = {"_p_PolyhedralEdge", "PolyhedralEdge *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_PolyhedralFace = {"_p_PolyhedralFace", "PolyhedralFace *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_PolyhedralTopology = {"_p_PolyhedralTopology", "PolyhedralTopology *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_ProfileRectangularRipple = {"_p_ProfileRectangularRipple", "ProfileRectangularRipple *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_ProfileRipple1 = {"_p_ProfileRipple1", "ProfileRipple1 *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_ProfileRipple2 = {"_p_ProfileRipple2", "ProfileRipple2 *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_ProgressHandler__Callback_t = {"_p_ProgressHandler__Callback_t", "ProgressHandler::Callback_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_PyBuilderCallback = {"_p_PyBuilderCallback", "PyBuilderCallback *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_PyObserverCallback = {"_p_PyObserverCallback", "PyObserverCallback *", 0, 0, (void*)0, 0}; @@ -137480,6 +137464,9 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_FormFactorCone, &_swigt__p_FormFactorCone6, &_swigt__p_FormFactorCoreShell, + &_swigt__p_FormFactorCosineRippleBox, + &_swigt__p_FormFactorCosineRippleGauss, + &_swigt__p_FormFactorCosineRippleLorentz, &_swigt__p_FormFactorCrystal, &_swigt__p_FormFactorCuboctahedron, &_swigt__p_FormFactorCylinder, @@ -137505,12 +137492,9 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_FormFactorPrism3, &_swigt__p_FormFactorPrism6, &_swigt__p_FormFactorPyramid, - &_swigt__p_FormFactorRipple1Box, - &_swigt__p_FormFactorRipple1Gauss, - &_swigt__p_FormFactorRipple1Lorentz, - &_swigt__p_FormFactorRipple2Box, - &_swigt__p_FormFactorRipple2Gauss, - &_swigt__p_FormFactorRipple2Lorentz, + &_swigt__p_FormFactorSawtoothRippleBox, + &_swigt__p_FormFactorSawtoothRippleGauss, + &_swigt__p_FormFactorSawtoothRippleLorentz, &_swigt__p_FormFactorSphereGaussianRadius, &_swigt__p_FormFactorSphereLogNormalRadius, &_swigt__p_FormFactorTetrahedron, @@ -137530,6 +137514,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_IChiSquaredModule, &_swigt__p_ICloneable, &_swigt__p_IClusteredParticles, + &_swigt__p_ICosineRipple, &_swigt__p_IDetector, &_swigt__p_IDetector2D, &_swigt__p_IDetectorResolution, @@ -137559,10 +137544,12 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_IParticle, &_swigt__p_IPeakShape, &_swigt__p_IPixel, + &_swigt__p_IProfileRectangularRipple, &_swigt__p_IProfileRipple, &_swigt__p_IResolutionFunction2D, &_swigt__p_IRotation, &_swigt__p_ISample, + &_swigt__p_ISawtoothRipple, &_swigt__p_ISelectionRule, &_swigt__p_IShape2D, &_swigt__p_ISpecularScan, @@ -137627,9 +137614,6 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_PolyhedralEdge, &_swigt__p_PolyhedralFace, &_swigt__p_PolyhedralTopology, - &_swigt__p_ProfileRectangularRipple, - &_swigt__p_ProfileRipple1, - &_swigt__p_ProfileRipple2, &_swigt__p_ProgressHandler__Callback_t, &_swigt__p_PyBuilderCallback, &_swigt__p_PyObserverCallback, @@ -137822,6 +137806,9 @@ static swig_cast_info _swigc__p_FormFactorCantellatedCube[] = { {&_swigt__p_For static swig_cast_info _swigc__p_FormFactorCone[] = { {&_swigt__p_FormFactorCone, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FormFactorCone6[] = { {&_swigt__p_FormFactorCone6, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FormFactorCoreShell[] = { {&_swigt__p_FormFactorCoreShell, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_FormFactorCosineRippleBox[] = { {&_swigt__p_FormFactorCosineRippleBox, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_FormFactorCosineRippleGauss[] = { {&_swigt__p_FormFactorCosineRippleGauss, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_FormFactorCosineRippleLorentz[] = { {&_swigt__p_FormFactorCosineRippleLorentz, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FormFactorCrystal[] = { {&_swigt__p_FormFactorCrystal, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FormFactorCuboctahedron[] = { {&_swigt__p_FormFactorCuboctahedron, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FormFactorCylinder[] = { {&_swigt__p_FormFactorCylinder, 0, 0, 0},{0, 0, 0, 0}}; @@ -137847,12 +137834,9 @@ static swig_cast_info _swigc__p_FormFactorPolyhedron[] = { {&_swigt__p_FormFact static swig_cast_info _swigc__p_FormFactorPrism3[] = { {&_swigt__p_FormFactorPrism3, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FormFactorPrism6[] = { {&_swigt__p_FormFactorPrism6, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FormFactorPyramid[] = { {&_swigt__p_FormFactorPyramid, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_FormFactorRipple1Box[] = { {&_swigt__p_FormFactorRipple1Box, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_FormFactorRipple1Gauss[] = { {&_swigt__p_FormFactorRipple1Gauss, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_FormFactorRipple1Lorentz[] = { {&_swigt__p_FormFactorRipple1Lorentz, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_FormFactorRipple2Box[] = { {&_swigt__p_FormFactorRipple2Box, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_FormFactorRipple2Gauss[] = { {&_swigt__p_FormFactorRipple2Gauss, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_FormFactorRipple2Lorentz[] = { {&_swigt__p_FormFactorRipple2Lorentz, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_FormFactorSawtoothRippleBox[] = { {&_swigt__p_FormFactorSawtoothRippleBox, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_FormFactorSawtoothRippleGauss[] = { {&_swigt__p_FormFactorSawtoothRippleGauss, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_FormFactorSawtoothRippleLorentz[] = { {&_swigt__p_FormFactorSawtoothRippleLorentz, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FormFactorSphereGaussianRadius[] = { {&_swigt__p_FormFactorSphereGaussianRadius, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FormFactorSphereLogNormalRadius[] = { {&_swigt__p_FormFactorSphereLogNormalRadius, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FormFactorTetrahedron[] = { {&_swigt__p_FormFactorTetrahedron, 0, 0, 0},{0, 0, 0, 0}}; @@ -137870,8 +137854,9 @@ static swig_cast_info _swigc__p_IAbstractParticle[] = { {&_swigt__p_ParticleCom static swig_cast_info _swigc__p_IAxis[] = { {&_swigt__p_IAxis, 0, 0, 0}, {&_swigt__p_VariableBinAxis, _p_VariableBinAxisTo_p_IAxis, 0, 0}, {&_swigt__p_ConstKBinAxis, _p_ConstKBinAxisTo_p_IAxis, 0, 0}, {&_swigt__p_CustomBinAxis, _p_CustomBinAxisTo_p_IAxis, 0, 0}, {&_swigt__p_FixedBinAxis, _p_FixedBinAxisTo_p_IAxis, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_IBackground[] = { {&_swigt__p_IBackground, 0, 0, 0}, {&_swigt__p_ConstantBackground, _p_ConstantBackgroundTo_p_IBackground, 0, 0}, {&_swigt__p_PoissonNoiseBackground, _p_PoissonNoiseBackgroundTo_p_IBackground, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_IChiSquaredModule[] = { {&_swigt__p_IChiSquaredModule, 0, 0, 0}, {&_swigt__p_ChiSquaredModule, _p_ChiSquaredModuleTo_p_IChiSquaredModule, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_ICloneable[] = { {&_swigt__p_Line, _p_LineTo_p_ICloneable, 0, 0}, {&_swigt__p_DistributionTrapezoid, _p_DistributionTrapezoidTo_p_ICloneable, 0, 0}, {&_swigt__p_ParticleLayout, _p_ParticleLayoutTo_p_ICloneable, 0, 0}, {&_swigt__p_ILayout, _p_ILayoutTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDecayFunction2DVoigt, _p_FTDecayFunction2DVoigtTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDistribution2DVoigt, _p_FTDistribution2DVoigtTo_p_ICloneable, 0, 0}, {&_swigt__p_InterferenceFunctionNone, _p_InterferenceFunctionNoneTo_p_ICloneable, 0, 0}, {&_swigt__p_RotationEuler, _p_RotationEulerTo_p_ICloneable, 0, 0}, {&_swigt__p_RangedDistributionGate, _p_RangedDistributionGateTo_p_ICloneable, 0, 0}, {&_swigt__p_DistributionGate, _p_DistributionGateTo_p_ICloneable, 0, 0}, {&_swigt__p_IdentityRotation, _p_IdentityRotationTo_p_ICloneable, 0, 0}, {&_swigt__p_IRotation, _p_IRotationTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorPolygonalSurface, _p_FormFactorPolygonalSurfaceTo_p_ICloneable, 0, 0}, {&_swigt__p_IUnitConverter, _p_IUnitConverterTo_p_ICloneable, 0, 0}, {&_swigt__p_IFormFactor, _p_IFormFactorTo_p_ICloneable, 0, 0}, {&_swigt__p_MultiLayer, _p_MultiLayerTo_p_ICloneable, 0, 0}, {&_swigt__p_RotationX, _p_RotationXTo_p_ICloneable, 0, 0}, {&_swigt__p_RotationY, _p_RotationYTo_p_ICloneable, 0, 0}, {&_swigt__p_LayerRoughness, _p_LayerRoughnessTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorCylinder, _p_FormFactorCylinderTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorEllipsoidalCylinder, _p_FormFactorEllipsoidalCylinderTo_p_ICloneable, 0, 0}, {&_swigt__p_RotationZ, _p_RotationZTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDistribution2DCauchy, _p_FTDistribution2DCauchyTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDistribution1DCauchy, _p_FTDistribution1DCauchyTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDecayFunction2DCauchy, _p_FTDecayFunction2DCauchyTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDecayFunction1DCauchy, _p_FTDecayFunction1DCauchyTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorTetrahedron, _p_FormFactorTetrahedronTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorPolyhedron, _p_FormFactorPolyhedronTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorCuboctahedron, _p_FormFactorCuboctahedronTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorDodecahedron, _p_FormFactorDodecahedronTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorIcosahedron, _p_FormFactorIcosahedronTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorCrystal, _p_FormFactorCrystalTo_p_ICloneable, 0, 0}, {&_swigt__p_InterferenceFunction2DParaCrystal, _p_InterferenceFunction2DParaCrystalTo_p_ICloneable, 0, 0}, {&_swigt__p_InterferenceFunctionRadialParaCrystal, _p_InterferenceFunctionRadialParaCrystalTo_p_ICloneable, 0, 0}, {&_swigt__p_Crystal, _p_CrystalTo_p_ICloneable, 0, 0}, {&_swigt__p_MesoCrystal, _p_MesoCrystalTo_p_ICloneable, 0, 0}, {&_swigt__p_MisesGaussPeakShape, _p_MisesGaussPeakShapeTo_p_ICloneable, 0, 0}, {&_swigt__p_MisesFisherGaussPeakShape, _p_MisesFisherGaussPeakShapeTo_p_ICloneable, 0, 0}, {&_swigt__p_LorentzFisherPeakShape, _p_LorentzFisherPeakShapeTo_p_ICloneable, 0, 0}, {&_swigt__p_GaussFisherPeakShape, _p_GaussFisherPeakShapeTo_p_ICloneable, 0, 0}, {&_swigt__p_IsotropicLorentzPeakShape, _p_IsotropicLorentzPeakShapeTo_p_ICloneable, 0, 0}, {&_swigt__p_IPeakShape, _p_IPeakShapeTo_p_ICloneable, 0, 0}, {&_swigt__p_IsotropicGaussPeakShape, _p_IsotropicGaussPeakShapeTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorWeighted, _p_FormFactorWeightedTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDistribution1DVoigt, _p_FTDistribution1DVoigtTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDecayFunction1DVoigt, _p_FTDecayFunction1DVoigtTo_p_ICloneable, 0, 0}, {&_swigt__p_IChiSquaredModule, _p_IChiSquaredModuleTo_p_ICloneable, 0, 0}, {&_swigt__p_ChiSquaredModule, _p_ChiSquaredModuleTo_p_ICloneable, 0, 0}, {&_swigt__p_Lattice2D, _p_Lattice2DTo_p_ICloneable, 0, 0}, {&_swigt__p_ParticleCoreShell, _p_ParticleCoreShellTo_p_ICloneable, 0, 0}, {&_swigt__p_Particle, _p_ParticleTo_p_ICloneable, 0, 0}, {&_swigt__p_IParticle, _p_IParticleTo_p_ICloneable, 0, 0}, {&_swigt__p_IAbstractParticle, _p_IAbstractParticleTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDistribution2DGate, _p_FTDistribution2DGateTo_p_ICloneable, 0, 0}, {&_swigt__p_IFormFactorDecorator, _p_IFormFactorDecoratorTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorAnisoPyramid, _p_FormFactorAnisoPyramidTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorPyramid, _p_FormFactorPyramidTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorTruncatedCube, _p_FormFactorTruncatedCubeTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorCantellatedCube, _p_FormFactorCantellatedCubeTo_p_ICloneable, 0, 0}, {&_swigt__p_RangedDistribution, _p_RangedDistributionTo_p_ICloneable, 0, 0}, {&_swigt__p_ParticleDistribution, _p_ParticleDistributionTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDistribution1DTriangle, _p_FTDistribution1DTriangleTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDecayFunction1DTriangle, _p_FTDecayFunction1DTriangleTo_p_ICloneable, 0, 0}, {&_swigt__p_ProfileRectangularRipple, _p_ProfileRectangularRippleTo_p_ICloneable, 0, 0}, {&_swigt__p_ParameterPool, _p_ParameterPoolTo_p_ICloneable, 0, 0}, {&_swigt__p_FootprintGauss, _p_FootprintGaussTo_p_ICloneable, 0, 0}, {&_swigt__p_ICloneable, 0, 0, 0}, {&_swigt__p_FormFactorDot, _p_FormFactorDotTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorRipple2Gauss, _p_FormFactorRipple2GaussTo_p_ICloneable, 0, 0}, {&_swigt__p_DistributionGaussian, _p_DistributionGaussianTo_p_ICloneable, 0, 0}, {&_swigt__p_ResolutionFunction2DGaussian, _p_ResolutionFunction2DGaussianTo_p_ICloneable, 0, 0}, {&_swigt__p_RangedDistributionGaussian, _p_RangedDistributionGaussianTo_p_ICloneable, 0, 0}, {&_swigt__p_PoissonNoiseBackground, _p_PoissonNoiseBackgroundTo_p_ICloneable, 0, 0}, {&_swigt__p_ConstantBackground, _p_ConstantBackgroundTo_p_ICloneable, 0, 0}, {&_swigt__p_IBackground, _p_IBackgroundTo_p_ICloneable, 0, 0}, {&_swigt__p_ScanResolution, _p_ScanResolutionTo_p_ICloneable, 0, 0}, {&_swigt__p_IDetectorResolution, _p_IDetectorResolutionTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorTruncatedSphere, _p_FormFactorTruncatedSphereTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorFullSphere, _p_FormFactorFullSphereTo_p_ICloneable, 0, 0}, {&_swigt__p_IProfileRipple, _p_IProfileRippleTo_p_ICloneable, 0, 0}, {&_swigt__p_IClusteredParticles, _p_IClusteredParticlesTo_p_ICloneable, 0, 0}, {&_swigt__p_InterferenceFunctionHardDisk, _p_InterferenceFunctionHardDiskTo_p_ICloneable, 0, 0}, {&_swigt__p_ParticleComposition, _p_ParticleCompositionTo_p_ICloneable, 0, 0}, {&_swigt__p_DistributionCosine, _p_DistributionCosineTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDistribution1DCosine, _p_FTDistribution1DCosineTo_p_ICloneable, 0, 0}, {&_swigt__p_RangedDistributionCosine, _p_RangedDistributionCosineTo_p_ICloneable, 0, 0}, {&_swigt__p_Polygon, _p_PolygonTo_p_ICloneable, 0, 0}, {&_swigt__p_IInterferenceFunction, _p_IInterferenceFunctionTo_p_ICloneable, 0, 0}, {&_swigt__p_InterferenceFunctionTwin, _p_InterferenceFunctionTwinTo_p_ICloneable, 0, 0}, {&_swigt__p_QSpecScan, _p_QSpecScanTo_p_ICloneable, 0, 0}, {&_swigt__p_AngularSpecScan, _p_AngularSpecScanTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorGaussSphere, _p_FormFactorGaussSphereTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorHollowSphere, _p_FormFactorHollowSphereTo_p_ICloneable, 0, 0}, {&_swigt__p_VerticalLine, _p_VerticalLineTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDecayFunction2DGauss, _p_FTDecayFunction2DGaussTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDistribution2DGauss, _p_FTDistribution2DGaussTo_p_ICloneable, 0, 0}, {&_swigt__p_IFormFactorBorn, _p_IFormFactorBornTo_p_ICloneable, 0, 0}, {&_swigt__p_RectangularDetector, _p_RectangularDetectorTo_p_ICloneable, 0, 0}, {&_swigt__p_IsGISAXSDetector, _p_IsGISAXSDetectorTo_p_ICloneable, 0, 0}, {&_swigt__p_SphericalDetector, _p_SphericalDetectorTo_p_ICloneable, 0, 0}, {&_swigt__p_IDetector, _p_IDetectorTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorTruncatedSpheroid, _p_FormFactorTruncatedSpheroidTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorFullSpheroid, _p_FormFactorFullSpheroidTo_p_ICloneable, 0, 0}, {&_swigt__p_ISpecularScan, _p_ISpecularScanTo_p_ICloneable, 0, 0}, {&_swigt__p_InterferenceFunctionFinite3DLattice, _p_InterferenceFunctionFinite3DLatticeTo_p_ICloneable, 0, 0}, {&_swigt__p_InterferenceFunctionFinite2DLattice, _p_InterferenceFunctionFinite2DLatticeTo_p_ICloneable, 0, 0}, {&_swigt__p_InterferenceFunction3DLattice, _p_InterferenceFunction3DLatticeTo_p_ICloneable, 0, 0}, {&_swigt__p_InterferenceFunction2DSuperLattice, _p_InterferenceFunction2DSuperLatticeTo_p_ICloneable, 0, 0}, {&_swigt__p_InterferenceFunction2DLattice, _p_InterferenceFunction2DLatticeTo_p_ICloneable, 0, 0}, {&_swigt__p_InterferenceFunction1DLattice, _p_InterferenceFunction1DLatticeTo_p_ICloneable, 0, 0}, {&_swigt__p_HexagonalLattice, _p_HexagonalLatticeTo_p_ICloneable, 0, 0}, {&_swigt__p_SquareLattice, _p_SquareLatticeTo_p_ICloneable, 0, 0}, {&_swigt__p_BasicLattice, _p_BasicLatticeTo_p_ICloneable, 0, 0}, {&_swigt__p_IShape2D, _p_IShape2DTo_p_ICloneable, 0, 0}, {&_swigt__p_FootprintSquare, _p_FootprintSquareTo_p_ICloneable, 0, 0}, {&_swigt__p_Rectangle, _p_RectangleTo_p_ICloneable, 0, 0}, {&_swigt__p_HorizontalLine, _p_HorizontalLineTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDecayFunction1DGauss, _p_FTDecayFunction1DGaussTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDistribution1DGauss, _p_FTDistribution1DGaussTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorCone6, _p_FormFactorCone6To_p_ICloneable, 0, 0}, {&_swigt__p_IDistribution1D, _p_IDistribution1DTo_p_ICloneable, 0, 0}, {&_swigt__p_IFTDecayFunction1D, _p_IFTDecayFunction1DTo_p_ICloneable, 0, 0}, {&_swigt__p_IFTDistribution1D, _p_IFTDistribution1DTo_p_ICloneable, 0, 0}, {&_swigt__p_SpecularSimulation, _p_SpecularSimulationTo_p_ICloneable, 0, 0}, {&_swigt__p_DepthProbeSimulation, _p_DepthProbeSimulationTo_p_ICloneable, 0, 0}, {&_swigt__p_OffSpecSimulation, _p_OffSpecSimulationTo_p_ICloneable, 0, 0}, {&_swigt__p_GISASSimulation, _p_GISASSimulationTo_p_ICloneable, 0, 0}, {&_swigt__p_Simulation, _p_SimulationTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorCone, _p_FormFactorConeTo_p_ICloneable, 0, 0}, {&_swigt__p_DistributionLogNormal, _p_DistributionLogNormalTo_p_ICloneable, 0, 0}, {&_swigt__p_RangedDistributionLogNormal, _p_RangedDistributionLogNormalTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorBox, _p_FormFactorBoxTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDistribution1DGate, _p_FTDistribution1DGateTo_p_ICloneable, 0, 0}, {&_swigt__p_ProfileRipple1, _p_ProfileRipple1To_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorPolygonalPrism, _p_FormFactorPolygonalPrismTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorLongBoxGauss, _p_FormFactorLongBoxGaussTo_p_ICloneable, 0, 0}, {&_swigt__p_ProfileRipple2, _p_ProfileRipple2To_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorPrism3, _p_FormFactorPrism3To_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorHemiEllipsoid, _p_FormFactorHemiEllipsoidTo_p_ICloneable, 0, 0}, {&_swigt__p_DistributionLorentz, _p_DistributionLorentzTo_p_ICloneable, 0, 0}, {&_swigt__p_RangedDistributionLorentz, _p_RangedDistributionLorentzTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorRipple2Lorentz, _p_FormFactorRipple2LorentzTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorRipple1Lorentz, _p_FormFactorRipple1LorentzTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorLongBoxLorentz, _p_FormFactorLongBoxLorentzTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorRipple1Box, _p_FormFactorRipple1BoxTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorPrism6, _p_FormFactorPrism6To_p_ICloneable, 0, 0}, {&_swigt__p_FTDistribution2DCone, _p_FTDistribution2DConeTo_p_ICloneable, 0, 0}, {&_swigt__p_IDetector2D, _p_IDetector2DTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorRipple2Box, _p_FormFactorRipple2BoxTo_p_ICloneable, 0, 0}, {&_swigt__p_IFootprintFactor, _p_IFootprintFactorTo_p_ICloneable, 0, 0}, {&_swigt__p_ISample, _p_ISampleTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorRipple1Gauss, _p_FormFactorRipple1GaussTo_p_ICloneable, 0, 0}, {&_swigt__p_IFTDistribution2D, _p_IFTDistribution2DTo_p_ICloneable, 0, 0}, {&_swigt__p_Simulation2D, _p_Simulation2DTo_p_ICloneable, 0, 0}, {&_swigt__p_Ellipse, _p_EllipseTo_p_ICloneable, 0, 0}, {&_swigt__p_IFTDecayFunction2D, _p_IFTDecayFunction2DTo_p_ICloneable, 0, 0}, {&_swigt__p_IResolutionFunction2D, _p_IResolutionFunction2DTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorSphereLogNormalRadius, _p_FormFactorSphereLogNormalRadiusTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorSphereGaussianRadius, _p_FormFactorSphereGaussianRadiusTo_p_ICloneable, 0, 0}, {&_swigt__p_Layer, _p_LayerTo_p_ICloneable, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_ICloneable[] = { {&_swigt__p_Line, _p_LineTo_p_ICloneable, 0, 0}, {&_swigt__p_DistributionTrapezoid, _p_DistributionTrapezoidTo_p_ICloneable, 0, 0}, {&_swigt__p_ParticleLayout, _p_ParticleLayoutTo_p_ICloneable, 0, 0}, {&_swigt__p_ILayout, _p_ILayoutTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDecayFunction2DVoigt, _p_FTDecayFunction2DVoigtTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDistribution2DVoigt, _p_FTDistribution2DVoigtTo_p_ICloneable, 0, 0}, {&_swigt__p_InterferenceFunctionNone, _p_InterferenceFunctionNoneTo_p_ICloneable, 0, 0}, {&_swigt__p_RotationEuler, _p_RotationEulerTo_p_ICloneable, 0, 0}, {&_swigt__p_RangedDistributionGate, _p_RangedDistributionGateTo_p_ICloneable, 0, 0}, {&_swigt__p_DistributionGate, _p_DistributionGateTo_p_ICloneable, 0, 0}, {&_swigt__p_IdentityRotation, _p_IdentityRotationTo_p_ICloneable, 0, 0}, {&_swigt__p_IRotation, _p_IRotationTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorPolygonalSurface, _p_FormFactorPolygonalSurfaceTo_p_ICloneable, 0, 0}, {&_swigt__p_IUnitConverter, _p_IUnitConverterTo_p_ICloneable, 0, 0}, {&_swigt__p_IFormFactor, _p_IFormFactorTo_p_ICloneable, 0, 0}, {&_swigt__p_MultiLayer, _p_MultiLayerTo_p_ICloneable, 0, 0}, {&_swigt__p_RotationX, _p_RotationXTo_p_ICloneable, 0, 0}, {&_swigt__p_RotationY, _p_RotationYTo_p_ICloneable, 0, 0}, {&_swigt__p_LayerRoughness, _p_LayerRoughnessTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorCylinder, _p_FormFactorCylinderTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorEllipsoidalCylinder, _p_FormFactorEllipsoidalCylinderTo_p_ICloneable, 0, 0}, {&_swigt__p_RotationZ, _p_RotationZTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDistribution2DCauchy, _p_FTDistribution2DCauchyTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDistribution1DCauchy, _p_FTDistribution1DCauchyTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDecayFunction2DCauchy, _p_FTDecayFunction2DCauchyTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDecayFunction1DCauchy, _p_FTDecayFunction1DCauchyTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorTetrahedron, _p_FormFactorTetrahedronTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorPolyhedron, _p_FormFactorPolyhedronTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorCuboctahedron, _p_FormFactorCuboctahedronTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorDodecahedron, _p_FormFactorDodecahedronTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorIcosahedron, _p_FormFactorIcosahedronTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorCrystal, _p_FormFactorCrystalTo_p_ICloneable, 0, 0}, {&_swigt__p_InterferenceFunction2DParaCrystal, _p_InterferenceFunction2DParaCrystalTo_p_ICloneable, 0, 0}, {&_swigt__p_InterferenceFunctionRadialParaCrystal, _p_InterferenceFunctionRadialParaCrystalTo_p_ICloneable, 0, 0}, {&_swigt__p_Crystal, _p_CrystalTo_p_ICloneable, 0, 0}, {&_swigt__p_MesoCrystal, _p_MesoCrystalTo_p_ICloneable, 0, 0}, {&_swigt__p_MisesGaussPeakShape, _p_MisesGaussPeakShapeTo_p_ICloneable, 0, 0}, {&_swigt__p_MisesFisherGaussPeakShape, _p_MisesFisherGaussPeakShapeTo_p_ICloneable, 0, 0}, {&_swigt__p_LorentzFisherPeakShape, _p_LorentzFisherPeakShapeTo_p_ICloneable, 0, 0}, {&_swigt__p_GaussFisherPeakShape, _p_GaussFisherPeakShapeTo_p_ICloneable, 0, 0}, {&_swigt__p_IsotropicLorentzPeakShape, _p_IsotropicLorentzPeakShapeTo_p_ICloneable, 0, 0}, {&_swigt__p_IPeakShape, _p_IPeakShapeTo_p_ICloneable, 0, 0}, {&_swigt__p_IsotropicGaussPeakShape, _p_IsotropicGaussPeakShapeTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorWeighted, _p_FormFactorWeightedTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorSawtoothRippleGauss, _p_FormFactorSawtoothRippleGaussTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorCosineRippleGauss, _p_FormFactorCosineRippleGaussTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDistribution1DVoigt, _p_FTDistribution1DVoigtTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDecayFunction1DVoigt, _p_FTDecayFunction1DVoigtTo_p_ICloneable, 0, 0}, {&_swigt__p_IChiSquaredModule, _p_IChiSquaredModuleTo_p_ICloneable, 0, 0}, {&_swigt__p_ChiSquaredModule, _p_ChiSquaredModuleTo_p_ICloneable, 0, 0}, {&_swigt__p_Lattice2D, _p_Lattice2DTo_p_ICloneable, 0, 0}, {&_swigt__p_ParticleCoreShell, _p_ParticleCoreShellTo_p_ICloneable, 0, 0}, {&_swigt__p_Particle, _p_ParticleTo_p_ICloneable, 0, 0}, {&_swigt__p_IParticle, _p_IParticleTo_p_ICloneable, 0, 0}, {&_swigt__p_IAbstractParticle, _p_IAbstractParticleTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDistribution2DGate, _p_FTDistribution2DGateTo_p_ICloneable, 0, 0}, {&_swigt__p_IFormFactorDecorator, _p_IFormFactorDecoratorTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorAnisoPyramid, _p_FormFactorAnisoPyramidTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorPyramid, _p_FormFactorPyramidTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorTruncatedCube, _p_FormFactorTruncatedCubeTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorCantellatedCube, _p_FormFactorCantellatedCubeTo_p_ICloneable, 0, 0}, {&_swigt__p_RangedDistribution, _p_RangedDistributionTo_p_ICloneable, 0, 0}, {&_swigt__p_ParticleDistribution, _p_ParticleDistributionTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDistribution1DTriangle, _p_FTDistribution1DTriangleTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDecayFunction1DTriangle, _p_FTDecayFunction1DTriangleTo_p_ICloneable, 0, 0}, {&_swigt__p_ISawtoothRipple, _p_ISawtoothRippleTo_p_ICloneable, 0, 0}, {&_swigt__p_IProfileRectangularRipple, _p_IProfileRectangularRippleTo_p_ICloneable, 0, 0}, {&_swigt__p_ParameterPool, _p_ParameterPoolTo_p_ICloneable, 0, 0}, {&_swigt__p_FootprintGauss, _p_FootprintGaussTo_p_ICloneable, 0, 0}, {&_swigt__p_ICloneable, 0, 0, 0}, {&_swigt__p_FormFactorDot, _p_FormFactorDotTo_p_ICloneable, 0, 0}, {&_swigt__p_ResolutionFunction2DGaussian, _p_ResolutionFunction2DGaussianTo_p_ICloneable, 0, 0}, {&_swigt__p_DistributionGaussian, _p_DistributionGaussianTo_p_ICloneable, 0, 0}, {&_swigt__p_RangedDistributionGaussian, _p_RangedDistributionGaussianTo_p_ICloneable, 0, 0}, {&_swigt__p_PoissonNoiseBackground, _p_PoissonNoiseBackgroundTo_p_ICloneable, 0, 0}, {&_swigt__p_ConstantBackground, _p_ConstantBackgroundTo_p_ICloneable, 0, 0}, {&_swigt__p_IBackground, _p_IBackgroundTo_p_ICloneable, 0, 0}, {&_swigt__p_ScanResolution, _p_ScanResolutionTo_p_ICloneable, 0, 0}, {&_swigt__p_IDetectorResolution, _p_IDetectorResolutionTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorTruncatedSphere, _p_FormFactorTruncatedSphereTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorFullSphere, _p_FormFactorFullSphereTo_p_ICloneable, 0, 0}, {&_swigt__p_IProfileRipple, _p_IProfileRippleTo_p_ICloneable, 0, 0}, {&_swigt__p_ICosineRipple, _p_ICosineRippleTo_p_ICloneable, 0, 0}, {&_swigt__p_IClusteredParticles, _p_IClusteredParticlesTo_p_ICloneable, 0, 0}, {&_swigt__p_InterferenceFunctionHardDisk, _p_InterferenceFunctionHardDiskTo_p_ICloneable, 0, 0}, {&_swigt__p_ParticleComposition, _p_ParticleCompositionTo_p_ICloneable, 0, 0}, {&_swigt__p_DistributionCosine, _p_DistributionCosineTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDistribution1DCosine, _p_FTDistribution1DCosineTo_p_ICloneable, 0, 0}, {&_swigt__p_RangedDistributionCosine, _p_RangedDistributionCosineTo_p_ICloneable, 0, 0}, {&_swigt__p_Polygon, _p_PolygonTo_p_ICloneable, 0, 0}, {&_swigt__p_IInterferenceFunction, _p_IInterferenceFunctionTo_p_ICloneable, 0, 0}, {&_swigt__p_InterferenceFunctionTwin, _p_InterferenceFunctionTwinTo_p_ICloneable, 0, 0}, {&_swigt__p_QSpecScan, _p_QSpecScanTo_p_ICloneable, 0, 0}, {&_swigt__p_AngularSpecScan, _p_AngularSpecScanTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorGaussSphere, _p_FormFactorGaussSphereTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorHollowSphere, _p_FormFactorHollowSphereTo_p_ICloneable, 0, 0}, {&_swigt__p_VerticalLine, _p_VerticalLineTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDecayFunction2DGauss, _p_FTDecayFunction2DGaussTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDistribution2DGauss, _p_FTDistribution2DGaussTo_p_ICloneable, 0, 0}, {&_swigt__p_IFormFactorBorn, _p_IFormFactorBornTo_p_ICloneable, 0, 0}, {&_swigt__p_RectangularDetector, _p_RectangularDetectorTo_p_ICloneable, 0, 0}, {&_swigt__p_IsGISAXSDetector, _p_IsGISAXSDetectorTo_p_ICloneable, 0, 0}, {&_swigt__p_SphericalDetector, _p_SphericalDetectorTo_p_ICloneable, 0, 0}, {&_swigt__p_IDetector, _p_IDetectorTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorTruncatedSpheroid, _p_FormFactorTruncatedSpheroidTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorFullSpheroid, _p_FormFactorFullSpheroidTo_p_ICloneable, 0, 0}, {&_swigt__p_ISpecularScan, _p_ISpecularScanTo_p_ICloneable, 0, 0}, {&_swigt__p_InterferenceFunctionFinite3DLattice, _p_InterferenceFunctionFinite3DLatticeTo_p_ICloneable, 0, 0}, {&_swigt__p_InterferenceFunctionFinite2DLattice, _p_InterferenceFunctionFinite2DLatticeTo_p_ICloneable, 0, 0}, {&_swigt__p_InterferenceFunction3DLattice, _p_InterferenceFunction3DLatticeTo_p_ICloneable, 0, 0}, {&_swigt__p_InterferenceFunction2DSuperLattice, _p_InterferenceFunction2DSuperLatticeTo_p_ICloneable, 0, 0}, {&_swigt__p_InterferenceFunction2DLattice, _p_InterferenceFunction2DLatticeTo_p_ICloneable, 0, 0}, {&_swigt__p_InterferenceFunction1DLattice, _p_InterferenceFunction1DLatticeTo_p_ICloneable, 0, 0}, {&_swigt__p_HexagonalLattice, _p_HexagonalLatticeTo_p_ICloneable, 0, 0}, {&_swigt__p_SquareLattice, _p_SquareLatticeTo_p_ICloneable, 0, 0}, {&_swigt__p_BasicLattice, _p_BasicLatticeTo_p_ICloneable, 0, 0}, {&_swigt__p_IShape2D, _p_IShape2DTo_p_ICloneable, 0, 0}, {&_swigt__p_FootprintSquare, _p_FootprintSquareTo_p_ICloneable, 0, 0}, {&_swigt__p_Rectangle, _p_RectangleTo_p_ICloneable, 0, 0}, {&_swigt__p_HorizontalLine, _p_HorizontalLineTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDecayFunction1DGauss, _p_FTDecayFunction1DGaussTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDistribution1DGauss, _p_FTDistribution1DGaussTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorCone6, _p_FormFactorCone6To_p_ICloneable, 0, 0}, {&_swigt__p_IDistribution1D, _p_IDistribution1DTo_p_ICloneable, 0, 0}, {&_swigt__p_IFTDecayFunction1D, _p_IFTDecayFunction1DTo_p_ICloneable, 0, 0}, {&_swigt__p_IFTDistribution1D, _p_IFTDistribution1DTo_p_ICloneable, 0, 0}, {&_swigt__p_SpecularSimulation, _p_SpecularSimulationTo_p_ICloneable, 0, 0}, {&_swigt__p_DepthProbeSimulation, _p_DepthProbeSimulationTo_p_ICloneable, 0, 0}, {&_swigt__p_OffSpecSimulation, _p_OffSpecSimulationTo_p_ICloneable, 0, 0}, {&_swigt__p_GISASSimulation, _p_GISASSimulationTo_p_ICloneable, 0, 0}, {&_swigt__p_Simulation, _p_SimulationTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorCone, _p_FormFactorConeTo_p_ICloneable, 0, 0}, {&_swigt__p_DistributionLogNormal, _p_DistributionLogNormalTo_p_ICloneable, 0, 0}, {&_swigt__p_RangedDistributionLogNormal, _p_RangedDistributionLogNormalTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorBox, _p_FormFactorBoxTo_p_ICloneable, 0, 0}, {&_swigt__p_FTDistribution1DGate, _p_FTDistribution1DGateTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorPolygonalPrism, _p_FormFactorPolygonalPrismTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorLongBoxGauss, _p_FormFactorLongBoxGaussTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorPrism3, _p_FormFactorPrism3To_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorHemiEllipsoid, _p_FormFactorHemiEllipsoidTo_p_ICloneable, 0, 0}, {&_swigt__p_DistributionLorentz, _p_DistributionLorentzTo_p_ICloneable, 0, 0}, {&_swigt__p_RangedDistributionLorentz, _p_RangedDistributionLorentzTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorSawtoothRippleLorentz, _p_FormFactorSawtoothRippleLorentzTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorCosineRippleLorentz, _p_FormFactorCosineRippleLorentzTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorLongBoxLorentz, _p_FormFactorLongBoxLorentzTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorPrism6, _p_FormFactorPrism6To_p_ICloneable, 0, 0}, {&_swigt__p_FTDistribution2DCone, _p_FTDistribution2DConeTo_p_ICloneable, 0, 0}, {&_swigt__p_IDetector2D, _p_IDetector2DTo_p_ICloneable, 0, 0}, {&_swigt__p_IFootprintFactor, _p_IFootprintFactorTo_p_ICloneable, 0, 0}, {&_swigt__p_ISample, _p_ISampleTo_p_ICloneable, 0, 0}, {&_swigt__p_IFTDistribution2D, _p_IFTDistribution2DTo_p_ICloneable, 0, 0}, {&_swigt__p_Simulation2D, _p_Simulation2DTo_p_ICloneable, 0, 0}, {&_swigt__p_Ellipse, _p_EllipseTo_p_ICloneable, 0, 0}, {&_swigt__p_IFTDecayFunction2D, _p_IFTDecayFunction2DTo_p_ICloneable, 0, 0}, {&_swigt__p_IResolutionFunction2D, _p_IResolutionFunction2DTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorSphereLogNormalRadius, _p_FormFactorSphereLogNormalRadiusTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorSphereGaussianRadius, _p_FormFactorSphereGaussianRadiusTo_p_ICloneable, 0, 0}, {&_swigt__p_Layer, _p_LayerTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorCosineRippleBox, _p_FormFactorCosineRippleBoxTo_p_ICloneable, 0, 0}, {&_swigt__p_FormFactorSawtoothRippleBox, _p_FormFactorSawtoothRippleBoxTo_p_ICloneable, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_IClusteredParticles[] = { {&_swigt__p_IClusteredParticles, 0, 0, 0}, {&_swigt__p_Crystal, _p_CrystalTo_p_IClusteredParticles, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_ICosineRipple[] = { {&_swigt__p_FormFactorCosineRippleLorentz, _p_FormFactorCosineRippleLorentzTo_p_ICosineRipple, 0, 0}, {&_swigt__p_FormFactorCosineRippleBox, _p_FormFactorCosineRippleBoxTo_p_ICosineRipple, 0, 0}, {&_swigt__p_ICosineRipple, 0, 0, 0}, {&_swigt__p_FormFactorCosineRippleGauss, _p_FormFactorCosineRippleGaussTo_p_ICosineRipple, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_IDetector[] = { {&_swigt__p_IDetector, 0, 0, 0}, {&_swigt__p_SphericalDetector, _p_SphericalDetectorTo_p_IDetector, 0, 0}, {&_swigt__p_IsGISAXSDetector, _p_IsGISAXSDetectorTo_p_IDetector, 0, 0}, {&_swigt__p_RectangularDetector, _p_RectangularDetectorTo_p_IDetector, 0, 0}, {&_swigt__p_IDetector2D, _p_IDetector2DTo_p_IDetector, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_IDetector2D[] = { {&_swigt__p_SphericalDetector, _p_SphericalDetectorTo_p_IDetector2D, 0, 0}, {&_swigt__p_IsGISAXSDetector, _p_IsGISAXSDetectorTo_p_IDetector2D, 0, 0}, {&_swigt__p_RectangularDetector, _p_RectangularDetectorTo_p_IDetector2D, 0, 0}, {&_swigt__p_IDetector2D, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_IDetectorResolution[] = { {&_swigt__p_IDetectorResolution, 0, 0, 0},{0, 0, 0, 0}}; @@ -137883,8 +137868,8 @@ static swig_cast_info _swigc__p_IFTDistribution2D[] = { {&_swigt__p_FTDistribut static swig_cast_info _swigc__p_IFactoryT_std__string_IMultiLayerBuilder_t[] = { {&_swigt__p_IFactoryT_std__string_IMultiLayerBuilder_t, 0, 0, 0}, {&_swigt__p_SampleBuilderFactory, _p_SampleBuilderFactoryTo_p_IFactoryT_std__string_IMultiLayerBuilder_t, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_IFactoryT_std__string_Simulation_t[] = { {&_swigt__p_SimulationFactory, _p_SimulationFactoryTo_p_IFactoryT_std__string_Simulation_t, 0, 0}, {&_swigt__p_IFactoryT_std__string_Simulation_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_IFootprintFactor[] = { {&_swigt__p_FootprintSquare, _p_FootprintSquareTo_p_IFootprintFactor, 0, 0}, {&_swigt__p_IFootprintFactor, 0, 0, 0}, {&_swigt__p_FootprintGauss, _p_FootprintGaussTo_p_IFootprintFactor, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_IFormFactor[] = { {&_swigt__p_FormFactorPrism6, _p_FormFactorPrism6To_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorHemiEllipsoid, _p_FormFactorHemiEllipsoidTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorPolygonalPrism, _p_FormFactorPolygonalPrismTo_p_IFormFactor, 0, 0}, {&_swigt__p_IFormFactor, 0, 0, 0}, {&_swigt__p_FormFactorFullSpheroid, _p_FormFactorFullSpheroidTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorTruncatedSpheroid, _p_FormFactorTruncatedSpheroidTo_p_IFormFactor, 0, 0}, {&_swigt__p_IProfileRipple, _p_IProfileRippleTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorRipple1Box, _p_FormFactorRipple1BoxTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorLongBoxGauss, _p_FormFactorLongBoxGaussTo_p_IFormFactor, 0, 0}, {&_swigt__p_ProfileRipple1, _p_ProfileRipple1To_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorPolygonalSurface, _p_FormFactorPolygonalSurfaceTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorCrystal, _p_FormFactorCrystalTo_p_IFormFactor, 0, 0}, {&_swigt__p_ProfileRipple2, _p_ProfileRipple2To_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorCantellatedCube, _p_FormFactorCantellatedCubeTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorTruncatedCube, _p_FormFactorTruncatedCubeTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorFullSphere, _p_FormFactorFullSphereTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorTruncatedSphere, _p_FormFactorTruncatedSphereTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorRipple1Gauss, _p_FormFactorRipple1GaussTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorEllipsoidalCylinder, _p_FormFactorEllipsoidalCylinderTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorCylinder, _p_FormFactorCylinderTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorBox, _p_FormFactorBoxTo_p_IFormFactor, 0, 0}, {&_swigt__p_IFormFactorDecorator, _p_IFormFactorDecoratorTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorIcosahedron, _p_FormFactorIcosahedronTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorDodecahedron, _p_FormFactorDodecahedronTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorCuboctahedron, _p_FormFactorCuboctahedronTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorPolyhedron, _p_FormFactorPolyhedronTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorTetrahedron, _p_FormFactorTetrahedronTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorCone, _p_FormFactorConeTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorCone6, _p_FormFactorCone6To_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorSphereLogNormalRadius, _p_FormFactorSphereLogNormalRadiusTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorSphereGaussianRadius, _p_FormFactorSphereGaussianRadiusTo_p_IFormFactor, 0, 0}, {&_swigt__p_IFormFactorBorn, _p_IFormFactorBornTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorGaussSphere, _p_FormFactorGaussSphereTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorHollowSphere, _p_FormFactorHollowSphereTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorDot, _p_FormFactorDotTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorRipple2Box, _p_FormFactorRipple2BoxTo_p_IFormFactor, 0, 0}, {&_swigt__p_ProfileRectangularRipple, _p_ProfileRectangularRippleTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorRipple1Lorentz, _p_FormFactorRipple1LorentzTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorRipple2Lorentz, _p_FormFactorRipple2LorentzTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorLongBoxLorentz, _p_FormFactorLongBoxLorentzTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorWeighted, _p_FormFactorWeightedTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorPrism3, _p_FormFactorPrism3To_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorAnisoPyramid, _p_FormFactorAnisoPyramidTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorPyramid, _p_FormFactorPyramidTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorRipple2Gauss, _p_FormFactorRipple2GaussTo_p_IFormFactor, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_IFormFactorBorn[] = { {&_swigt__p_FormFactorPrism6, _p_FormFactorPrism6To_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorHemiEllipsoid, _p_FormFactorHemiEllipsoidTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorPolygonalPrism, _p_FormFactorPolygonalPrismTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorFullSpheroid, _p_FormFactorFullSpheroidTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorTruncatedSpheroid, _p_FormFactorTruncatedSpheroidTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_IProfileRipple, _p_IProfileRippleTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorRipple1Box, _p_FormFactorRipple1BoxTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorLongBoxGauss, _p_FormFactorLongBoxGaussTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_ProfileRipple1, _p_ProfileRipple1To_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorPolygonalSurface, _p_FormFactorPolygonalSurfaceTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_ProfileRipple2, _p_ProfileRipple2To_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorCantellatedCube, _p_FormFactorCantellatedCubeTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorTruncatedCube, _p_FormFactorTruncatedCubeTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorFullSphere, _p_FormFactorFullSphereTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorTruncatedSphere, _p_FormFactorTruncatedSphereTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorRipple1Gauss, _p_FormFactorRipple1GaussTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorEllipsoidalCylinder, _p_FormFactorEllipsoidalCylinderTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorCylinder, _p_FormFactorCylinderTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorBox, _p_FormFactorBoxTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorTetrahedron, _p_FormFactorTetrahedronTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorIcosahedron, _p_FormFactorIcosahedronTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorDodecahedron, _p_FormFactorDodecahedronTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorPolyhedron, _p_FormFactorPolyhedronTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorCuboctahedron, _p_FormFactorCuboctahedronTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorCone, _p_FormFactorConeTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorCone6, _p_FormFactorCone6To_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorSphereLogNormalRadius, _p_FormFactorSphereLogNormalRadiusTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorSphereGaussianRadius, _p_FormFactorSphereGaussianRadiusTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_IFormFactorBorn, 0, 0, 0}, {&_swigt__p_FormFactorGaussSphere, _p_FormFactorGaussSphereTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorHollowSphere, _p_FormFactorHollowSphereTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorDot, _p_FormFactorDotTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorRipple2Box, _p_FormFactorRipple2BoxTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_ProfileRectangularRipple, _p_ProfileRectangularRippleTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorRipple1Lorentz, _p_FormFactorRipple1LorentzTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorRipple2Lorentz, _p_FormFactorRipple2LorentzTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorLongBoxLorentz, _p_FormFactorLongBoxLorentzTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorPyramid, _p_FormFactorPyramidTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorAnisoPyramid, _p_FormFactorAnisoPyramidTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorPrism3, _p_FormFactorPrism3To_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorRipple2Gauss, _p_FormFactorRipple2GaussTo_p_IFormFactorBorn, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_IFormFactor[] = { {&_swigt__p_FormFactorPrism6, _p_FormFactorPrism6To_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorHemiEllipsoid, _p_FormFactorHemiEllipsoidTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorPolygonalPrism, _p_FormFactorPolygonalPrismTo_p_IFormFactor, 0, 0}, {&_swigt__p_IFormFactor, 0, 0, 0}, {&_swigt__p_FormFactorFullSpheroid, _p_FormFactorFullSpheroidTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorTruncatedSpheroid, _p_FormFactorTruncatedSpheroidTo_p_IFormFactor, 0, 0}, {&_swigt__p_ICosineRipple, _p_ICosineRippleTo_p_IFormFactor, 0, 0}, {&_swigt__p_IProfileRipple, _p_IProfileRippleTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorLongBoxGauss, _p_FormFactorLongBoxGaussTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorCosineRippleGauss, _p_FormFactorCosineRippleGaussTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorSawtoothRippleGauss, _p_FormFactorSawtoothRippleGaussTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorPolygonalSurface, _p_FormFactorPolygonalSurfaceTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorCrystal, _p_FormFactorCrystalTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorCantellatedCube, _p_FormFactorCantellatedCubeTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorTruncatedCube, _p_FormFactorTruncatedCubeTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorFullSphere, _p_FormFactorFullSphereTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorTruncatedSphere, _p_FormFactorTruncatedSphereTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorEllipsoidalCylinder, _p_FormFactorEllipsoidalCylinderTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorCylinder, _p_FormFactorCylinderTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorBox, _p_FormFactorBoxTo_p_IFormFactor, 0, 0}, {&_swigt__p_IFormFactorDecorator, _p_IFormFactorDecoratorTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorIcosahedron, _p_FormFactorIcosahedronTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorDodecahedron, _p_FormFactorDodecahedronTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorCuboctahedron, _p_FormFactorCuboctahedronTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorPolyhedron, _p_FormFactorPolyhedronTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorTetrahedron, _p_FormFactorTetrahedronTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorCone, _p_FormFactorConeTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorCone6, _p_FormFactorCone6To_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorSphereLogNormalRadius, _p_FormFactorSphereLogNormalRadiusTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorSphereGaussianRadius, _p_FormFactorSphereGaussianRadiusTo_p_IFormFactor, 0, 0}, {&_swigt__p_IFormFactorBorn, _p_IFormFactorBornTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorGaussSphere, _p_FormFactorGaussSphereTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorHollowSphere, _p_FormFactorHollowSphereTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorDot, _p_FormFactorDotTo_p_IFormFactor, 0, 0}, {&_swigt__p_IProfileRectangularRipple, _p_IProfileRectangularRippleTo_p_IFormFactor, 0, 0}, {&_swigt__p_ISawtoothRipple, _p_ISawtoothRippleTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorCosineRippleLorentz, _p_FormFactorCosineRippleLorentzTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorSawtoothRippleLorentz, _p_FormFactorSawtoothRippleLorentzTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorLongBoxLorentz, _p_FormFactorLongBoxLorentzTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorWeighted, _p_FormFactorWeightedTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorCosineRippleBox, _p_FormFactorCosineRippleBoxTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorSawtoothRippleBox, _p_FormFactorSawtoothRippleBoxTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorPrism3, _p_FormFactorPrism3To_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorAnisoPyramid, _p_FormFactorAnisoPyramidTo_p_IFormFactor, 0, 0}, {&_swigt__p_FormFactorPyramid, _p_FormFactorPyramidTo_p_IFormFactor, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_IFormFactorBorn[] = { {&_swigt__p_FormFactorPrism6, _p_FormFactorPrism6To_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorHemiEllipsoid, _p_FormFactorHemiEllipsoidTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorPolygonalPrism, _p_FormFactorPolygonalPrismTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorFullSpheroid, _p_FormFactorFullSpheroidTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorTruncatedSpheroid, _p_FormFactorTruncatedSpheroidTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_ICosineRipple, _p_ICosineRippleTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_IProfileRipple, _p_IProfileRippleTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorLongBoxGauss, _p_FormFactorLongBoxGaussTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorCosineRippleGauss, _p_FormFactorCosineRippleGaussTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorSawtoothRippleGauss, _p_FormFactorSawtoothRippleGaussTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorPolygonalSurface, _p_FormFactorPolygonalSurfaceTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorCantellatedCube, _p_FormFactorCantellatedCubeTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorTruncatedCube, _p_FormFactorTruncatedCubeTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorFullSphere, _p_FormFactorFullSphereTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorTruncatedSphere, _p_FormFactorTruncatedSphereTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorEllipsoidalCylinder, _p_FormFactorEllipsoidalCylinderTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorCylinder, _p_FormFactorCylinderTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorBox, _p_FormFactorBoxTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorTetrahedron, _p_FormFactorTetrahedronTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorIcosahedron, _p_FormFactorIcosahedronTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorDodecahedron, _p_FormFactorDodecahedronTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorCuboctahedron, _p_FormFactorCuboctahedronTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorPolyhedron, _p_FormFactorPolyhedronTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorCone, _p_FormFactorConeTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorCone6, _p_FormFactorCone6To_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorSphereLogNormalRadius, _p_FormFactorSphereLogNormalRadiusTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorSphereGaussianRadius, _p_FormFactorSphereGaussianRadiusTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_IFormFactorBorn, 0, 0, 0}, {&_swigt__p_FormFactorGaussSphere, _p_FormFactorGaussSphereTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorHollowSphere, _p_FormFactorHollowSphereTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorDot, _p_FormFactorDotTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_IProfileRectangularRipple, _p_IProfileRectangularRippleTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_ISawtoothRipple, _p_ISawtoothRippleTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorCosineRippleLorentz, _p_FormFactorCosineRippleLorentzTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorSawtoothRippleLorentz, _p_FormFactorSawtoothRippleLorentzTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorLongBoxLorentz, _p_FormFactorLongBoxLorentzTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorCosineRippleBox, _p_FormFactorCosineRippleBoxTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorSawtoothRippleBox, _p_FormFactorSawtoothRippleBoxTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorPyramid, _p_FormFactorPyramidTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorAnisoPyramid, _p_FormFactorAnisoPyramidTo_p_IFormFactorBorn, 0, 0}, {&_swigt__p_FormFactorPrism3, _p_FormFactorPrism3To_p_IFormFactorBorn, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_IFormFactorDecorator[] = { {&_swigt__p_IFormFactorDecorator, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_IHistogram[] = { {&_swigt__p_IHistogram, 0, 0, 0}, {&_swigt__p_Histogram2D, _p_Histogram2DTo_p_IHistogram, 0, 0}, {&_swigt__p_Histogram1D, _p_Histogram1DTo_p_IHistogram, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_IIntensityFunction[] = { {&_swigt__p_IntensityFunctionSqrt, _p_IntensityFunctionSqrtTo_p_IIntensityFunction, 0, 0}, {&_swigt__p_IIntensityFunction, 0, 0, 0}, {&_swigt__p_IntensityFunctionLog, _p_IntensityFunctionLogTo_p_IIntensityFunction, 0, 0},{0, 0, 0, 0}}; @@ -137892,19 +137877,21 @@ static swig_cast_info _swigc__p_IInterferenceFunction[] = { {&_swigt__p_Interfe static swig_cast_info _swigc__p_ILatticeOrientation[] = { {&_swigt__p_ILatticeOrientation, 0, 0, 0}, {&_swigt__p_MillerIndexOrientation, _p_MillerIndexOrientationTo_p_ILatticeOrientation, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_ILayout[] = { {&_swigt__p_ILayout, 0, 0, 0}, {&_swigt__p_ParticleLayout, _p_ParticleLayoutTo_p_ILayout, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_IMultiLayerBuilder[] = { {&_swigt__p_IMultiLayerBuilder, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_INode[] = { {&_swigt__p_FormFactorBox, _p_FormFactorBoxTo_p_INode, 0, 0}, {&_swigt__p_IBackground, _p_IBackgroundTo_p_INode, 0, 0}, {&_swigt__p_ConstantBackground, _p_ConstantBackgroundTo_p_INode, 0, 0}, {&_swigt__p_PoissonNoiseBackground, _p_PoissonNoiseBackgroundTo_p_INode, 0, 0}, {&_swigt__p_FormFactorSphereGaussianRadius, _p_FormFactorSphereGaussianRadiusTo_p_INode, 0, 0}, {&_swigt__p_FormFactorSphereLogNormalRadius, _p_FormFactorSphereLogNormalRadiusTo_p_INode, 0, 0}, {&_swigt__p_MultiLayer, _p_MultiLayerTo_p_INode, 0, 0}, {&_swigt__p_ParticleDistribution, _p_ParticleDistributionTo_p_INode, 0, 0}, {&_swigt__p_FTDistribution1DGauss, _p_FTDistribution1DGaussTo_p_INode, 0, 0}, {&_swigt__p_FTDecayFunction1DGauss, _p_FTDecayFunction1DGaussTo_p_INode, 0, 0}, {&_swigt__p_InterferenceFunctionNone, _p_InterferenceFunctionNoneTo_p_INode, 0, 0}, {&_swigt__p_IDetector2D, _p_IDetector2DTo_p_INode, 0, 0}, {&_swigt__p_ParticleLayout, _p_ParticleLayoutTo_p_INode, 0, 0}, {&_swigt__p_ILayout, _p_ILayoutTo_p_INode, 0, 0}, {&_swigt__p_FormFactorHemiEllipsoid, _p_FormFactorHemiEllipsoidTo_p_INode, 0, 0}, {&_swigt__p_SphericalDetector, _p_SphericalDetectorTo_p_INode, 0, 0}, {&_swigt__p_IsGISAXSDetector, _p_IsGISAXSDetectorTo_p_INode, 0, 0}, {&_swigt__p_RectangularDetector, _p_RectangularDetectorTo_p_INode, 0, 0}, {&_swigt__p_IDetector, _p_IDetectorTo_p_INode, 0, 0}, {&_swigt__p_INode, 0, 0, 0}, {&_swigt__p_FormFactorRipple2Box, _p_FormFactorRipple2BoxTo_p_INode, 0, 0}, {&_swigt__p_MisesGaussPeakShape, _p_MisesGaussPeakShapeTo_p_INode, 0, 0}, {&_swigt__p_MisesFisherGaussPeakShape, _p_MisesFisherGaussPeakShapeTo_p_INode, 0, 0}, {&_swigt__p_LorentzFisherPeakShape, _p_LorentzFisherPeakShapeTo_p_INode, 0, 0}, {&_swigt__p_GaussFisherPeakShape, _p_GaussFisherPeakShapeTo_p_INode, 0, 0}, {&_swigt__p_IsotropicLorentzPeakShape, _p_IsotropicLorentzPeakShapeTo_p_INode, 0, 0}, {&_swigt__p_IsotropicGaussPeakShape, _p_IsotropicGaussPeakShapeTo_p_INode, 0, 0}, {&_swigt__p_IPeakShape, _p_IPeakShapeTo_p_INode, 0, 0}, {&_swigt__p_FormFactorPrism3, _p_FormFactorPrism3To_p_INode, 0, 0}, {&_swigt__p_DistributionTrapezoid, _p_DistributionTrapezoidTo_p_INode, 0, 0}, {&_swigt__p_FormFactorIcosahedron, _p_FormFactorIcosahedronTo_p_INode, 0, 0}, {&_swigt__p_FormFactorTetrahedron, _p_FormFactorTetrahedronTo_p_INode, 0, 0}, {&_swigt__p_FormFactorPolyhedron, _p_FormFactorPolyhedronTo_p_INode, 0, 0}, {&_swigt__p_FormFactorCuboctahedron, _p_FormFactorCuboctahedronTo_p_INode, 0, 0}, {&_swigt__p_FormFactorDodecahedron, _p_FormFactorDodecahedronTo_p_INode, 0, 0}, {&_swigt__p_FormFactorPrism6, _p_FormFactorPrism6To_p_INode, 0, 0}, {&_swigt__p_Simulation, _p_SimulationTo_p_INode, 0, 0}, {&_swigt__p_GISASSimulation, _p_GISASSimulationTo_p_INode, 0, 0}, {&_swigt__p_DepthProbeSimulation, _p_DepthProbeSimulationTo_p_INode, 0, 0}, {&_swigt__p_SpecularSimulation, _p_SpecularSimulationTo_p_INode, 0, 0}, {&_swigt__p_OffSpecSimulation, _p_OffSpecSimulationTo_p_INode, 0, 0}, {&_swigt__p_FTDistribution2DCone, _p_FTDistribution2DConeTo_p_INode, 0, 0}, {&_swigt__p_ParticleCoreShell, _p_ParticleCoreShellTo_p_INode, 0, 0}, {&_swigt__p_ProfileRectangularRipple, _p_ProfileRectangularRippleTo_p_INode, 0, 0}, {&_swigt__p_FormFactorFullSphere, _p_FormFactorFullSphereTo_p_INode, 0, 0}, {&_swigt__p_FormFactorTruncatedSphere, _p_FormFactorTruncatedSphereTo_p_INode, 0, 0}, {&_swigt__p_IFormFactor, _p_IFormFactorTo_p_INode, 0, 0}, {&_swigt__p_FormFactorPolygonalSurface, _p_FormFactorPolygonalSurfaceTo_p_INode, 0, 0}, {&_swigt__p_ISample, _p_ISampleTo_p_INode, 0, 0}, {&_swigt__p_FormFactorLongBoxGauss, _p_FormFactorLongBoxGaussTo_p_INode, 0, 0}, {&_swigt__p_FormFactorPolygonalPrism, _p_FormFactorPolygonalPrismTo_p_INode, 0, 0}, {&_swigt__p_InterferenceFunctionHardDisk, _p_InterferenceFunctionHardDiskTo_p_INode, 0, 0}, {&_swigt__p_FTDistribution2DGate, _p_FTDistribution2DGateTo_p_INode, 0, 0}, {&_swigt__p_DistributionLogNormal, _p_DistributionLogNormalTo_p_INode, 0, 0}, {&_swigt__p_FormFactorRipple1Box, _p_FormFactorRipple1BoxTo_p_INode, 0, 0}, {&_swigt__p_Instrument, _p_InstrumentTo_p_INode, 0, 0}, {&_swigt__p_FTDecayFunction1DVoigt, _p_FTDecayFunction1DVoigtTo_p_INode, 0, 0}, {&_swigt__p_FTDistribution1DVoigt, _p_FTDistribution1DVoigtTo_p_INode, 0, 0}, {&_swigt__p_IRotation, _p_IRotationTo_p_INode, 0, 0}, {&_swigt__p_IdentityRotation, _p_IdentityRotationTo_p_INode, 0, 0}, {&_swigt__p_FormFactorTruncatedSpheroid, _p_FormFactorTruncatedSpheroidTo_p_INode, 0, 0}, {&_swigt__p_FormFactorFullSpheroid, _p_FormFactorFullSpheroidTo_p_INode, 0, 0}, {&_swigt__p_RotationX, _p_RotationXTo_p_INode, 0, 0}, {&_swigt__p_FootprintGauss, _p_FootprintGaussTo_p_INode, 0, 0}, {&_swigt__p_FormFactorTruncatedCube, _p_FormFactorTruncatedCubeTo_p_INode, 0, 0}, {&_swigt__p_FormFactorCantellatedCube, _p_FormFactorCantellatedCubeTo_p_INode, 0, 0}, {&_swigt__p_RotationY, _p_RotationYTo_p_INode, 0, 0}, {&_swigt__p_FTDecayFunction2DGauss, _p_FTDecayFunction2DGaussTo_p_INode, 0, 0}, {&_swigt__p_FTDistribution2DGauss, _p_FTDistribution2DGaussTo_p_INode, 0, 0}, {&_swigt__p_RotationZ, _p_RotationZTo_p_INode, 0, 0}, {&_swigt__p_FormFactorRipple2Gauss, _p_FormFactorRipple2GaussTo_p_INode, 0, 0}, {&_swigt__p_IFormFactorBorn, _p_IFormFactorBornTo_p_INode, 0, 0}, {&_swigt__p_IDetectorResolution, _p_IDetectorResolutionTo_p_INode, 0, 0}, {&_swigt__p_IClusteredParticles, _p_IClusteredParticlesTo_p_INode, 0, 0}, {&_swigt__p_IAbstractParticle, _p_IAbstractParticleTo_p_INode, 0, 0}, {&_swigt__p_IParticle, _p_IParticleTo_p_INode, 0, 0}, {&_swigt__p_Particle, _p_ParticleTo_p_INode, 0, 0}, {&_swigt__p_Lattice2D, _p_Lattice2DTo_p_INode, 0, 0}, {&_swigt__p_DistributionGate, _p_DistributionGateTo_p_INode, 0, 0}, {&_swigt__p_IFTDistribution1D, _p_IFTDistribution1DTo_p_INode, 0, 0}, {&_swigt__p_IDistribution1D, _p_IDistribution1DTo_p_INode, 0, 0}, {&_swigt__p_IFTDecayFunction1D, _p_IFTDecayFunction1DTo_p_INode, 0, 0}, {&_swigt__p_FormFactorCone, _p_FormFactorConeTo_p_INode, 0, 0}, {&_swigt__p_InterferenceFunctionTwin, _p_InterferenceFunctionTwinTo_p_INode, 0, 0}, {&_swigt__p_ProfileRipple1, _p_ProfileRipple1To_p_INode, 0, 0}, {&_swigt__p_Layer, _p_LayerTo_p_INode, 0, 0}, {&_swigt__p_FormFactorPyramid, _p_FormFactorPyramidTo_p_INode, 0, 0}, {&_swigt__p_FormFactorAnisoPyramid, _p_FormFactorAnisoPyramidTo_p_INode, 0, 0}, {&_swigt__p_ProfileRipple2, _p_ProfileRipple2To_p_INode, 0, 0}, {&_swigt__p_FormFactorEllipsoidalCylinder, _p_FormFactorEllipsoidalCylinderTo_p_INode, 0, 0}, {&_swigt__p_FormFactorCylinder, _p_FormFactorCylinderTo_p_INode, 0, 0}, {&_swigt__p_DistributionGaussian, _p_DistributionGaussianTo_p_INode, 0, 0}, {&_swigt__p_ResolutionFunction2DGaussian, _p_ResolutionFunction2DGaussianTo_p_INode, 0, 0}, {&_swigt__p_IFootprintFactor, _p_IFootprintFactorTo_p_INode, 0, 0}, {&_swigt__p_ParticleComposition, _p_ParticleCompositionTo_p_INode, 0, 0}, {&_swigt__p_FTDistribution1DCosine, _p_FTDistribution1DCosineTo_p_INode, 0, 0}, {&_swigt__p_FTDistribution1DGate, _p_FTDistribution1DGateTo_p_INode, 0, 0}, {&_swigt__p_DistributionCosine, _p_DistributionCosineTo_p_INode, 0, 0}, {&_swigt__p_FTDistribution2DVoigt, _p_FTDistribution2DVoigtTo_p_INode, 0, 0}, {&_swigt__p_FTDecayFunction2DVoigt, _p_FTDecayFunction2DVoigtTo_p_INode, 0, 0}, {&_swigt__p_FTDistribution1DCauchy, _p_FTDistribution1DCauchyTo_p_INode, 0, 0}, {&_swigt__p_FTDecayFunction1DCauchy, _p_FTDecayFunction1DCauchyTo_p_INode, 0, 0}, {&_swigt__p_FTDistribution2DCauchy, _p_FTDistribution2DCauchyTo_p_INode, 0, 0}, {&_swigt__p_FTDecayFunction2DCauchy, _p_FTDecayFunction2DCauchyTo_p_INode, 0, 0}, {&_swigt__p_IInterferenceFunction, _p_IInterferenceFunctionTo_p_INode, 0, 0}, {&_swigt__p_FootprintSquare, _p_FootprintSquareTo_p_INode, 0, 0}, {&_swigt__p_FormFactorCone6, _p_FormFactorCone6To_p_INode, 0, 0}, {&_swigt__p_FormFactorRipple1Gauss, _p_FormFactorRipple1GaussTo_p_INode, 0, 0}, {&_swigt__p_Beam, _p_BeamTo_p_INode, 0, 0}, {&_swigt__p_IFormFactorDecorator, _p_IFormFactorDecoratorTo_p_INode, 0, 0}, {&_swigt__p_FormFactorDot, _p_FormFactorDotTo_p_INode, 0, 0}, {&_swigt__p_LayerRoughness, _p_LayerRoughnessTo_p_INode, 0, 0}, {&_swigt__p_FormFactorCrystal, _p_FormFactorCrystalTo_p_INode, 0, 0}, {&_swigt__p_IProfileRipple, _p_IProfileRippleTo_p_INode, 0, 0}, {&_swigt__p_Crystal, _p_CrystalTo_p_INode, 0, 0}, {&_swigt__p_MesoCrystal, _p_MesoCrystalTo_p_INode, 0, 0}, {&_swigt__p_InterferenceFunction2DParaCrystal, _p_InterferenceFunction2DParaCrystalTo_p_INode, 0, 0}, {&_swigt__p_InterferenceFunctionRadialParaCrystal, _p_InterferenceFunctionRadialParaCrystalTo_p_INode, 0, 0}, {&_swigt__p_Simulation2D, _p_Simulation2DTo_p_INode, 0, 0}, {&_swigt__p_FormFactorHollowSphere, _p_FormFactorHollowSphereTo_p_INode, 0, 0}, {&_swigt__p_FormFactorGaussSphere, _p_FormFactorGaussSphereTo_p_INode, 0, 0}, {&_swigt__p_IFTDistribution2D, _p_IFTDistribution2DTo_p_INode, 0, 0}, {&_swigt__p_IFTDecayFunction2D, _p_IFTDecayFunction2DTo_p_INode, 0, 0}, {&_swigt__p_IResolutionFunction2D, _p_IResolutionFunction2DTo_p_INode, 0, 0}, {&_swigt__p_FormFactorWeighted, _p_FormFactorWeightedTo_p_INode, 0, 0}, {&_swigt__p_FormFactorRipple2Lorentz, _p_FormFactorRipple2LorentzTo_p_INode, 0, 0}, {&_swigt__p_FormFactorRipple1Lorentz, _p_FormFactorRipple1LorentzTo_p_INode, 0, 0}, {&_swigt__p_FormFactorLongBoxLorentz, _p_FormFactorLongBoxLorentzTo_p_INode, 0, 0}, {&_swigt__p_InterferenceFunction1DLattice, _p_InterferenceFunction1DLatticeTo_p_INode, 0, 0}, {&_swigt__p_InterferenceFunction2DLattice, _p_InterferenceFunction2DLatticeTo_p_INode, 0, 0}, {&_swigt__p_InterferenceFunction2DSuperLattice, _p_InterferenceFunction2DSuperLatticeTo_p_INode, 0, 0}, {&_swigt__p_InterferenceFunction3DLattice, _p_InterferenceFunction3DLatticeTo_p_INode, 0, 0}, {&_swigt__p_InterferenceFunctionFinite2DLattice, _p_InterferenceFunctionFinite2DLatticeTo_p_INode, 0, 0}, {&_swigt__p_InterferenceFunctionFinite3DLattice, _p_InterferenceFunctionFinite3DLatticeTo_p_INode, 0, 0}, {&_swigt__p_BasicLattice, _p_BasicLatticeTo_p_INode, 0, 0}, {&_swigt__p_SquareLattice, _p_SquareLatticeTo_p_INode, 0, 0}, {&_swigt__p_HexagonalLattice, _p_HexagonalLatticeTo_p_INode, 0, 0}, {&_swigt__p_DistributionLorentz, _p_DistributionLorentzTo_p_INode, 0, 0}, {&_swigt__p_Lattice, _p_LatticeTo_p_INode, 0, 0}, {&_swigt__p_FTDistribution1DTriangle, _p_FTDistribution1DTriangleTo_p_INode, 0, 0}, {&_swigt__p_FTDecayFunction1DTriangle, _p_FTDecayFunction1DTriangleTo_p_INode, 0, 0}, {&_swigt__p_RotationEuler, _p_RotationEulerTo_p_INode, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_INode[] = { {&_swigt__p_FormFactorBox, _p_FormFactorBoxTo_p_INode, 0, 0}, {&_swigt__p_IBackground, _p_IBackgroundTo_p_INode, 0, 0}, {&_swigt__p_ConstantBackground, _p_ConstantBackgroundTo_p_INode, 0, 0}, {&_swigt__p_PoissonNoiseBackground, _p_PoissonNoiseBackgroundTo_p_INode, 0, 0}, {&_swigt__p_FormFactorSphereGaussianRadius, _p_FormFactorSphereGaussianRadiusTo_p_INode, 0, 0}, {&_swigt__p_FormFactorSphereLogNormalRadius, _p_FormFactorSphereLogNormalRadiusTo_p_INode, 0, 0}, {&_swigt__p_MultiLayer, _p_MultiLayerTo_p_INode, 0, 0}, {&_swigt__p_ParticleDistribution, _p_ParticleDistributionTo_p_INode, 0, 0}, {&_swigt__p_FTDistribution1DGauss, _p_FTDistribution1DGaussTo_p_INode, 0, 0}, {&_swigt__p_FTDecayFunction1DGauss, _p_FTDecayFunction1DGaussTo_p_INode, 0, 0}, {&_swigt__p_InterferenceFunctionNone, _p_InterferenceFunctionNoneTo_p_INode, 0, 0}, {&_swigt__p_IDetector2D, _p_IDetector2DTo_p_INode, 0, 0}, {&_swigt__p_ParticleLayout, _p_ParticleLayoutTo_p_INode, 0, 0}, {&_swigt__p_ILayout, _p_ILayoutTo_p_INode, 0, 0}, {&_swigt__p_FormFactorHemiEllipsoid, _p_FormFactorHemiEllipsoidTo_p_INode, 0, 0}, {&_swigt__p_SphericalDetector, _p_SphericalDetectorTo_p_INode, 0, 0}, {&_swigt__p_IsGISAXSDetector, _p_IsGISAXSDetectorTo_p_INode, 0, 0}, {&_swigt__p_RectangularDetector, _p_RectangularDetectorTo_p_INode, 0, 0}, {&_swigt__p_IDetector, _p_IDetectorTo_p_INode, 0, 0}, {&_swigt__p_INode, 0, 0, 0}, {&_swigt__p_MisesGaussPeakShape, _p_MisesGaussPeakShapeTo_p_INode, 0, 0}, {&_swigt__p_MisesFisherGaussPeakShape, _p_MisesFisherGaussPeakShapeTo_p_INode, 0, 0}, {&_swigt__p_LorentzFisherPeakShape, _p_LorentzFisherPeakShapeTo_p_INode, 0, 0}, {&_swigt__p_GaussFisherPeakShape, _p_GaussFisherPeakShapeTo_p_INode, 0, 0}, {&_swigt__p_IsotropicLorentzPeakShape, _p_IsotropicLorentzPeakShapeTo_p_INode, 0, 0}, {&_swigt__p_IsotropicGaussPeakShape, _p_IsotropicGaussPeakShapeTo_p_INode, 0, 0}, {&_swigt__p_IPeakShape, _p_IPeakShapeTo_p_INode, 0, 0}, {&_swigt__p_FormFactorPrism3, _p_FormFactorPrism3To_p_INode, 0, 0}, {&_swigt__p_DistributionTrapezoid, _p_DistributionTrapezoidTo_p_INode, 0, 0}, {&_swigt__p_FormFactorPolyhedron, _p_FormFactorPolyhedronTo_p_INode, 0, 0}, {&_swigt__p_FormFactorCuboctahedron, _p_FormFactorCuboctahedronTo_p_INode, 0, 0}, {&_swigt__p_FormFactorDodecahedron, _p_FormFactorDodecahedronTo_p_INode, 0, 0}, {&_swigt__p_FormFactorIcosahedron, _p_FormFactorIcosahedronTo_p_INode, 0, 0}, {&_swigt__p_FormFactorTetrahedron, _p_FormFactorTetrahedronTo_p_INode, 0, 0}, {&_swigt__p_FormFactorPrism6, _p_FormFactorPrism6To_p_INode, 0, 0}, {&_swigt__p_Simulation, _p_SimulationTo_p_INode, 0, 0}, {&_swigt__p_GISASSimulation, _p_GISASSimulationTo_p_INode, 0, 0}, {&_swigt__p_DepthProbeSimulation, _p_DepthProbeSimulationTo_p_INode, 0, 0}, {&_swigt__p_SpecularSimulation, _p_SpecularSimulationTo_p_INode, 0, 0}, {&_swigt__p_OffSpecSimulation, _p_OffSpecSimulationTo_p_INode, 0, 0}, {&_swigt__p_FTDistribution2DCone, _p_FTDistribution2DConeTo_p_INode, 0, 0}, {&_swigt__p_ParticleCoreShell, _p_ParticleCoreShellTo_p_INode, 0, 0}, {&_swigt__p_IProfileRectangularRipple, _p_IProfileRectangularRippleTo_p_INode, 0, 0}, {&_swigt__p_ISawtoothRipple, _p_ISawtoothRippleTo_p_INode, 0, 0}, {&_swigt__p_FormFactorFullSphere, _p_FormFactorFullSphereTo_p_INode, 0, 0}, {&_swigt__p_FormFactorTruncatedSphere, _p_FormFactorTruncatedSphereTo_p_INode, 0, 0}, {&_swigt__p_IFormFactor, _p_IFormFactorTo_p_INode, 0, 0}, {&_swigt__p_FormFactorPolygonalSurface, _p_FormFactorPolygonalSurfaceTo_p_INode, 0, 0}, {&_swigt__p_ISample, _p_ISampleTo_p_INode, 0, 0}, {&_swigt__p_FormFactorLongBoxGauss, _p_FormFactorLongBoxGaussTo_p_INode, 0, 0}, {&_swigt__p_FormFactorPolygonalPrism, _p_FormFactorPolygonalPrismTo_p_INode, 0, 0}, {&_swigt__p_InterferenceFunctionHardDisk, _p_InterferenceFunctionHardDiskTo_p_INode, 0, 0}, {&_swigt__p_FTDistribution2DGate, _p_FTDistribution2DGateTo_p_INode, 0, 0}, {&_swigt__p_DistributionLogNormal, _p_DistributionLogNormalTo_p_INode, 0, 0}, {&_swigt__p_Instrument, _p_InstrumentTo_p_INode, 0, 0}, {&_swigt__p_FTDecayFunction1DVoigt, _p_FTDecayFunction1DVoigtTo_p_INode, 0, 0}, {&_swigt__p_FTDistribution1DVoigt, _p_FTDistribution1DVoigtTo_p_INode, 0, 0}, {&_swigt__p_IRotation, _p_IRotationTo_p_INode, 0, 0}, {&_swigt__p_IdentityRotation, _p_IdentityRotationTo_p_INode, 0, 0}, {&_swigt__p_FormFactorTruncatedSpheroid, _p_FormFactorTruncatedSpheroidTo_p_INode, 0, 0}, {&_swigt__p_FormFactorFullSpheroid, _p_FormFactorFullSpheroidTo_p_INode, 0, 0}, {&_swigt__p_RotationX, _p_RotationXTo_p_INode, 0, 0}, {&_swigt__p_FootprintGauss, _p_FootprintGaussTo_p_INode, 0, 0}, {&_swigt__p_FormFactorTruncatedCube, _p_FormFactorTruncatedCubeTo_p_INode, 0, 0}, {&_swigt__p_FormFactorCantellatedCube, _p_FormFactorCantellatedCubeTo_p_INode, 0, 0}, {&_swigt__p_RotationY, _p_RotationYTo_p_INode, 0, 0}, {&_swigt__p_FTDecayFunction2DGauss, _p_FTDecayFunction2DGaussTo_p_INode, 0, 0}, {&_swigt__p_FTDistribution2DGauss, _p_FTDistribution2DGaussTo_p_INode, 0, 0}, {&_swigt__p_RotationZ, _p_RotationZTo_p_INode, 0, 0}, {&_swigt__p_IFormFactorBorn, _p_IFormFactorBornTo_p_INode, 0, 0}, {&_swigt__p_IDetectorResolution, _p_IDetectorResolutionTo_p_INode, 0, 0}, {&_swigt__p_IClusteredParticles, _p_IClusteredParticlesTo_p_INode, 0, 0}, {&_swigt__p_IAbstractParticle, _p_IAbstractParticleTo_p_INode, 0, 0}, {&_swigt__p_IParticle, _p_IParticleTo_p_INode, 0, 0}, {&_swigt__p_Particle, _p_ParticleTo_p_INode, 0, 0}, {&_swigt__p_Lattice2D, _p_Lattice2DTo_p_INode, 0, 0}, {&_swigt__p_DistributionGate, _p_DistributionGateTo_p_INode, 0, 0}, {&_swigt__p_IFTDistribution1D, _p_IFTDistribution1DTo_p_INode, 0, 0}, {&_swigt__p_IDistribution1D, _p_IDistribution1DTo_p_INode, 0, 0}, {&_swigt__p_IFTDecayFunction1D, _p_IFTDecayFunction1DTo_p_INode, 0, 0}, {&_swigt__p_FormFactorCosineRippleBox, _p_FormFactorCosineRippleBoxTo_p_INode, 0, 0}, {&_swigt__p_FormFactorSawtoothRippleBox, _p_FormFactorSawtoothRippleBoxTo_p_INode, 0, 0}, {&_swigt__p_FormFactorCone, _p_FormFactorConeTo_p_INode, 0, 0}, {&_swigt__p_InterferenceFunctionTwin, _p_InterferenceFunctionTwinTo_p_INode, 0, 0}, {&_swigt__p_Layer, _p_LayerTo_p_INode, 0, 0}, {&_swigt__p_FormFactorPyramid, _p_FormFactorPyramidTo_p_INode, 0, 0}, {&_swigt__p_FormFactorAnisoPyramid, _p_FormFactorAnisoPyramidTo_p_INode, 0, 0}, {&_swigt__p_FormFactorEllipsoidalCylinder, _p_FormFactorEllipsoidalCylinderTo_p_INode, 0, 0}, {&_swigt__p_FormFactorCylinder, _p_FormFactorCylinderTo_p_INode, 0, 0}, {&_swigt__p_DistributionGaussian, _p_DistributionGaussianTo_p_INode, 0, 0}, {&_swigt__p_ResolutionFunction2DGaussian, _p_ResolutionFunction2DGaussianTo_p_INode, 0, 0}, {&_swigt__p_IFootprintFactor, _p_IFootprintFactorTo_p_INode, 0, 0}, {&_swigt__p_ParticleComposition, _p_ParticleCompositionTo_p_INode, 0, 0}, {&_swigt__p_FTDistribution1DCosine, _p_FTDistribution1DCosineTo_p_INode, 0, 0}, {&_swigt__p_FTDistribution1DGate, _p_FTDistribution1DGateTo_p_INode, 0, 0}, {&_swigt__p_DistributionCosine, _p_DistributionCosineTo_p_INode, 0, 0}, {&_swigt__p_FormFactorCosineRippleGauss, _p_FormFactorCosineRippleGaussTo_p_INode, 0, 0}, {&_swigt__p_FormFactorSawtoothRippleGauss, _p_FormFactorSawtoothRippleGaussTo_p_INode, 0, 0}, {&_swigt__p_FTDistribution2DVoigt, _p_FTDistribution2DVoigtTo_p_INode, 0, 0}, {&_swigt__p_FTDecayFunction2DVoigt, _p_FTDecayFunction2DVoigtTo_p_INode, 0, 0}, {&_swigt__p_FTDistribution1DCauchy, _p_FTDistribution1DCauchyTo_p_INode, 0, 0}, {&_swigt__p_FTDecayFunction1DCauchy, _p_FTDecayFunction1DCauchyTo_p_INode, 0, 0}, {&_swigt__p_FTDistribution2DCauchy, _p_FTDistribution2DCauchyTo_p_INode, 0, 0}, {&_swigt__p_FTDecayFunction2DCauchy, _p_FTDecayFunction2DCauchyTo_p_INode, 0, 0}, {&_swigt__p_IInterferenceFunction, _p_IInterferenceFunctionTo_p_INode, 0, 0}, {&_swigt__p_FootprintSquare, _p_FootprintSquareTo_p_INode, 0, 0}, {&_swigt__p_FormFactorCone6, _p_FormFactorCone6To_p_INode, 0, 0}, {&_swigt__p_Beam, _p_BeamTo_p_INode, 0, 0}, {&_swigt__p_IFormFactorDecorator, _p_IFormFactorDecoratorTo_p_INode, 0, 0}, {&_swigt__p_FormFactorDot, _p_FormFactorDotTo_p_INode, 0, 0}, {&_swigt__p_LayerRoughness, _p_LayerRoughnessTo_p_INode, 0, 0}, {&_swigt__p_FormFactorCrystal, _p_FormFactorCrystalTo_p_INode, 0, 0}, {&_swigt__p_ICosineRipple, _p_ICosineRippleTo_p_INode, 0, 0}, {&_swigt__p_IProfileRipple, _p_IProfileRippleTo_p_INode, 0, 0}, {&_swigt__p_Crystal, _p_CrystalTo_p_INode, 0, 0}, {&_swigt__p_MesoCrystal, _p_MesoCrystalTo_p_INode, 0, 0}, {&_swigt__p_InterferenceFunction2DParaCrystal, _p_InterferenceFunction2DParaCrystalTo_p_INode, 0, 0}, {&_swigt__p_InterferenceFunctionRadialParaCrystal, _p_InterferenceFunctionRadialParaCrystalTo_p_INode, 0, 0}, {&_swigt__p_Simulation2D, _p_Simulation2DTo_p_INode, 0, 0}, {&_swigt__p_FormFactorHollowSphere, _p_FormFactorHollowSphereTo_p_INode, 0, 0}, {&_swigt__p_FormFactorGaussSphere, _p_FormFactorGaussSphereTo_p_INode, 0, 0}, {&_swigt__p_IFTDistribution2D, _p_IFTDistribution2DTo_p_INode, 0, 0}, {&_swigt__p_IFTDecayFunction2D, _p_IFTDecayFunction2DTo_p_INode, 0, 0}, {&_swigt__p_IResolutionFunction2D, _p_IResolutionFunction2DTo_p_INode, 0, 0}, {&_swigt__p_FormFactorWeighted, _p_FormFactorWeightedTo_p_INode, 0, 0}, {&_swigt__p_FormFactorCosineRippleLorentz, _p_FormFactorCosineRippleLorentzTo_p_INode, 0, 0}, {&_swigt__p_FormFactorSawtoothRippleLorentz, _p_FormFactorSawtoothRippleLorentzTo_p_INode, 0, 0}, {&_swigt__p_FormFactorLongBoxLorentz, _p_FormFactorLongBoxLorentzTo_p_INode, 0, 0}, {&_swigt__p_InterferenceFunction1DLattice, _p_InterferenceFunction1DLatticeTo_p_INode, 0, 0}, {&_swigt__p_InterferenceFunction2DLattice, _p_InterferenceFunction2DLatticeTo_p_INode, 0, 0}, {&_swigt__p_InterferenceFunction2DSuperLattice, _p_InterferenceFunction2DSuperLatticeTo_p_INode, 0, 0}, {&_swigt__p_InterferenceFunction3DLattice, _p_InterferenceFunction3DLatticeTo_p_INode, 0, 0}, {&_swigt__p_InterferenceFunctionFinite2DLattice, _p_InterferenceFunctionFinite2DLatticeTo_p_INode, 0, 0}, {&_swigt__p_InterferenceFunctionFinite3DLattice, _p_InterferenceFunctionFinite3DLatticeTo_p_INode, 0, 0}, {&_swigt__p_BasicLattice, _p_BasicLatticeTo_p_INode, 0, 0}, {&_swigt__p_SquareLattice, _p_SquareLatticeTo_p_INode, 0, 0}, {&_swigt__p_HexagonalLattice, _p_HexagonalLatticeTo_p_INode, 0, 0}, {&_swigt__p_DistributionLorentz, _p_DistributionLorentzTo_p_INode, 0, 0}, {&_swigt__p_Lattice, _p_LatticeTo_p_INode, 0, 0}, {&_swigt__p_FTDistribution1DTriangle, _p_FTDistribution1DTriangleTo_p_INode, 0, 0}, {&_swigt__p_FTDecayFunction1DTriangle, _p_FTDecayFunction1DTriangleTo_p_INode, 0, 0}, {&_swigt__p_RotationEuler, _p_RotationEulerTo_p_INode, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_INodeVisitor[] = { {&_swigt__p_INodeVisitor, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_IObservable[] = { {&_swigt__p_IObservable, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_IObserver[] = { {&_swigt__p_IObserver, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_IParameterT_double_t[] = { {&_swigt__p_IParameterT_double_t, 0, 0, 0}, {&_swigt__p_RealParameter, _p_RealParameterTo_p_IParameterT_double_t, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_IParameterized[] = { {&_swigt__p_FormFactorBox, _p_FormFactorBoxTo_p_IParameterized, 0, 0}, {&_swigt__p_IBackground, _p_IBackgroundTo_p_IParameterized, 0, 0}, {&_swigt__p_ConstantBackground, _p_ConstantBackgroundTo_p_IParameterized, 0, 0}, {&_swigt__p_PoissonNoiseBackground, _p_PoissonNoiseBackgroundTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorSphereGaussianRadius, _p_FormFactorSphereGaussianRadiusTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorSphereLogNormalRadius, _p_FormFactorSphereLogNormalRadiusTo_p_IParameterized, 0, 0}, {&_swigt__p_MultiLayer, _p_MultiLayerTo_p_IParameterized, 0, 0}, {&_swigt__p_ParameterDistribution, _p_ParameterDistributionTo_p_IParameterized, 0, 0}, {&_swigt__p_ParticleDistribution, _p_ParticleDistributionTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDistribution1DGauss, _p_FTDistribution1DGaussTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDecayFunction1DGauss, _p_FTDecayFunction1DGaussTo_p_IParameterized, 0, 0}, {&_swigt__p_InterferenceFunctionNone, _p_InterferenceFunctionNoneTo_p_IParameterized, 0, 0}, {&_swigt__p_IDetector2D, _p_IDetector2DTo_p_IParameterized, 0, 0}, {&_swigt__p_ParticleLayout, _p_ParticleLayoutTo_p_IParameterized, 0, 0}, {&_swigt__p_ILayout, _p_ILayoutTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorHemiEllipsoid, _p_FormFactorHemiEllipsoidTo_p_IParameterized, 0, 0}, {&_swigt__p_SphericalDetector, _p_SphericalDetectorTo_p_IParameterized, 0, 0}, {&_swigt__p_IsGISAXSDetector, _p_IsGISAXSDetectorTo_p_IParameterized, 0, 0}, {&_swigt__p_RectangularDetector, _p_RectangularDetectorTo_p_IParameterized, 0, 0}, {&_swigt__p_IDetector, _p_IDetectorTo_p_IParameterized, 0, 0}, {&_swigt__p_INode, _p_INodeTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorRipple2Box, _p_FormFactorRipple2BoxTo_p_IParameterized, 0, 0}, {&_swigt__p_MisesGaussPeakShape, _p_MisesGaussPeakShapeTo_p_IParameterized, 0, 0}, {&_swigt__p_MisesFisherGaussPeakShape, _p_MisesFisherGaussPeakShapeTo_p_IParameterized, 0, 0}, {&_swigt__p_LorentzFisherPeakShape, _p_LorentzFisherPeakShapeTo_p_IParameterized, 0, 0}, {&_swigt__p_GaussFisherPeakShape, _p_GaussFisherPeakShapeTo_p_IParameterized, 0, 0}, {&_swigt__p_IsotropicLorentzPeakShape, _p_IsotropicLorentzPeakShapeTo_p_IParameterized, 0, 0}, {&_swigt__p_IsotropicGaussPeakShape, _p_IsotropicGaussPeakShapeTo_p_IParameterized, 0, 0}, {&_swigt__p_IPeakShape, _p_IPeakShapeTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorPrism3, _p_FormFactorPrism3To_p_IParameterized, 0, 0}, {&_swigt__p_DistributionTrapezoid, _p_DistributionTrapezoidTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorIcosahedron, _p_FormFactorIcosahedronTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorDodecahedron, _p_FormFactorDodecahedronTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorCuboctahedron, _p_FormFactorCuboctahedronTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorTetrahedron, _p_FormFactorTetrahedronTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorPolyhedron, _p_FormFactorPolyhedronTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorPrism6, _p_FormFactorPrism6To_p_IParameterized, 0, 0}, {&_swigt__p_Simulation, _p_SimulationTo_p_IParameterized, 0, 0}, {&_swigt__p_GISASSimulation, _p_GISASSimulationTo_p_IParameterized, 0, 0}, {&_swigt__p_DepthProbeSimulation, _p_DepthProbeSimulationTo_p_IParameterized, 0, 0}, {&_swigt__p_SpecularSimulation, _p_SpecularSimulationTo_p_IParameterized, 0, 0}, {&_swigt__p_OffSpecSimulation, _p_OffSpecSimulationTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDistribution2DCone, _p_FTDistribution2DConeTo_p_IParameterized, 0, 0}, {&_swigt__p_ParticleCoreShell, _p_ParticleCoreShellTo_p_IParameterized, 0, 0}, {&_swigt__p_ProfileRectangularRipple, _p_ProfileRectangularRippleTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorFullSphere, _p_FormFactorFullSphereTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorTruncatedSphere, _p_FormFactorTruncatedSphereTo_p_IParameterized, 0, 0}, {&_swigt__p_IFormFactor, _p_IFormFactorTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorPolygonalSurface, _p_FormFactorPolygonalSurfaceTo_p_IParameterized, 0, 0}, {&_swigt__p_ISample, _p_ISampleTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorLongBoxGauss, _p_FormFactorLongBoxGaussTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorPolygonalPrism, _p_FormFactorPolygonalPrismTo_p_IParameterized, 0, 0}, {&_swigt__p_InterferenceFunctionHardDisk, _p_InterferenceFunctionHardDiskTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDistribution2DGate, _p_FTDistribution2DGateTo_p_IParameterized, 0, 0}, {&_swigt__p_DistributionLogNormal, _p_DistributionLogNormalTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorRipple1Box, _p_FormFactorRipple1BoxTo_p_IParameterized, 0, 0}, {&_swigt__p_Instrument, _p_InstrumentTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDecayFunction1DVoigt, _p_FTDecayFunction1DVoigtTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDistribution1DVoigt, _p_FTDistribution1DVoigtTo_p_IParameterized, 0, 0}, {&_swigt__p_IRotation, _p_IRotationTo_p_IParameterized, 0, 0}, {&_swigt__p_IdentityRotation, _p_IdentityRotationTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorTruncatedSpheroid, _p_FormFactorTruncatedSpheroidTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorFullSpheroid, _p_FormFactorFullSpheroidTo_p_IParameterized, 0, 0}, {&_swigt__p_RotationX, _p_RotationXTo_p_IParameterized, 0, 0}, {&_swigt__p_FootprintGauss, _p_FootprintGaussTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorTruncatedCube, _p_FormFactorTruncatedCubeTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorCantellatedCube, _p_FormFactorCantellatedCubeTo_p_IParameterized, 0, 0}, {&_swigt__p_RotationY, _p_RotationYTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDecayFunction2DGauss, _p_FTDecayFunction2DGaussTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDistribution2DGauss, _p_FTDistribution2DGaussTo_p_IParameterized, 0, 0}, {&_swigt__p_RotationZ, _p_RotationZTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorRipple2Gauss, _p_FormFactorRipple2GaussTo_p_IParameterized, 0, 0}, {&_swigt__p_IFormFactorBorn, _p_IFormFactorBornTo_p_IParameterized, 0, 0}, {&_swigt__p_IDetectorResolution, _p_IDetectorResolutionTo_p_IParameterized, 0, 0}, {&_swigt__p_IClusteredParticles, _p_IClusteredParticlesTo_p_IParameterized, 0, 0}, {&_swigt__p_IMultiLayerBuilder, _p_IMultiLayerBuilderTo_p_IParameterized, 0, 0}, {&_swigt__p_IAbstractParticle, _p_IAbstractParticleTo_p_IParameterized, 0, 0}, {&_swigt__p_IParticle, _p_IParticleTo_p_IParameterized, 0, 0}, {&_swigt__p_Particle, _p_ParticleTo_p_IParameterized, 0, 0}, {&_swigt__p_Lattice2D, _p_Lattice2DTo_p_IParameterized, 0, 0}, {&_swigt__p_DistributionGate, _p_DistributionGateTo_p_IParameterized, 0, 0}, {&_swigt__p_IFTDistribution1D, _p_IFTDistribution1DTo_p_IParameterized, 0, 0}, {&_swigt__p_IDistribution1D, _p_IDistribution1DTo_p_IParameterized, 0, 0}, {&_swigt__p_IFTDecayFunction1D, _p_IFTDecayFunction1DTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorCone, _p_FormFactorConeTo_p_IParameterized, 0, 0}, {&_swigt__p_InterferenceFunctionTwin, _p_InterferenceFunctionTwinTo_p_IParameterized, 0, 0}, {&_swigt__p_ProfileRipple1, _p_ProfileRipple1To_p_IParameterized, 0, 0}, {&_swigt__p_Layer, _p_LayerTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorPyramid, _p_FormFactorPyramidTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorAnisoPyramid, _p_FormFactorAnisoPyramidTo_p_IParameterized, 0, 0}, {&_swigt__p_ProfileRipple2, _p_ProfileRipple2To_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorEllipsoidalCylinder, _p_FormFactorEllipsoidalCylinderTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorCylinder, _p_FormFactorCylinderTo_p_IParameterized, 0, 0}, {&_swigt__p_DistributionGaussian, _p_DistributionGaussianTo_p_IParameterized, 0, 0}, {&_swigt__p_ResolutionFunction2DGaussian, _p_ResolutionFunction2DGaussianTo_p_IParameterized, 0, 0}, {&_swigt__p_IFootprintFactor, _p_IFootprintFactorTo_p_IParameterized, 0, 0}, {&_swigt__p_ParticleComposition, _p_ParticleCompositionTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDistribution1DCosine, _p_FTDistribution1DCosineTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDistribution1DGate, _p_FTDistribution1DGateTo_p_IParameterized, 0, 0}, {&_swigt__p_DistributionCosine, _p_DistributionCosineTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDistribution2DVoigt, _p_FTDistribution2DVoigtTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDecayFunction2DVoigt, _p_FTDecayFunction2DVoigtTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDistribution1DCauchy, _p_FTDistribution1DCauchyTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDecayFunction1DCauchy, _p_FTDecayFunction1DCauchyTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDistribution2DCauchy, _p_FTDistribution2DCauchyTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDecayFunction2DCauchy, _p_FTDecayFunction2DCauchyTo_p_IParameterized, 0, 0}, {&_swigt__p_IInterferenceFunction, _p_IInterferenceFunctionTo_p_IParameterized, 0, 0}, {&_swigt__p_FootprintSquare, _p_FootprintSquareTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorCone6, _p_FormFactorCone6To_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorRipple1Gauss, _p_FormFactorRipple1GaussTo_p_IParameterized, 0, 0}, {&_swigt__p_Beam, _p_BeamTo_p_IParameterized, 0, 0}, {&_swigt__p_IFormFactorDecorator, _p_IFormFactorDecoratorTo_p_IParameterized, 0, 0}, {&_swigt__p_IParameterized, 0, 0, 0}, {&_swigt__p_FormFactorDot, _p_FormFactorDotTo_p_IParameterized, 0, 0}, {&_swigt__p_LayerRoughness, _p_LayerRoughnessTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorCrystal, _p_FormFactorCrystalTo_p_IParameterized, 0, 0}, {&_swigt__p_IProfileRipple, _p_IProfileRippleTo_p_IParameterized, 0, 0}, {&_swigt__p_Crystal, _p_CrystalTo_p_IParameterized, 0, 0}, {&_swigt__p_MesoCrystal, _p_MesoCrystalTo_p_IParameterized, 0, 0}, {&_swigt__p_InterferenceFunction2DParaCrystal, _p_InterferenceFunction2DParaCrystalTo_p_IParameterized, 0, 0}, {&_swigt__p_InterferenceFunctionRadialParaCrystal, _p_InterferenceFunctionRadialParaCrystalTo_p_IParameterized, 0, 0}, {&_swigt__p_Simulation2D, _p_Simulation2DTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorGaussSphere, _p_FormFactorGaussSphereTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorHollowSphere, _p_FormFactorHollowSphereTo_p_IParameterized, 0, 0}, {&_swigt__p_IFTDistribution2D, _p_IFTDistribution2DTo_p_IParameterized, 0, 0}, {&_swigt__p_IFTDecayFunction2D, _p_IFTDecayFunction2DTo_p_IParameterized, 0, 0}, {&_swigt__p_IResolutionFunction2D, _p_IResolutionFunction2DTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorWeighted, _p_FormFactorWeightedTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorRipple2Lorentz, _p_FormFactorRipple2LorentzTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorRipple1Lorentz, _p_FormFactorRipple1LorentzTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorLongBoxLorentz, _p_FormFactorLongBoxLorentzTo_p_IParameterized, 0, 0}, {&_swigt__p_InterferenceFunction1DLattice, _p_InterferenceFunction1DLatticeTo_p_IParameterized, 0, 0}, {&_swigt__p_InterferenceFunction2DLattice, _p_InterferenceFunction2DLatticeTo_p_IParameterized, 0, 0}, {&_swigt__p_InterferenceFunction2DSuperLattice, _p_InterferenceFunction2DSuperLatticeTo_p_IParameterized, 0, 0}, {&_swigt__p_InterferenceFunction3DLattice, _p_InterferenceFunction3DLatticeTo_p_IParameterized, 0, 0}, {&_swigt__p_InterferenceFunctionFinite2DLattice, _p_InterferenceFunctionFinite2DLatticeTo_p_IParameterized, 0, 0}, {&_swigt__p_InterferenceFunctionFinite3DLattice, _p_InterferenceFunctionFinite3DLatticeTo_p_IParameterized, 0, 0}, {&_swigt__p_BasicLattice, _p_BasicLatticeTo_p_IParameterized, 0, 0}, {&_swigt__p_SquareLattice, _p_SquareLatticeTo_p_IParameterized, 0, 0}, {&_swigt__p_HexagonalLattice, _p_HexagonalLatticeTo_p_IParameterized, 0, 0}, {&_swigt__p_DistributionLorentz, _p_DistributionLorentzTo_p_IParameterized, 0, 0}, {&_swigt__p_Lattice, _p_LatticeTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDistribution1DTriangle, _p_FTDistribution1DTriangleTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDecayFunction1DTriangle, _p_FTDecayFunction1DTriangleTo_p_IParameterized, 0, 0}, {&_swigt__p_RotationEuler, _p_RotationEulerTo_p_IParameterized, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_IParameterized[] = { {&_swigt__p_FormFactorBox, _p_FormFactorBoxTo_p_IParameterized, 0, 0}, {&_swigt__p_IBackground, _p_IBackgroundTo_p_IParameterized, 0, 0}, {&_swigt__p_ConstantBackground, _p_ConstantBackgroundTo_p_IParameterized, 0, 0}, {&_swigt__p_PoissonNoiseBackground, _p_PoissonNoiseBackgroundTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorSphereGaussianRadius, _p_FormFactorSphereGaussianRadiusTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorSphereLogNormalRadius, _p_FormFactorSphereLogNormalRadiusTo_p_IParameterized, 0, 0}, {&_swigt__p_MultiLayer, _p_MultiLayerTo_p_IParameterized, 0, 0}, {&_swigt__p_ParameterDistribution, _p_ParameterDistributionTo_p_IParameterized, 0, 0}, {&_swigt__p_ParticleDistribution, _p_ParticleDistributionTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDistribution1DGauss, _p_FTDistribution1DGaussTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDecayFunction1DGauss, _p_FTDecayFunction1DGaussTo_p_IParameterized, 0, 0}, {&_swigt__p_InterferenceFunctionNone, _p_InterferenceFunctionNoneTo_p_IParameterized, 0, 0}, {&_swigt__p_IDetector2D, _p_IDetector2DTo_p_IParameterized, 0, 0}, {&_swigt__p_ParticleLayout, _p_ParticleLayoutTo_p_IParameterized, 0, 0}, {&_swigt__p_ILayout, _p_ILayoutTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorHemiEllipsoid, _p_FormFactorHemiEllipsoidTo_p_IParameterized, 0, 0}, {&_swigt__p_SphericalDetector, _p_SphericalDetectorTo_p_IParameterized, 0, 0}, {&_swigt__p_IsGISAXSDetector, _p_IsGISAXSDetectorTo_p_IParameterized, 0, 0}, {&_swigt__p_RectangularDetector, _p_RectangularDetectorTo_p_IParameterized, 0, 0}, {&_swigt__p_IDetector, _p_IDetectorTo_p_IParameterized, 0, 0}, {&_swigt__p_INode, _p_INodeTo_p_IParameterized, 0, 0}, {&_swigt__p_MisesGaussPeakShape, _p_MisesGaussPeakShapeTo_p_IParameterized, 0, 0}, {&_swigt__p_MisesFisherGaussPeakShape, _p_MisesFisherGaussPeakShapeTo_p_IParameterized, 0, 0}, {&_swigt__p_LorentzFisherPeakShape, _p_LorentzFisherPeakShapeTo_p_IParameterized, 0, 0}, {&_swigt__p_GaussFisherPeakShape, _p_GaussFisherPeakShapeTo_p_IParameterized, 0, 0}, {&_swigt__p_IsotropicLorentzPeakShape, _p_IsotropicLorentzPeakShapeTo_p_IParameterized, 0, 0}, {&_swigt__p_IsotropicGaussPeakShape, _p_IsotropicGaussPeakShapeTo_p_IParameterized, 0, 0}, {&_swigt__p_IPeakShape, _p_IPeakShapeTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorPrism3, _p_FormFactorPrism3To_p_IParameterized, 0, 0}, {&_swigt__p_DistributionTrapezoid, _p_DistributionTrapezoidTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorTetrahedron, _p_FormFactorTetrahedronTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorIcosahedron, _p_FormFactorIcosahedronTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorPolyhedron, _p_FormFactorPolyhedronTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorCuboctahedron, _p_FormFactorCuboctahedronTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorDodecahedron, _p_FormFactorDodecahedronTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorPrism6, _p_FormFactorPrism6To_p_IParameterized, 0, 0}, {&_swigt__p_Simulation, _p_SimulationTo_p_IParameterized, 0, 0}, {&_swigt__p_GISASSimulation, _p_GISASSimulationTo_p_IParameterized, 0, 0}, {&_swigt__p_DepthProbeSimulation, _p_DepthProbeSimulationTo_p_IParameterized, 0, 0}, {&_swigt__p_SpecularSimulation, _p_SpecularSimulationTo_p_IParameterized, 0, 0}, {&_swigt__p_OffSpecSimulation, _p_OffSpecSimulationTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDistribution2DCone, _p_FTDistribution2DConeTo_p_IParameterized, 0, 0}, {&_swigt__p_ParticleCoreShell, _p_ParticleCoreShellTo_p_IParameterized, 0, 0}, {&_swigt__p_IProfileRectangularRipple, _p_IProfileRectangularRippleTo_p_IParameterized, 0, 0}, {&_swigt__p_ISawtoothRipple, _p_ISawtoothRippleTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorFullSphere, _p_FormFactorFullSphereTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorTruncatedSphere, _p_FormFactorTruncatedSphereTo_p_IParameterized, 0, 0}, {&_swigt__p_IFormFactor, _p_IFormFactorTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorPolygonalSurface, _p_FormFactorPolygonalSurfaceTo_p_IParameterized, 0, 0}, {&_swigt__p_ISample, _p_ISampleTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorLongBoxGauss, _p_FormFactorLongBoxGaussTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorPolygonalPrism, _p_FormFactorPolygonalPrismTo_p_IParameterized, 0, 0}, {&_swigt__p_InterferenceFunctionHardDisk, _p_InterferenceFunctionHardDiskTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDistribution2DGate, _p_FTDistribution2DGateTo_p_IParameterized, 0, 0}, {&_swigt__p_DistributionLogNormal, _p_DistributionLogNormalTo_p_IParameterized, 0, 0}, {&_swigt__p_Instrument, _p_InstrumentTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDecayFunction1DVoigt, _p_FTDecayFunction1DVoigtTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDistribution1DVoigt, _p_FTDistribution1DVoigtTo_p_IParameterized, 0, 0}, {&_swigt__p_IRotation, _p_IRotationTo_p_IParameterized, 0, 0}, {&_swigt__p_IdentityRotation, _p_IdentityRotationTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorTruncatedSpheroid, _p_FormFactorTruncatedSpheroidTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorFullSpheroid, _p_FormFactorFullSpheroidTo_p_IParameterized, 0, 0}, {&_swigt__p_RotationX, _p_RotationXTo_p_IParameterized, 0, 0}, {&_swigt__p_FootprintGauss, _p_FootprintGaussTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorTruncatedCube, _p_FormFactorTruncatedCubeTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorCantellatedCube, _p_FormFactorCantellatedCubeTo_p_IParameterized, 0, 0}, {&_swigt__p_RotationY, _p_RotationYTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDecayFunction2DGauss, _p_FTDecayFunction2DGaussTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDistribution2DGauss, _p_FTDistribution2DGaussTo_p_IParameterized, 0, 0}, {&_swigt__p_RotationZ, _p_RotationZTo_p_IParameterized, 0, 0}, {&_swigt__p_IFormFactorBorn, _p_IFormFactorBornTo_p_IParameterized, 0, 0}, {&_swigt__p_IDetectorResolution, _p_IDetectorResolutionTo_p_IParameterized, 0, 0}, {&_swigt__p_IClusteredParticles, _p_IClusteredParticlesTo_p_IParameterized, 0, 0}, {&_swigt__p_IMultiLayerBuilder, _p_IMultiLayerBuilderTo_p_IParameterized, 0, 0}, {&_swigt__p_IAbstractParticle, _p_IAbstractParticleTo_p_IParameterized, 0, 0}, {&_swigt__p_IParticle, _p_IParticleTo_p_IParameterized, 0, 0}, {&_swigt__p_Particle, _p_ParticleTo_p_IParameterized, 0, 0}, {&_swigt__p_Lattice2D, _p_Lattice2DTo_p_IParameterized, 0, 0}, {&_swigt__p_DistributionGate, _p_DistributionGateTo_p_IParameterized, 0, 0}, {&_swigt__p_IFTDistribution1D, _p_IFTDistribution1DTo_p_IParameterized, 0, 0}, {&_swigt__p_IDistribution1D, _p_IDistribution1DTo_p_IParameterized, 0, 0}, {&_swigt__p_IFTDecayFunction1D, _p_IFTDecayFunction1DTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorCosineRippleBox, _p_FormFactorCosineRippleBoxTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorSawtoothRippleBox, _p_FormFactorSawtoothRippleBoxTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorCone, _p_FormFactorConeTo_p_IParameterized, 0, 0}, {&_swigt__p_InterferenceFunctionTwin, _p_InterferenceFunctionTwinTo_p_IParameterized, 0, 0}, {&_swigt__p_Layer, _p_LayerTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorPyramid, _p_FormFactorPyramidTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorAnisoPyramid, _p_FormFactorAnisoPyramidTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorEllipsoidalCylinder, _p_FormFactorEllipsoidalCylinderTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorCylinder, _p_FormFactorCylinderTo_p_IParameterized, 0, 0}, {&_swigt__p_DistributionGaussian, _p_DistributionGaussianTo_p_IParameterized, 0, 0}, {&_swigt__p_ResolutionFunction2DGaussian, _p_ResolutionFunction2DGaussianTo_p_IParameterized, 0, 0}, {&_swigt__p_IFootprintFactor, _p_IFootprintFactorTo_p_IParameterized, 0, 0}, {&_swigt__p_ParticleComposition, _p_ParticleCompositionTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDistribution1DCosine, _p_FTDistribution1DCosineTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDistribution1DGate, _p_FTDistribution1DGateTo_p_IParameterized, 0, 0}, {&_swigt__p_DistributionCosine, _p_DistributionCosineTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorCosineRippleGauss, _p_FormFactorCosineRippleGaussTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorSawtoothRippleGauss, _p_FormFactorSawtoothRippleGaussTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDistribution2DVoigt, _p_FTDistribution2DVoigtTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDecayFunction2DVoigt, _p_FTDecayFunction2DVoigtTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDistribution1DCauchy, _p_FTDistribution1DCauchyTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDecayFunction1DCauchy, _p_FTDecayFunction1DCauchyTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDistribution2DCauchy, _p_FTDistribution2DCauchyTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDecayFunction2DCauchy, _p_FTDecayFunction2DCauchyTo_p_IParameterized, 0, 0}, {&_swigt__p_IInterferenceFunction, _p_IInterferenceFunctionTo_p_IParameterized, 0, 0}, {&_swigt__p_FootprintSquare, _p_FootprintSquareTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorCone6, _p_FormFactorCone6To_p_IParameterized, 0, 0}, {&_swigt__p_Beam, _p_BeamTo_p_IParameterized, 0, 0}, {&_swigt__p_IFormFactorDecorator, _p_IFormFactorDecoratorTo_p_IParameterized, 0, 0}, {&_swigt__p_IParameterized, 0, 0, 0}, {&_swigt__p_FormFactorDot, _p_FormFactorDotTo_p_IParameterized, 0, 0}, {&_swigt__p_LayerRoughness, _p_LayerRoughnessTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorCrystal, _p_FormFactorCrystalTo_p_IParameterized, 0, 0}, {&_swigt__p_ICosineRipple, _p_ICosineRippleTo_p_IParameterized, 0, 0}, {&_swigt__p_IProfileRipple, _p_IProfileRippleTo_p_IParameterized, 0, 0}, {&_swigt__p_Crystal, _p_CrystalTo_p_IParameterized, 0, 0}, {&_swigt__p_MesoCrystal, _p_MesoCrystalTo_p_IParameterized, 0, 0}, {&_swigt__p_InterferenceFunction2DParaCrystal, _p_InterferenceFunction2DParaCrystalTo_p_IParameterized, 0, 0}, {&_swigt__p_InterferenceFunctionRadialParaCrystal, _p_InterferenceFunctionRadialParaCrystalTo_p_IParameterized, 0, 0}, {&_swigt__p_Simulation2D, _p_Simulation2DTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorGaussSphere, _p_FormFactorGaussSphereTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorHollowSphere, _p_FormFactorHollowSphereTo_p_IParameterized, 0, 0}, {&_swigt__p_IFTDistribution2D, _p_IFTDistribution2DTo_p_IParameterized, 0, 0}, {&_swigt__p_IFTDecayFunction2D, _p_IFTDecayFunction2DTo_p_IParameterized, 0, 0}, {&_swigt__p_IResolutionFunction2D, _p_IResolutionFunction2DTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorWeighted, _p_FormFactorWeightedTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorCosineRippleLorentz, _p_FormFactorCosineRippleLorentzTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorSawtoothRippleLorentz, _p_FormFactorSawtoothRippleLorentzTo_p_IParameterized, 0, 0}, {&_swigt__p_FormFactorLongBoxLorentz, _p_FormFactorLongBoxLorentzTo_p_IParameterized, 0, 0}, {&_swigt__p_InterferenceFunction1DLattice, _p_InterferenceFunction1DLatticeTo_p_IParameterized, 0, 0}, {&_swigt__p_InterferenceFunction2DLattice, _p_InterferenceFunction2DLatticeTo_p_IParameterized, 0, 0}, {&_swigt__p_InterferenceFunction2DSuperLattice, _p_InterferenceFunction2DSuperLatticeTo_p_IParameterized, 0, 0}, {&_swigt__p_InterferenceFunction3DLattice, _p_InterferenceFunction3DLatticeTo_p_IParameterized, 0, 0}, {&_swigt__p_InterferenceFunctionFinite2DLattice, _p_InterferenceFunctionFinite2DLatticeTo_p_IParameterized, 0, 0}, {&_swigt__p_InterferenceFunctionFinite3DLattice, _p_InterferenceFunctionFinite3DLatticeTo_p_IParameterized, 0, 0}, {&_swigt__p_BasicLattice, _p_BasicLatticeTo_p_IParameterized, 0, 0}, {&_swigt__p_SquareLattice, _p_SquareLatticeTo_p_IParameterized, 0, 0}, {&_swigt__p_HexagonalLattice, _p_HexagonalLatticeTo_p_IParameterized, 0, 0}, {&_swigt__p_DistributionLorentz, _p_DistributionLorentzTo_p_IParameterized, 0, 0}, {&_swigt__p_Lattice, _p_LatticeTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDistribution1DTriangle, _p_FTDistribution1DTriangleTo_p_IParameterized, 0, 0}, {&_swigt__p_FTDecayFunction1DTriangle, _p_FTDecayFunction1DTriangleTo_p_IParameterized, 0, 0}, {&_swigt__p_RotationEuler, _p_RotationEulerTo_p_IParameterized, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_IParticle[] = { {&_swigt__p_ParticleComposition, _p_ParticleCompositionTo_p_IParticle, 0, 0}, {&_swigt__p_MesoCrystal, _p_MesoCrystalTo_p_IParticle, 0, 0}, {&_swigt__p_IParticle, 0, 0, 0}, {&_swigt__p_Particle, _p_ParticleTo_p_IParticle, 0, 0}, {&_swigt__p_ParticleCoreShell, _p_ParticleCoreShellTo_p_IParticle, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_IPeakShape[] = { {&_swigt__p_IPeakShape, 0, 0, 0}, {&_swigt__p_IsotropicGaussPeakShape, _p_IsotropicGaussPeakShapeTo_p_IPeakShape, 0, 0}, {&_swigt__p_IsotropicLorentzPeakShape, _p_IsotropicLorentzPeakShapeTo_p_IPeakShape, 0, 0}, {&_swigt__p_GaussFisherPeakShape, _p_GaussFisherPeakShapeTo_p_IPeakShape, 0, 0}, {&_swigt__p_LorentzFisherPeakShape, _p_LorentzFisherPeakShapeTo_p_IPeakShape, 0, 0}, {&_swigt__p_MisesFisherGaussPeakShape, _p_MisesFisherGaussPeakShapeTo_p_IPeakShape, 0, 0}, {&_swigt__p_MisesGaussPeakShape, _p_MisesGaussPeakShapeTo_p_IPeakShape, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_IPixel[] = { {&_swigt__p_RectangularPixel, _p_RectangularPixelTo_p_IPixel, 0, 0}, {&_swigt__p_SphericalPixel, _p_SphericalPixelTo_p_IPixel, 0, 0}, {&_swigt__p_IPixel, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_IProfileRipple[] = { {&_swigt__p_FormFactorRipple1Lorentz, _p_FormFactorRipple1LorentzTo_p_IProfileRipple, 0, 0}, {&_swigt__p_FormFactorRipple2Gauss, _p_FormFactorRipple2GaussTo_p_IProfileRipple, 0, 0}, {&_swigt__p_FormFactorRipple2Lorentz, _p_FormFactorRipple2LorentzTo_p_IProfileRipple, 0, 0}, {&_swigt__p_ProfileRectangularRipple, _p_ProfileRectangularRippleTo_p_IProfileRipple, 0, 0}, {&_swigt__p_ProfileRipple1, _p_ProfileRipple1To_p_IProfileRipple, 0, 0}, {&_swigt__p_IProfileRipple, 0, 0, 0}, {&_swigt__p_ProfileRipple2, _p_ProfileRipple2To_p_IProfileRipple, 0, 0}, {&_swigt__p_FormFactorRipple1Box, _p_FormFactorRipple1BoxTo_p_IProfileRipple, 0, 0}, {&_swigt__p_FormFactorRipple1Gauss, _p_FormFactorRipple1GaussTo_p_IProfileRipple, 0, 0}, {&_swigt__p_FormFactorRipple2Box, _p_FormFactorRipple2BoxTo_p_IProfileRipple, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_IProfileRectangularRipple[] = { {&_swigt__p_IProfileRectangularRipple, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_IProfileRipple[] = { {&_swigt__p_FormFactorCosineRippleLorentz, _p_FormFactorCosineRippleLorentzTo_p_IProfileRipple, 0, 0}, {&_swigt__p_FormFactorSawtoothRippleLorentz, _p_FormFactorSawtoothRippleLorentzTo_p_IProfileRipple, 0, 0}, {&_swigt__p_IProfileRectangularRipple, _p_IProfileRectangularRippleTo_p_IProfileRipple, 0, 0}, {&_swigt__p_ISawtoothRipple, _p_ISawtoothRippleTo_p_IProfileRipple, 0, 0}, {&_swigt__p_FormFactorSawtoothRippleBox, _p_FormFactorSawtoothRippleBoxTo_p_IProfileRipple, 0, 0}, {&_swigt__p_FormFactorCosineRippleBox, _p_FormFactorCosineRippleBoxTo_p_IProfileRipple, 0, 0}, {&_swigt__p_IProfileRipple, 0, 0, 0}, {&_swigt__p_ICosineRipple, _p_ICosineRippleTo_p_IProfileRipple, 0, 0}, {&_swigt__p_FormFactorSawtoothRippleGauss, _p_FormFactorSawtoothRippleGaussTo_p_IProfileRipple, 0, 0}, {&_swigt__p_FormFactorCosineRippleGauss, _p_FormFactorCosineRippleGaussTo_p_IProfileRipple, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_IResolutionFunction2D[] = { {&_swigt__p_IResolutionFunction2D, 0, 0, 0}, {&_swigt__p_ResolutionFunction2DGaussian, _p_ResolutionFunction2DGaussianTo_p_IResolutionFunction2D, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_IRotation[] = { {&_swigt__p_RotationY, _p_RotationYTo_p_IRotation, 0, 0}, {&_swigt__p_RotationEuler, _p_RotationEulerTo_p_IRotation, 0, 0}, {&_swigt__p_RotationZ, _p_RotationZTo_p_IRotation, 0, 0}, {&_swigt__p_IRotation, 0, 0, 0}, {&_swigt__p_IdentityRotation, _p_IdentityRotationTo_p_IRotation, 0, 0}, {&_swigt__p_RotationX, _p_RotationXTo_p_IRotation, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_ISample[] = { {&_swigt__p_FormFactorBox, _p_FormFactorBoxTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorSphereGaussianRadius, _p_FormFactorSphereGaussianRadiusTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorSphereLogNormalRadius, _p_FormFactorSphereLogNormalRadiusTo_p_ISample, 0, 0}, {&_swigt__p_MultiLayer, _p_MultiLayerTo_p_ISample, 0, 0}, {&_swigt__p_ParticleDistribution, _p_ParticleDistributionTo_p_ISample, 0, 0}, {&_swigt__p_InterferenceFunctionNone, _p_InterferenceFunctionNoneTo_p_ISample, 0, 0}, {&_swigt__p_ParticleLayout, _p_ParticleLayoutTo_p_ISample, 0, 0}, {&_swigt__p_ILayout, _p_ILayoutTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorHemiEllipsoid, _p_FormFactorHemiEllipsoidTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorRipple2Box, _p_FormFactorRipple2BoxTo_p_ISample, 0, 0}, {&_swigt__p_IPeakShape, _p_IPeakShapeTo_p_ISample, 0, 0}, {&_swigt__p_IsotropicGaussPeakShape, _p_IsotropicGaussPeakShapeTo_p_ISample, 0, 0}, {&_swigt__p_IsotropicLorentzPeakShape, _p_IsotropicLorentzPeakShapeTo_p_ISample, 0, 0}, {&_swigt__p_GaussFisherPeakShape, _p_GaussFisherPeakShapeTo_p_ISample, 0, 0}, {&_swigt__p_LorentzFisherPeakShape, _p_LorentzFisherPeakShapeTo_p_ISample, 0, 0}, {&_swigt__p_MisesFisherGaussPeakShape, _p_MisesFisherGaussPeakShapeTo_p_ISample, 0, 0}, {&_swigt__p_MisesGaussPeakShape, _p_MisesGaussPeakShapeTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorPrism3, _p_FormFactorPrism3To_p_ISample, 0, 0}, {&_swigt__p_FormFactorTetrahedron, _p_FormFactorTetrahedronTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorIcosahedron, _p_FormFactorIcosahedronTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorDodecahedron, _p_FormFactorDodecahedronTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorCuboctahedron, _p_FormFactorCuboctahedronTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorPolyhedron, _p_FormFactorPolyhedronTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorPrism6, _p_FormFactorPrism6To_p_ISample, 0, 0}, {&_swigt__p_ParticleCoreShell, _p_ParticleCoreShellTo_p_ISample, 0, 0}, {&_swigt__p_ProfileRectangularRipple, _p_ProfileRectangularRippleTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorTruncatedSphere, _p_FormFactorTruncatedSphereTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorFullSphere, _p_FormFactorFullSphereTo_p_ISample, 0, 0}, {&_swigt__p_IFormFactor, _p_IFormFactorTo_p_ISample, 0, 0}, {&_swigt__p_ISample, 0, 0, 0}, {&_swigt__p_FormFactorPolygonalSurface, _p_FormFactorPolygonalSurfaceTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorLongBoxGauss, _p_FormFactorLongBoxGaussTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorPolygonalPrism, _p_FormFactorPolygonalPrismTo_p_ISample, 0, 0}, {&_swigt__p_InterferenceFunctionHardDisk, _p_InterferenceFunctionHardDiskTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorRipple1Box, _p_FormFactorRipple1BoxTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorTruncatedSpheroid, _p_FormFactorTruncatedSpheroidTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorFullSpheroid, _p_FormFactorFullSpheroidTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorCantellatedCube, _p_FormFactorCantellatedCubeTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorTruncatedCube, _p_FormFactorTruncatedCubeTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorRipple2Gauss, _p_FormFactorRipple2GaussTo_p_ISample, 0, 0}, {&_swigt__p_IFormFactorBorn, _p_IFormFactorBornTo_p_ISample, 0, 0}, {&_swigt__p_IClusteredParticles, _p_IClusteredParticlesTo_p_ISample, 0, 0}, {&_swigt__p_Particle, _p_ParticleTo_p_ISample, 0, 0}, {&_swigt__p_IParticle, _p_IParticleTo_p_ISample, 0, 0}, {&_swigt__p_IAbstractParticle, _p_IAbstractParticleTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorCone, _p_FormFactorConeTo_p_ISample, 0, 0}, {&_swigt__p_InterferenceFunctionTwin, _p_InterferenceFunctionTwinTo_p_ISample, 0, 0}, {&_swigt__p_ProfileRipple1, _p_ProfileRipple1To_p_ISample, 0, 0}, {&_swigt__p_Layer, _p_LayerTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorAnisoPyramid, _p_FormFactorAnisoPyramidTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorPyramid, _p_FormFactorPyramidTo_p_ISample, 0, 0}, {&_swigt__p_ProfileRipple2, _p_ProfileRipple2To_p_ISample, 0, 0}, {&_swigt__p_FormFactorEllipsoidalCylinder, _p_FormFactorEllipsoidalCylinderTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorCylinder, _p_FormFactorCylinderTo_p_ISample, 0, 0}, {&_swigt__p_ParticleComposition, _p_ParticleCompositionTo_p_ISample, 0, 0}, {&_swigt__p_IInterferenceFunction, _p_IInterferenceFunctionTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorCone6, _p_FormFactorCone6To_p_ISample, 0, 0}, {&_swigt__p_FormFactorRipple1Gauss, _p_FormFactorRipple1GaussTo_p_ISample, 0, 0}, {&_swigt__p_IFormFactorDecorator, _p_IFormFactorDecoratorTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorDot, _p_FormFactorDotTo_p_ISample, 0, 0}, {&_swigt__p_LayerRoughness, _p_LayerRoughnessTo_p_ISample, 0, 0}, {&_swigt__p_MesoCrystal, _p_MesoCrystalTo_p_ISample, 0, 0}, {&_swigt__p_Crystal, _p_CrystalTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorCrystal, _p_FormFactorCrystalTo_p_ISample, 0, 0}, {&_swigt__p_IProfileRipple, _p_IProfileRippleTo_p_ISample, 0, 0}, {&_swigt__p_InterferenceFunction2DParaCrystal, _p_InterferenceFunction2DParaCrystalTo_p_ISample, 0, 0}, {&_swigt__p_InterferenceFunctionRadialParaCrystal, _p_InterferenceFunctionRadialParaCrystalTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorHollowSphere, _p_FormFactorHollowSphereTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorGaussSphere, _p_FormFactorGaussSphereTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorWeighted, _p_FormFactorWeightedTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorLongBoxLorentz, _p_FormFactorLongBoxLorentzTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorRipple2Lorentz, _p_FormFactorRipple2LorentzTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorRipple1Lorentz, _p_FormFactorRipple1LorentzTo_p_ISample, 0, 0}, {&_swigt__p_InterferenceFunction3DLattice, _p_InterferenceFunction3DLatticeTo_p_ISample, 0, 0}, {&_swigt__p_InterferenceFunction2DSuperLattice, _p_InterferenceFunction2DSuperLatticeTo_p_ISample, 0, 0}, {&_swigt__p_InterferenceFunction2DLattice, _p_InterferenceFunction2DLatticeTo_p_ISample, 0, 0}, {&_swigt__p_InterferenceFunction1DLattice, _p_InterferenceFunction1DLatticeTo_p_ISample, 0, 0}, {&_swigt__p_InterferenceFunctionFinite2DLattice, _p_InterferenceFunctionFinite2DLatticeTo_p_ISample, 0, 0}, {&_swigt__p_InterferenceFunctionFinite3DLattice, _p_InterferenceFunctionFinite3DLatticeTo_p_ISample, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_ISample[] = { {&_swigt__p_FormFactorBox, _p_FormFactorBoxTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorSphereGaussianRadius, _p_FormFactorSphereGaussianRadiusTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorSphereLogNormalRadius, _p_FormFactorSphereLogNormalRadiusTo_p_ISample, 0, 0}, {&_swigt__p_MultiLayer, _p_MultiLayerTo_p_ISample, 0, 0}, {&_swigt__p_ParticleDistribution, _p_ParticleDistributionTo_p_ISample, 0, 0}, {&_swigt__p_InterferenceFunctionNone, _p_InterferenceFunctionNoneTo_p_ISample, 0, 0}, {&_swigt__p_ParticleLayout, _p_ParticleLayoutTo_p_ISample, 0, 0}, {&_swigt__p_ILayout, _p_ILayoutTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorHemiEllipsoid, _p_FormFactorHemiEllipsoidTo_p_ISample, 0, 0}, {&_swigt__p_IPeakShape, _p_IPeakShapeTo_p_ISample, 0, 0}, {&_swigt__p_IsotropicGaussPeakShape, _p_IsotropicGaussPeakShapeTo_p_ISample, 0, 0}, {&_swigt__p_IsotropicLorentzPeakShape, _p_IsotropicLorentzPeakShapeTo_p_ISample, 0, 0}, {&_swigt__p_GaussFisherPeakShape, _p_GaussFisherPeakShapeTo_p_ISample, 0, 0}, {&_swigt__p_LorentzFisherPeakShape, _p_LorentzFisherPeakShapeTo_p_ISample, 0, 0}, {&_swigt__p_MisesFisherGaussPeakShape, _p_MisesFisherGaussPeakShapeTo_p_ISample, 0, 0}, {&_swigt__p_MisesGaussPeakShape, _p_MisesGaussPeakShapeTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorPrism3, _p_FormFactorPrism3To_p_ISample, 0, 0}, {&_swigt__p_FormFactorTetrahedron, _p_FormFactorTetrahedronTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorIcosahedron, _p_FormFactorIcosahedronTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorDodecahedron, _p_FormFactorDodecahedronTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorCuboctahedron, _p_FormFactorCuboctahedronTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorPolyhedron, _p_FormFactorPolyhedronTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorPrism6, _p_FormFactorPrism6To_p_ISample, 0, 0}, {&_swigt__p_ParticleCoreShell, _p_ParticleCoreShellTo_p_ISample, 0, 0}, {&_swigt__p_IProfileRectangularRipple, _p_IProfileRectangularRippleTo_p_ISample, 0, 0}, {&_swigt__p_ISawtoothRipple, _p_ISawtoothRippleTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorFullSphere, _p_FormFactorFullSphereTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorTruncatedSphere, _p_FormFactorTruncatedSphereTo_p_ISample, 0, 0}, {&_swigt__p_IFormFactor, _p_IFormFactorTo_p_ISample, 0, 0}, {&_swigt__p_ISample, 0, 0, 0}, {&_swigt__p_FormFactorPolygonalSurface, _p_FormFactorPolygonalSurfaceTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorLongBoxGauss, _p_FormFactorLongBoxGaussTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorPolygonalPrism, _p_FormFactorPolygonalPrismTo_p_ISample, 0, 0}, {&_swigt__p_InterferenceFunctionHardDisk, _p_InterferenceFunctionHardDiskTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorTruncatedSpheroid, _p_FormFactorTruncatedSpheroidTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorFullSpheroid, _p_FormFactorFullSpheroidTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorCantellatedCube, _p_FormFactorCantellatedCubeTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorTruncatedCube, _p_FormFactorTruncatedCubeTo_p_ISample, 0, 0}, {&_swigt__p_IFormFactorBorn, _p_IFormFactorBornTo_p_ISample, 0, 0}, {&_swigt__p_IClusteredParticles, _p_IClusteredParticlesTo_p_ISample, 0, 0}, {&_swigt__p_Particle, _p_ParticleTo_p_ISample, 0, 0}, {&_swigt__p_IParticle, _p_IParticleTo_p_ISample, 0, 0}, {&_swigt__p_IAbstractParticle, _p_IAbstractParticleTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorCosineRippleBox, _p_FormFactorCosineRippleBoxTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorSawtoothRippleBox, _p_FormFactorSawtoothRippleBoxTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorCone, _p_FormFactorConeTo_p_ISample, 0, 0}, {&_swigt__p_InterferenceFunctionTwin, _p_InterferenceFunctionTwinTo_p_ISample, 0, 0}, {&_swigt__p_Layer, _p_LayerTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorAnisoPyramid, _p_FormFactorAnisoPyramidTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorPyramid, _p_FormFactorPyramidTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorEllipsoidalCylinder, _p_FormFactorEllipsoidalCylinderTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorCylinder, _p_FormFactorCylinderTo_p_ISample, 0, 0}, {&_swigt__p_ParticleComposition, _p_ParticleCompositionTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorCosineRippleGauss, _p_FormFactorCosineRippleGaussTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorSawtoothRippleGauss, _p_FormFactorSawtoothRippleGaussTo_p_ISample, 0, 0}, {&_swigt__p_IInterferenceFunction, _p_IInterferenceFunctionTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorCone6, _p_FormFactorCone6To_p_ISample, 0, 0}, {&_swigt__p_IFormFactorDecorator, _p_IFormFactorDecoratorTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorDot, _p_FormFactorDotTo_p_ISample, 0, 0}, {&_swigt__p_LayerRoughness, _p_LayerRoughnessTo_p_ISample, 0, 0}, {&_swigt__p_MesoCrystal, _p_MesoCrystalTo_p_ISample, 0, 0}, {&_swigt__p_Crystal, _p_CrystalTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorCrystal, _p_FormFactorCrystalTo_p_ISample, 0, 0}, {&_swigt__p_ICosineRipple, _p_ICosineRippleTo_p_ISample, 0, 0}, {&_swigt__p_IProfileRipple, _p_IProfileRippleTo_p_ISample, 0, 0}, {&_swigt__p_InterferenceFunction2DParaCrystal, _p_InterferenceFunction2DParaCrystalTo_p_ISample, 0, 0}, {&_swigt__p_InterferenceFunctionRadialParaCrystal, _p_InterferenceFunctionRadialParaCrystalTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorHollowSphere, _p_FormFactorHollowSphereTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorGaussSphere, _p_FormFactorGaussSphereTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorWeighted, _p_FormFactorWeightedTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorLongBoxLorentz, _p_FormFactorLongBoxLorentzTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorCosineRippleLorentz, _p_FormFactorCosineRippleLorentzTo_p_ISample, 0, 0}, {&_swigt__p_FormFactorSawtoothRippleLorentz, _p_FormFactorSawtoothRippleLorentzTo_p_ISample, 0, 0}, {&_swigt__p_InterferenceFunction3DLattice, _p_InterferenceFunction3DLatticeTo_p_ISample, 0, 0}, {&_swigt__p_InterferenceFunction2DSuperLattice, _p_InterferenceFunction2DSuperLatticeTo_p_ISample, 0, 0}, {&_swigt__p_InterferenceFunction2DLattice, _p_InterferenceFunction2DLatticeTo_p_ISample, 0, 0}, {&_swigt__p_InterferenceFunction1DLattice, _p_InterferenceFunction1DLatticeTo_p_ISample, 0, 0}, {&_swigt__p_InterferenceFunctionFinite2DLattice, _p_InterferenceFunctionFinite2DLatticeTo_p_ISample, 0, 0}, {&_swigt__p_InterferenceFunctionFinite3DLattice, _p_InterferenceFunctionFinite3DLatticeTo_p_ISample, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_ISawtoothRipple[] = { {&_swigt__p_FormFactorSawtoothRippleLorentz, _p_FormFactorSawtoothRippleLorentzTo_p_ISawtoothRipple, 0, 0}, {&_swigt__p_ISawtoothRipple, 0, 0, 0}, {&_swigt__p_FormFactorSawtoothRippleBox, _p_FormFactorSawtoothRippleBoxTo_p_ISawtoothRipple, 0, 0}, {&_swigt__p_FormFactorSawtoothRippleGauss, _p_FormFactorSawtoothRippleGaussTo_p_ISawtoothRipple, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_ISelectionRule[] = { {&_swigt__p_ISelectionRule, 0, 0, 0}, {&_swigt__p_SimpleSelectionRule, _p_SimpleSelectionRuleTo_p_ISelectionRule, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_IShape2D[] = { {&_swigt__p_Polygon, _p_PolygonTo_p_IShape2D, 0, 0}, {&_swigt__p_Line, _p_LineTo_p_IShape2D, 0, 0}, {&_swigt__p_VerticalLine, _p_VerticalLineTo_p_IShape2D, 0, 0}, {&_swigt__p_Ellipse, _p_EllipseTo_p_IShape2D, 0, 0}, {&_swigt__p_HorizontalLine, _p_HorizontalLineTo_p_IShape2D, 0, 0}, {&_swigt__p_Rectangle, _p_RectangleTo_p_IShape2D, 0, 0}, {&_swigt__p_IShape2D, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_ISpecularScan[] = { {&_swigt__p_AngularSpecScan, _p_AngularSpecScanTo_p_ISpecularScan, 0, 0}, {&_swigt__p_QSpecScan, _p_QSpecScanTo_p_ISpecularScan, 0, 0}, {&_swigt__p_ISpecularScan, 0, 0, 0},{0, 0, 0, 0}}; @@ -137969,9 +137956,6 @@ static swig_cast_info _swigc__p_PolygonalTopology[] = { {&_swigt__p_PolygonalTo static swig_cast_info _swigc__p_PolyhedralEdge[] = { {&_swigt__p_PolyhedralEdge, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_PolyhedralFace[] = { {&_swigt__p_PolyhedralFace, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_PolyhedralTopology[] = { {&_swigt__p_PolyhedralTopology, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_ProfileRectangularRipple[] = { {&_swigt__p_ProfileRectangularRipple, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_ProfileRipple1[] = { {&_swigt__p_FormFactorRipple1Lorentz, _p_FormFactorRipple1LorentzTo_p_ProfileRipple1, 0, 0}, {&_swigt__p_ProfileRipple1, 0, 0, 0}, {&_swigt__p_FormFactorRipple1Box, _p_FormFactorRipple1BoxTo_p_ProfileRipple1, 0, 0}, {&_swigt__p_FormFactorRipple1Gauss, _p_FormFactorRipple1GaussTo_p_ProfileRipple1, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_ProfileRipple2[] = { {&_swigt__p_FormFactorRipple2Gauss, _p_FormFactorRipple2GaussTo_p_ProfileRipple2, 0, 0}, {&_swigt__p_FormFactorRipple2Lorentz, _p_FormFactorRipple2LorentzTo_p_ProfileRipple2, 0, 0}, {&_swigt__p_ProfileRipple2, 0, 0, 0}, {&_swigt__p_FormFactorRipple2Box, _p_FormFactorRipple2BoxTo_p_ProfileRipple2, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_ProgressHandler__Callback_t[] = { {&_swigt__p_ProgressHandler__Callback_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_PyBuilderCallback[] = { {&_swigt__p_PyBuilderCallback, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_PyObserverCallback[] = { {&_swigt__p_PyObserverCallback, 0, 0, 0},{0, 0, 0, 0}}; @@ -138164,6 +138148,9 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_FormFactorCone, _swigc__p_FormFactorCone6, _swigc__p_FormFactorCoreShell, + _swigc__p_FormFactorCosineRippleBox, + _swigc__p_FormFactorCosineRippleGauss, + _swigc__p_FormFactorCosineRippleLorentz, _swigc__p_FormFactorCrystal, _swigc__p_FormFactorCuboctahedron, _swigc__p_FormFactorCylinder, @@ -138189,12 +138176,9 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_FormFactorPrism3, _swigc__p_FormFactorPrism6, _swigc__p_FormFactorPyramid, - _swigc__p_FormFactorRipple1Box, - _swigc__p_FormFactorRipple1Gauss, - _swigc__p_FormFactorRipple1Lorentz, - _swigc__p_FormFactorRipple2Box, - _swigc__p_FormFactorRipple2Gauss, - _swigc__p_FormFactorRipple2Lorentz, + _swigc__p_FormFactorSawtoothRippleBox, + _swigc__p_FormFactorSawtoothRippleGauss, + _swigc__p_FormFactorSawtoothRippleLorentz, _swigc__p_FormFactorSphereGaussianRadius, _swigc__p_FormFactorSphereLogNormalRadius, _swigc__p_FormFactorTetrahedron, @@ -138214,6 +138198,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_IChiSquaredModule, _swigc__p_ICloneable, _swigc__p_IClusteredParticles, + _swigc__p_ICosineRipple, _swigc__p_IDetector, _swigc__p_IDetector2D, _swigc__p_IDetectorResolution, @@ -138243,10 +138228,12 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_IParticle, _swigc__p_IPeakShape, _swigc__p_IPixel, + _swigc__p_IProfileRectangularRipple, _swigc__p_IProfileRipple, _swigc__p_IResolutionFunction2D, _swigc__p_IRotation, _swigc__p_ISample, + _swigc__p_ISawtoothRipple, _swigc__p_ISelectionRule, _swigc__p_IShape2D, _swigc__p_ISpecularScan, @@ -138311,9 +138298,6 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_PolyhedralEdge, _swigc__p_PolyhedralFace, _swigc__p_PolyhedralTopology, - _swigc__p_ProfileRectangularRipple, - _swigc__p_ProfileRipple1, - _swigc__p_ProfileRipple2, _swigc__p_ProgressHandler__Callback_t, _swigc__p_PyBuilderCallback, _swigc__p_PyObserverCallback,