27 MultiLayer* Lattice1DBuilder::buildSample()
const
29 const double length(20.0 * Units::nanometer);
30 const double xi(10.0 * Units::deg);
31 const double corr_length(1000.0 * Units::nanometer);
32 const double cylinder_height(5 * Units::nanometer);
33 const double cylinder_radius(5 * Units::nanometer);
35 Layer vacuum_layer(refMat::Vacuum);
36 Layer substrate_layer(refMat::Substrate);
40 interference_function.setDecayFunction(pdf);
43 Particle cylinder(refMat::Particle, ff_cylinder);
46 particle_layout.setInterferenceFunction(interference_function);
48 vacuum_layer.addLayout(particle_layout);
52 multi_layer->
addLayer(substrate_layer);
Defines classes IFTDecayFunction1D, IFTDecayFunction2D,.
Defines classes IFTDecayFunction1D, IFTDecayFunction2D,.
Defines class InterferenceFunction1DLattice.
Defines class Lattice1DBuilder.
Defines class MultiLayer.
Defines class ParticleLayout.
Defines materials in namespace refMat.
Defines some unit conversion factors and other constants in namespace Units.
One-dimensional Cauchy decay function in reciprocal space; corresponds to exp(-|x|/decay_length) in r...
Interference function of a 1D lattice.
A layer, with thickness (in nanometer) and material.
Our sample model: a stack of layers one below the other.
void addLayer(const Layer &layer)
Adds object to multilayer.
Decorator class that adds particles to ISample objects.
A particle with a form factor and refractive index.