|
Celeritas 0.7.0-dev.173+develop.7fa55febd
|
Find and interpolate values on a uniform log energy grid. More...
#include <UniformLogGridCalculator.hh>
Public Types | |
Type aliases | |
| using | Energy = units::MevEnergy |
| using | Values = Collection< real_type, Ownership::const_reference, MemSpace::native > |
Public Member Functions | |
| CELER_FUNCTION | UniformLogGridCalculator (UniformGridRecord const &grid, Values const &reals) |
| Construct from uniform grid data. | |
| CELER_FUNCTION real_type | operator() (Energy energy) const |
| Interpolate the value at the given energy. | |
| CELER_FUNCTION real_type | operator[] (size_type index) const |
| Get the tabulated value at the given index. | |
| CELER_FUNCTION Energy | energy_min () const |
| CELER_FUNCTION Energy | energy_max () const |
Find and interpolate values on a uniform log energy grid.
Note that linear interpolation is applied with energy points, not log-energy points.