BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
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
23
class
MultiLayer
;
24
25
#include "
Sample/Material/MaterialFactoryFuncs.h
"
26
27
//! Reference materials for use in tests and exemplary samples.
28
29
namespace
refMat
{
30
31
static
const
Material
Vacuum
=
RefractiveMaterial
(
"Vacuum"
, 0.0, 0.0);
32
static
const
Material
Substrate
=
RefractiveMaterial
(
"Substrate"
, 6e-6, 2e-8);
33
static
const
Material
Particle
=
RefractiveMaterial
(
"Particle"
, 6e-4, 2e-8);
34
35
static
const
Material
Ag
=
RefractiveMaterial
(
"Ag"
, 1.245e-5, 5.419e-7);
36
static
const
Material
AgO2
=
RefractiveMaterial
(
"AgO2"
, 8.600e-6, 3.442e-7);
37
static
const
Material
Teflon
=
RefractiveMaterial
(
"Teflon"
, 2.900e-6, 6.019e-9);
38
39
static
const
Material
Substrate2
=
RefractiveMaterial
(
"Substrate2"
, 3.212e-6, 3.244e-8);
40
41
}
// namespace refMat
42
43
#endif
// BORNAGAIN_SAMPLE_STANDARDSAMPLES_REFERENCEMATERIALS_H
44
#endif
// USER_API
MaterialFactoryFuncs.h
Factory functions used to create material instances.
Material
A wrapper for underlying material implementation.
Definition:
Material.h:35
MultiLayer
Our sample model: a stack of layers one below the other.
Definition:
MultiLayer.h:43
Particle
A particle with a form factor and refractive index.
Definition:
Particle.h:25
RefractiveMaterial
Material RefractiveMaterial(const std::string &name, complex_t refractive_index, R3 magnetization)
Definition:
MaterialFactoryFuncs.cpp:21
refMat
Reference materials for use in tests and exemplary samples.
Definition:
ReferenceMaterials.h:29
refMat::Substrate2
static const Material Substrate2
Definition:
ReferenceMaterials.h:39
refMat::Vacuum
static const Material Vacuum
Definition:
ReferenceMaterials.h:31
refMat::Ag
static const Material Ag
Definition:
ReferenceMaterials.h:35
refMat::Teflon
static const Material Teflon
Definition:
ReferenceMaterials.h:37
refMat::AgO2
static const Material AgO2
Definition:
ReferenceMaterials.h:36
refMat::Substrate
static const Material Substrate
Definition:
ReferenceMaterials.h:32
Sample
StandardSamples
ReferenceMaterials.h
Generated by
1.9.1