29 double height1 = radius1;
30 Cylinder cylinder_ff1(radius1, height1);
35 double height2(radius2);
36 Cylinder cylinder_ff2(radius2, height2);
55 sample->addLayer(vacuum_layer);
56 sample->addLayer(substrate_layer);
66 double height1 = radius1;
67 Cylinder cylinder_ff1(radius1, height1);
72 double height2(radius2);
73 Cylinder cylinder_ff2(radius2, height2);
100 sample->addLayer(vacuum_layer);
101 sample->addLayer(substrate_layer);
111 double height1 = radius1;
112 Cylinder cylinder_ff1(radius1, height1);
117 double height2(radius2);
118 Cylinder cylinder_ff2(radius2, height2);
138 sample->addLayer(vacuum_layer);
139 sample->addLayer(substrate_layer);
147 throw std::runtime_error(
148 "This sample used ParticleDistribution which is not supported any more.");
Defines classes representing one-dimensional distributions.
Defines class InterferenceRadialParaCrystal.
Defines class MultiLayer.
Defines class ParticleLayout.
Defines materials in namespace refMat.
Defines various sample builder classes to test DA, LMA, SSCA approximations.
Interference function of radial paracrystal.
void setKappa(double kappa)
Sets size spacing coupling parameter of the Size Spacing Correlation Approximation.
void setProbabilityDistribution(const IProfile1D &pdf)
Sets one-dimensional probability distribution.
A layer in a MultiLayer sample.
void addLayout(const ParticleLayout &layout)
Our sample model: a stack of layers one below the other.
Decorator class that adds particles to ISampleNode objects.
void addParticle(const IParticle &particle, double abundance=-1.0)
Adds particle to the layout with abundance, position and the rotation defined.
void setInterference(const IInterference &interparticle)
Adds interference functions.
A particle with a form factor and refractive index.
Gaussian IProfile1D; its Fourier transform standardizedFT(q) is a Gaussian starting at standardizedFT...
MultiLayer * createCylindersInSSCA()
MultiLayer * createSizeDistributionLMAModel()
MultiLayer * createSizeDistributionSSCAModel()
MultiLayer * createSizeDistributionDAModel()
static const Material Vacuum
static const Material Particle
static const Material Substrate