BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Interference function of a 2D superlattice with a configurable interference function for each lattice site. More...
Public Member Functions | |
InterferenceFunction2DSuperLattice (const Lattice2D &lattice, unsigned size_1, unsigned size_2) | |
InterferenceFunction2DSuperLattice (double length_1, double length_2, double alpha, double xi, unsigned size_1, unsigned size_2) | |
Constructor of two-dimensional interference function. More... | |
void | accept (INodeVisitor *visitor) const override |
InterferenceFunction2DSuperLattice * | clone () const override |
unsigned | domainSize1 () const |
unsigned | domainSize2 () const |
double | evaluate (const kvector_t q, double outer_iff=1.0) const override |
std::vector< const INode * > | getChildren () const override |
bool | integrationOverXi () const |
const Lattice2D & | lattice () const |
void | setIntegrationOverXi (bool integrate_xi) |
void | setSubstructureIFF (const IInterferenceFunction &sub_iff) |
const IInterferenceFunction & | substructureIFF () const |
Interference function of a 2D superlattice with a configurable interference function for each lattice site.
InterferenceFunction2DSuperLattice::InterferenceFunction2DSuperLattice | ( | double | length_1, |
double | length_2, | ||
double | alpha, | ||
double | xi, | ||
unsigned | size_1, | ||
unsigned | size_2 | ||
) |
Constructor of two-dimensional interference function.
length_1 | length of first lattice vector in nanometers |
length_2 | length of second lattice vector in nanometers |
alpha | angle between lattice vectors in radians |
xi | rotation of lattice with respect to x-axis (beam direction) in radians |
size_1 | correlation length in direction 1 |
size_2 | correlation length in direction 2 |