30 R3 lattice_basis_a(5.0, 0.0, 0.0);
31 R3 lattice_basis_b(0.0, 5.0, 0.0);
32 R3 lattice_basis_c(0.0, 0.0, 5.0);
33 Lattice3D lattice(lattice_basis_a, lattice_basis_b, lattice_basis_c);
40 Crystal crystal(sphere, lattice);
54 sample->addLayer(vacuum_layer);
55 sample->addLayer(substrate_layer);
Defines class MesoCrystalBuilder.
Defines class MesoCrystal.
Defines class MultiLayer.
Defines class ParticleLayout.
Defines materials in namespace refMat.
A crystal structure, defined by a Bravais lattice, a basis, and a position variance.
A Bravais lattice, characterized by three basis vectors, and optionally an ISelectionRule.
A layer in a MultiLayer sample.
void addLayout(const ParticleLayout &layout)
A particle with a crystalline inner structure, made of smaller particles, and an outer shape describe...
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.
A particle with a form factor and refractive index.
MultiLayer * createMesoCrystal()
static const Material Vacuum
static const Material Particle
static const Material Substrate