lcpp-org/crane

Linear interpolation option

keniley1 opened this issue · 0 comments

User @csdechant requested the option to use a linear interpolation instead of a spline for tabulated rate coefficients.

Task
Add a Material to perform a linear interpolation of rate coefficients, and modify the Action system with a new input parameter "interpolation_type" with options 'spline' and 'linear'.

Impact
Splines can run into monotonicity-preserving issues, especially when forced to extrapolate beyond the input data set. Linear might be safer in some circumstances. This will allow users to choose whether to use splines or linear interpolations.