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

One-dimensional triangle decay function in reciprocal space; corresponds to 1-|x|/decay_length if |x|<decay_length (and 0 otherwise) in real space. More...

+ Inheritance diagram for FTDecayFunction1DTriangle:

Public Member Functions

 FTDecayFunction1DTriangle (const std::vector< double > P)
 
 FTDecayFunction1DTriangle (double decay_length)
 
void accept (INodeVisitor *visitor) const final
 
FTDecayFunction1DTriangleclone () const
 
double evaluate (double q) const final
 

Detailed Description

One-dimensional triangle decay function in reciprocal space; corresponds to 1-|x|/decay_length if |x|<decay_length (and 0 otherwise) in real space.