Splines now store their own cutoff radius
Description
Optimization of the spline-related code: the splines now store their own cutoff radius
- The code is now done such that cutoff radii are stored in the splines.
- This is evaluated when the routine spline_fit is called.
- This improves the initialization time of the code and makes small testsuite input run ~10% faster.
News snippet
Optimization of some spline-related operations.
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.