BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
LayerFillLimits Class Reference

Helper class for the graded layer approximation. More...

Public Member Functions

 LayerFillLimits (std::vector< double > layers_bottomz)
 
void update (ParticleLimits particle_limits, double offset=0.0)
 Particle limits are given in global coordinates.
 
std::vector< ZLimitslayerZLimits () const
 Returns the filled region limits for each layer (in local layer coordinates)
 

Detailed Description

Helper class for the graded layer approximation.

Generates limits for each layer, indicating the region of the layer (along z) that contains particle(s)

The constructor takes the bottom layer z-coordinates as parameter. This means that for N layers, only N-1 coordinates need to be passed (the last layer is assumed to be semi-infinite).

Definition at line 30 of file LayerFillLimits.h.


The documentation for this class was generated from the following files: