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

Interference function of a 2D paracrystal. More...

+ Inheritance diagram for InterferenceFunction2DParaCrystal:

Public Member Functions

 InterferenceFunction2DParaCrystal (const Lattice2D &lattice, double damping_length, double domain_size_1, double domain_size_2)
 
void accept (INodeVisitor *visitor) const override
 
InterferenceFunction2DParaCrystalclone () const override
 
double dampingLength () const
 
std::vector< double > domainSizes () const
 
std::vector< const INode * > getChildren () const override
 
double getParticleDensity () const override
 
bool integrationOverXi () const
 
const Lattice2Dlattice () const
 
const IFTDistribution2D * pdf1 () const
 
const IFTDistribution2D * pdf2 () const
 
void setDampingLength (double damping_length)
 Sets the damping length. More...
 
void setDomainSizes (double size_1, double size_2)
 Sets the sizes of coherence domains. More...
 
void setIntegrationOverXi (bool integrate_xi)
 Enables/disables averaging over the lattice rotation angle. More...
 
void setProbabilityDistributions (const IFTDistribution2D &pdf_1, const IFTDistribution2D &pdf_2)
 Sets the probability distributions (Fourier transformed) for the two lattice directions. More...
 

Detailed Description

Interference function of a 2D paracrystal.

Member Function Documentation

◆ setDampingLength()

void InterferenceFunction2DParaCrystal::setDampingLength ( double  damping_length)

Sets the damping length.

Parameters
damping_lengththe damping (coherence) length of the paracrystal in nanometers

◆ setDomainSizes()

void InterferenceFunction2DParaCrystal::setDomainSizes ( double  size_1,
double  size_2 
)

Sets the sizes of coherence domains.

Parameters
size_1coherence domain size along the first basis vector in nanometers
size_2coherence domain size along the second basis vector in nanometers

◆ setIntegrationOverXi()

void InterferenceFunction2DParaCrystal::setIntegrationOverXi ( bool  integrate_xi)

Enables/disables averaging over the lattice rotation angle.

Parameters
integrate_xiintegration flag

◆ setProbabilityDistributions()

void InterferenceFunction2DParaCrystal::setProbabilityDistributions ( const IFTDistribution2D &  pdf_1,
const IFTDistribution2D &  pdf_2 
)

Sets the probability distributions (Fourier transformed) for the two lattice directions.

Parameters
pdf_1probability distribution in first lattice direction
pdf_2probability distribution in second lattice direction