BornAgain  1.19.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 reflection and scattering
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 #ifdef SWIG
16 #error no need to expose this header to Swig
17 #endif
18 
19 #ifndef USER_API
20 #ifndef BORNAGAIN_SAMPLE_LIBFF_SOMEFORMFACTORS_H
21 #define BORNAGAIN_SAMPLE_LIBFF_SOMEFORMFACTORS_H
22 
23 #include "Base/Vector/Vectors3D.h"
24 
25 //! Some form factor functions.
26 
27 namespace someff {
28 
29 complex_t ffSphere(cvector_t q, double R);
30 
31 } // namespace someff
32 
33 #endif // BORNAGAIN_SAMPLE_LIBFF_SOMEFORMFACTORS_H
34 #endif // USER_API
std::complex< double > complex_t
Definition: Complex.h:20
Defines basic vectors in Z^3, R^3, C^3.
Some form factor functions.
complex_t ffSphere(cvector_t q, double R)
Returns the form factor of a sphere of radius R.