BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
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< ZLimits > | layerZLimits () const |
Returns the filled region limits for each layer (in local layer coordinates) | |
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.