BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
Ripples.h
Go to the documentation of this file.
1 // ************************************************************************** //
2 //
3 // BornAgain: simulate and fit scattering at grazing incidence
4 //
5 //! @file Sample/HardParticle/Ripples.h
6 //! @brief Declares computations in namespace ripples.
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 
15 #ifndef BORNAGAIN_CORE_HARDPARTICLE_RIPPLES_H
16 #define BORNAGAIN_CORE_HARDPARTICLE_RIPPLES_H
17 
18 #include "Base/Types/Complex.h"
19 
20 //! Computations for elongated particles.
21 namespace ripples
22 {
23 
24 complex_t factor_x_box(complex_t q, double l);
27 
28 complex_t profile_yz_bar(complex_t qy, complex_t qz, double width, double height);
31  double asymmetry);
32 
33 } // namespace ripples
34 
35 #endif // BORNAGAIN_CORE_HARDPARTICLE_RIPPLES_H
Defines complex_t, and a few elementary functions.
std::complex< double > complex_t
Definition: Complex.h:20
Computations for elongated particles.
Definition: Ripples.h:22
complex_t profile_yz_cosine(complex_t qy, complex_t qz, double width, double height)
Complex form factor of triangular ripple.
Definition: Ripples.cpp:46
complex_t profile_yz_bar(complex_t qy, complex_t qz, double width, double height)
Complex form factor of rectangular ripple (bar).
Definition: Ripples.cpp:36
complex_t factor_x_box(complex_t q, double l)
Definition: Ripples.cpp:20
complex_t factor_x_Lorentz(complex_t q, double l)
Definition: Ripples.cpp:30
complex_t profile_yz_triangular(complex_t qy, complex_t qz, double width, double height, double asymmetry)
Complex form factor of triangular ripple.
Definition: Ripples.cpp:73
complex_t factor_x_Gauss(complex_t q, double l)
Definition: Ripples.cpp:25