sundials
sundials copied to clipboard
Feature: Add option to disable interpolation in ARKODE
Add support for disabling interpolated output in ARKODE steppers by passing ARK_INTERP_NONE to ARKodeSetInterpolantType. Disabling interpolation can reduce the memory footprint of an integrator by two or more state vectors (depending on the interpolation type and degree) which can be beneficial when interpolation is not needed e.g., when integrating to a final time without output in between or using an explicit fast time scale integrator with MRIStep.
When interpolation is disabled, rootfinding is not supported, implicit methods must use the trivial predictor, interpolation at stop times cannot be used, and calls to ARKodeEvolve in ARK_NORMAL mode will return at or past the requested output time.