BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
Profile2DComponents.cpp
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file Sample/ComponentBuilder/Profile2DComponents.cpp
6 //! @brief Implements sample components for complex sample builders.
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2018
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
16 
17 // ************************************************************************************************
19 // ************************************************************************************************
20 {
21  add("Profile2DCauchy", new Profile2DCauchy(0.5, 1.0, 0));
22  add("Profile2DGauss", new Profile2DGauss(0.5, 1.0, 0));
23  add("Profile2DGate", new Profile2DGate(0.5, 1.0, 0));
24  add("Profile2DCone", new Profile2DCone(0.5, 1.0, 0));
25  add("Profile2DVoigt", new Profile2DVoigt(0.5, 1.0, 0, 0.2));
26 }
Defines sample components for complex sample builders.
void add(const std::string &key, IProfile2D *item)
Definition: IRegistry.h:53
Two-dimensional Cauchy distribution in Fourier space; corresponds to a normalized exp(-r) in real spa...
Definition: Profiles2D.h:71
Two-dimensional cone distribution in Fourier space; corresponds to 1-r if r<1 (and 0 otherwise) in re...
Definition: Profiles2D.h:155
Two-dimensional gate distribution in Fourier space; corresponds to normalized constant if r<1 (and 0 ...
Definition: Profiles2D.h:127
Two-dimensional Gauss distribution in Fourier space; corresponds to normalized exp(-r^2/2) in real sp...
Definition: Profiles2D.h:99
Two-dimensional Voigt distribution in Fourier space; corresponds to eta*Gauss + (1-eta)*Cauchy.
Definition: Profiles2D.h:182