BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
A crystal structure, defined by a Bravais lattice, a basis, and a position variance.
Computations are delegated to class ReMesocrystal.
Used in MesoCrystal, where it is given an outer shape.
Public Member Functions | |
Crystal (const IParticle &basis, const Lattice3D &lattice, double position_variance=0) | |
~Crystal () override | |
const IParticle * | basis () const |
std::string | className () const final |
Crystal * | clone () const override |
const Lattice3D * | lattice () const |
std::vector< const INode * > | nodeChildren () const override |
std::vector< ParaMeta > | parDefs () const final |
double | position_variance () const |
Crystal * | transformed (const IRotation *rotation, const R3 &translation) const |
Crystal::Crystal | ( | const IParticle & | basis, |
const Lattice3D & | lattice, | ||
double | position_variance = 0 |
||
) |
|
override |
const IParticle* Crystal::basis | ( | ) | const |
|
final |
|
override |
const Lattice3D* Crystal::lattice | ( | ) | const |
|
override |
|
final |
double Crystal::position_variance | ( | ) | const |