30 Layer vacuum_layer(mat_vacuum);
99 Particle p10(mat_particle, ff10, m10);
105 multi_layer->
addLayer(vacuum_layer);
Defines class CustomMorphologyBuilder.
Defines class MultiLayer.
Defines class ParticleLayout.
Defines materials in namespace refMat.
Defines some unit conversion factors and other constants in namespace Units.
MultiLayer * buildSample() const
void setPosition(kvector_t position)
Sets relative position of the particle's reference point in the coordinate system of parent.
A layer in a MultiLayer sample.
void addLayout(const ParticleLayout &decoration)
A wrapper for underlying material implementation.
Our sample model: a stack of layers one below the other.
void addLayer(const Layer &layer)
Adds layer with default (zero) roughness.
Decorator class that adds particles to ISampleNode objects.
void addParticle(const IAbstractParticle &particle, double abundance=-1.0, const kvector_t position={}, const IRotation &rotation=IdentityRotation())
Adds particle to the layout with abundance, position and the rotation defined.
A particle with a form factor and refractive index.
A rotation about the z axis.
static constexpr double deg
static constexpr double nm
static const Material Vacuum
static const Material Particle