ste-dtst / nmpde-project

Project for the course Numerical Methods for PDEs, held in University of Pisa by prof. Luca Heltai in 2024.
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Output some information during time stepping #7

Open luca-heltai opened 3 months ago

luca-heltai commented 3 months ago

Is there a way to get from SUNDIALS a "history" of the time step size during the integration process?

ste-dtst commented 3 months ago

Done some progress in that direction including arkode/arkode_arkstep.h and passing ode.get_arkode_memory() to appropriate ARKStep routines. As a starting point, I've modified ode.output_step() to show the number of ARKode steps taken until time $t$ and the last stepsize taken.