BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
A layer in a MultiLayer sample. More...
Public Member Functions | |
Layer (Material material, double thickness=0) | |
Constructor of a layer with thickness and material. More... | |
void | accept (INodeVisitor *visitor) const final |
void | addLayout (const ParticleLayout &decoration) |
Layer * | clone () const final |
std::vector< const INode * > | getChildren () const final |
std::vector< const ParticleLayout * > | layouts () const |
const Material * | material () const final |
size_t | numberOfLayouts () const |
unsigned int | numberOfSlices () const |
void | registerThickness (bool make_registered=true) |
void | setMaterial (Material material) |
void | setNumberOfSlices (unsigned int n_slices) |
void | setThickness (double thickness) |
Sets layer thickness in nanometers. | |
double | thickness () const |
A layer in a MultiLayer sample.
Layer::Layer | ( | Material | material, |
double | thickness = 0 |
||
) |
Constructor of a layer with thickness and material.
material | material the layer is made of |
thickness | thickness of a layer in nanometers |