|
Celeritas 0.7.0-dev.169+develop.bdc0041f6
|
A grid of increasing, sorted 1D data. More...
#include <Grid.hh>
Public Types | |
| using | VecDbl = std::vector< double > |
Public Member Functions | |
| operator bool () const | |
Static Public Member Functions | |
| static Grid | from_constant (double y) |
| Construct a grid with a constant value for all real numbers. | |
Public Attributes | |
| VecDbl | x |
| VecDbl | y |
| Interpolation | interpolation {} |
A grid of increasing, sorted 1D data.
This is used to store tabulated physics data such as cross sections or energy loss.