BornAgain
1.18.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 scattering at grazing incidence
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
#ifndef BORNAGAIN_CORE_STANDARDSAMPLES_REFERENCEMATERIALS_H
16
#define BORNAGAIN_CORE_STANDARDSAMPLES_REFERENCEMATERIALS_H
17
18
#include "
Sample/Material/MaterialFactoryFuncs.h
"
19
20
//! Reference materials for use in tests and exemplary samples.
21
22
namespace
refMat
23
{
24
25
static
const
Material
Vacuum =
HomogeneousMaterial
(
"Vacuum"
, 0.0, 0.0);
26
static
const
Material
Substrate =
HomogeneousMaterial
(
"Substrate"
, 6e-6, 2e-8);
27
static
const
Material
Particle
=
HomogeneousMaterial
(
"Particle"
, 6e-4, 2e-8);
28
29
static
const
Material
Ag =
HomogeneousMaterial
(
"Ag"
, 1.245e-5, 5.419e-7);
30
static
const
Material
AgO2 =
HomogeneousMaterial
(
"AgO2"
, 8.600e-6, 3.442e-7);
31
static
const
Material
Teflon =
HomogeneousMaterial
(
"Teflon"
, 2.900e-6, 6.019e-9);
32
33
static
const
Material
Substrate2 =
HomogeneousMaterial
(
"Substrate2"
, 3.212e-6, 3.244e-8);
34
35
}
// namespace refMat
36
37
#endif
// BORNAGAIN_CORE_STANDARDSAMPLES_REFERENCEMATERIALS_H
MaterialFactoryFuncs.h
Factory functions used to create material instances.
Material
A wrapper for underlying material implementation.
Definition:
Material.h:29
Particle
A particle with a form factor and refractive index.
Definition:
Particle.h:26
HomogeneousMaterial
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).
Definition:
MaterialFactoryFuncs.cpp:21
refMat
Reference materials for use in tests and exemplary samples.
Definition:
ReferenceMaterials.h:23
Sample
StandardSamples
ReferenceMaterials.h
Generated by
1.9.1