BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
ReferenceMaterials.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file Sample/StandardSamples/ReferenceMaterials.h
6 //! @brief Defines materials in namespace refMat.
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_STANDARDSAMPLES_REFERENCEMATERIALS_H
21 #define BORNAGAIN_SAMPLE_STANDARDSAMPLES_REFERENCEMATERIALS_H
22 
24 
25 //! Reference materials for use in tests and exemplary samples.
26 
27 namespace refMat {
28 
29 static const Material Vacuum = HomogeneousMaterial("Vacuum", 0.0, 0.0);
30 static const Material Substrate = HomogeneousMaterial("Substrate", 6e-6, 2e-8);
31 static const Material Particle = HomogeneousMaterial("Particle", 6e-4, 2e-8);
32 
33 static const Material Ag = HomogeneousMaterial("Ag", 1.245e-5, 5.419e-7);
34 static const Material AgO2 = HomogeneousMaterial("AgO2", 8.600e-6, 3.442e-7);
35 static const Material Teflon = HomogeneousMaterial("Teflon", 2.900e-6, 6.019e-9);
36 
37 static const Material Substrate2 = HomogeneousMaterial("Substrate2", 3.212e-6, 3.244e-8);
38 
39 } // namespace refMat
40 
41 #endif // BORNAGAIN_SAMPLE_STANDARDSAMPLES_REFERENCEMATERIALS_H
42 #endif // USER_API
Factory functions used to create material instances.
A wrapper for underlying material implementation.
Definition: Material.h:29
A particle with a form factor and refractive index.
Definition: Particle.h:24
Material HomogeneousMaterial(const std::string &name, complex_t refractive_index, kvector_t magnetization)
Constructs a material with name, refractive_index and magnetization (in A/m).
Reference materials for use in tests and exemplary samples.
static const Material Substrate2
static const Material Vacuum
static const Material Ag
static const Material Teflon
static const Material AgO2
static const Material Substrate