Celeritas 0.6.0-dev.116+3fbab5e0
|
Parameterization of a discrete scalar field on a given 1D grid. More...
#include <UniformGridData.hh>
Public Member Functions | |
CELER_FUNCTION | operator bool () const |
Whether the record is initialized and valid. | |
Public Attributes | |
UniformGridData | grid |
ItemRange< real_type > | value |
ItemRange< real_type > | derivative |
size_type | spline_order {1} |
Parameterization of a discrete scalar field on a given 1D grid.
derivative
stores the second derivative of the interpolating cubic spline. If it is non-empty, cubic spline interpolation will be used.
spline_order
stores the order of the piecewise polynomials used for spline interpolation without continuous derivatives. The order must be smaller than the grid size for effective spline interpolation. If the order is set to 1, linear or cubic spline interpolation will be used.