BornAgain
1.19.0
Simulate and fit neutron and xray scattering at grazing incidence

A crystal structure, defined by a Bravais lattice, a basis, and a position variance. More...
Public Member Functions  
Crystal (const IParticle &basis, const Lattice3D &lattice, double position_variance=0)  
void  accept (INodeVisitor *visitor) const final 
Crystal *  clone () const final 
IFormFactor *  createTotalFormFactor (const IFormFactor &meso_crystal_form_factor, const IRotation *p_rotation, const kvector_t &translation) const 
std::vector< const INode * >  getChildren () const final 
std::vector< HomogeneousRegion >  homogeneousRegions () const 
Lattice3D  transformedLattice (const IRotation *p_rotation=nullptr) const 
A crystal structure, defined by a Bravais lattice, a basis, and a position variance.
The basis is either a Particle or a ParticleComposition.
Computations are delegated to class FormFactorCrystal.
Used in MesoCrystal, where it is given an outer shape.