BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
InterferenceFunction1DLattice Class Reference

Interference function of a 1D lattice. More...

+ Inheritance diagram for InterferenceFunction1DLattice:

Public Member Functions

 InterferenceFunction1DLattice (double length, double xi)
 Constructor of interference function of one-dimensional lattice. More...
 
void accept (INodeVisitor *visitor) const override
 
InterferenceFunction1DLatticeclone () const override
 
std::vector< const INode * > getChildren () const override
 
double getLength () const
 
double getXi () const
 
void setDecayFunction (const IFTDecayFunction1D &decay)
 Sets one-dimensional decay function. More...
 

Detailed Description

Interference function of a 1D lattice.

Constructor & Destructor Documentation

◆ InterferenceFunction1DLattice()

InterferenceFunction1DLattice::InterferenceFunction1DLattice ( double  length,
double  xi 
)

Constructor of interference function of one-dimensional lattice.

Parameters
lengthlattice constant in nanometers
xirotation of lattice with respect to x-axis in radians

Member Function Documentation

◆ setDecayFunction()

void InterferenceFunction1DLattice::setDecayFunction ( const IFTDecayFunction1D &  decay)

Sets one-dimensional decay function.

Parameters
decayone-dimensional decay function in reciprocal space