BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
SomeFormFactors.h
Go to the documentation of this file.
1 // ************************************************************************** //
2 //
3 // BornAgain: simulate and fit scattering at grazing incidence
4 //
5 //! @file Sample/LibFF/SomeFormFactors.h
6 //! @brief Declares namespace someff with some form factor functions.
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_LIBFF_SOMEFORMFACTORS_H
16 #define BORNAGAIN_CORE_LIBFF_SOMEFORMFACTORS_H
17 
18 #include "Base/Types/Complex.h"
19 #include "Base/Vector/Vectors3D.h"
20 
21 //! Some form factor functions.
22 
23 namespace someff
24 {
25 
26 complex_t ffSphere(cvector_t q, double R);
27 
28 } // namespace someff
29 
30 #endif // BORNAGAIN_CORE_LIBFF_SOMEFORMFACTORS_H
Defines complex_t, and a few elementary functions.
std::complex< double > complex_t
Definition: Complex.h:20
Defines basic vectors in R^3 and C^3.
Some form factor functions.
complex_t ffSphere(cvector_t q, double R)
Returns the form factor of a sphere of radius R.