BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
FootprintSquare Class Reference

Description

Rectangular beam footprint.

Inheritance diagram for FootprintSquare:

Public Member Functions

 FootprintSquare (double width_ratio)
 
 FootprintSquare (std::vector< double > P)
 
double calculate (double alpha) const override
 Calculate footprint correction coefficient from the beam incident angle alpha. More...
 
std::string className () const final
 
FootprintSquareclone () const override
 
std::string name () const override
 
std::vector< ParaMeta > parDefs () const final
 
double widthRatio () const
 

Protected Attributes

const double & m_width_ratio
 

Constructor & Destructor Documentation

◆ FootprintSquare() [1/2]

FootprintSquare::FootprintSquare ( std::vector< double >  P)

◆ FootprintSquare() [2/2]

FootprintSquare::FootprintSquare ( double  width_ratio)

Member Function Documentation

◆ calculate()

double FootprintSquare::calculate ( double  alpha) const
overridevirtual

Calculate footprint correction coefficient from the beam incident angle alpha.

Implements IFootprintFactor.

◆ className()

std::string FootprintSquare::className ( ) const
final

◆ clone()

FootprintSquare* FootprintSquare::clone ( ) const
overridevirtual

Implements IFootprintFactor.

◆ name()

std::string FootprintSquare::name ( ) const
overridevirtual

Implements IFootprintFactor.

◆ parDefs()

std::vector<ParaMeta> FootprintSquare::parDefs ( ) const
final

◆ widthRatio()

double IFootprintFactor::widthRatio ( ) const
inherited

Member Data Documentation

◆ m_width_ratio

const double& IFootprintFactor::m_width_ratio
protectedinherited