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

A roughness of interface between two layers. More...

+ Inheritance diagram for LayerRoughness:

Public Member Functions

 LayerRoughness (double sigma, double hurstParameter, double lateralCorrLength)
 Constructor of layer roughness. More...
 
virtual void accept (INodeVisitor *visitor) const
 
LayerRoughnessclone () const
 
double getCorrFun (const kvector_t k) const
 Correlation function of the roughness profile.
 
double getHurstParameter () const
 Returns hurst parameter.
 
double getLatteralCorrLength () const
 Returns lateral correlation length.
 
double getSigma () const
 Returns rms of roughness.
 
double getSpectralFun (const kvector_t kvec) const
 Returns power spectral density of the surface roughness. More...
 
void setHurstParameter (double hurstParameter)
 Sets hurst parameter. It describes how jagged the surface is.
 
void setLatteralCorrLength (double lateralCorrLength)
 Sets lateral correlation length.
 
void setSigma (double sigma)
 Sets rms of roughness.
 

Detailed Description

A roughness of interface between two layers.

Based on the article D.K.G. de Boer, Physical review B, Volume 51, Number 8, 15 February 1995 "X-ray reflection and transmission by rough surfaces"

Constructor & Destructor Documentation

◆ LayerRoughness()

LayerRoughness::LayerRoughness ( double  sigma,
double  hurstParameter,
double  lateralCorrLength 
)

Constructor of layer roughness.

Parameters
sigmarms of the roughness in nanometers
hurstParameterhurst parameter which describes how jagged the interface, dimensionless [0.0, 1.0], where 0.0 gives more spikes, 1.0 more smoothness
lateralCorrLengthlateral correlation length of the roughness in nanometers

Member Function Documentation

◆ getSpectralFun()

double LayerRoughness::getSpectralFun ( const kvector_t  kvec) const

Returns power spectral density of the surface roughness.

Power spectral density of the surface roughness is a result of two-dimensional Fourier transform of the correlation function of the roughness profile.

Based on the article D.K.G. de Boer, Physical review B, Volume 51, Number 8, 15 February 1995 "X-ray reflection and transmission by rough surfaces"