Celeritas
0.5.0-86+4a8eea4
|
Parameterization of a discrete scalar field on a given 1D grid. More...
#include <XsGridData.hh>
Public Types | |
using | EnergyUnits = units::Mev |
using | XsUnits = units::Native |
Public Member Functions | |
CELER_FUNCTION | operator bool () const |
Whether the interface is initialized and valid. | |
Static Public Member Functions | |
static CELER_CONSTEXPR_FUNCTION size_type | no_scaling () |
"Special" value indicating none of the values are scaled by 1/E | |
Public Attributes | |
UniformGridData | log_energy |
size_type | prime_index {no_scaling()} |
ItemRange< real_type > | value |
Parameterization of a discrete scalar field on a given 1D grid.
For all
, the
is expected to be pre-scaled by a factor of
.
Interpolation is linear-linear after transforming to log-E space and before scaling the value by E (if the grid point is above prime_index).