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

Interference function of a finite 2D lattice. More...

+ Inheritance diagram for InterferenceFunctionFinite2DLattice:

Public Member Functions

 InterferenceFunctionFinite2DLattice (const Lattice2D &lattice, unsigned N_1, unsigned N_2)
 Constructor of two-dimensional finite lattice interference function. More...
 
void accept (INodeVisitor *visitor) const override
 
InterferenceFunctionFinite2DLatticeclone () const override
 
std::vector< const INode * > getChildren () const override
 
double getParticleDensity () const override
 Returns the particle density associated with this 2d lattice.
 
bool integrationOverXi () const
 
const Lattice2Dlattice () const
 
unsigned numberUnitCells1 () const
 
unsigned numberUnitCells2 () const
 
void setIntegrationOverXi (bool integrate_xi)
 

Detailed Description

Interference function of a finite 2D lattice.

Constructor & Destructor Documentation

◆ InterferenceFunctionFinite2DLattice()

InterferenceFunctionFinite2DLattice::InterferenceFunctionFinite2DLattice ( const Lattice2D lattice,
unsigned  N_1,
unsigned  N_2 
)

Constructor of two-dimensional finite lattice interference function.

Parameters
latticeobject specifying a 2d lattice structure
N_1number of lattice cells in the first lattice direction
N_2number of lattice cells in the second lattice direction