lcpp-org / crane

A MOOSE application dedicated to general Chemical ReAction NEtworks for plasma chemistry and thermochemistry problems.
https://crane-plasma-chemistry.readthedocs.io/
GNU Lesser General Public License v2.1
21 stars 20 forks source link

Converting linear interpolation to splines #60

Closed keniley1 closed 4 years ago

keniley1 commented 4 years ago

Converts linear interpolation to spline interpolation for automatic differentiation rate coefficients.

Splines have better convergence properties and smooth derivatives. In addition, linear interpolations will throw a standard library error if the sample is out of range. Standard library errors are not caught by MOOSE and will terminate the program rather than simply cutting the timestep.