Skip to content
Discussion options

You must be logged in to vote

Internally the solvers use adaptive timestepping to meet the tolerances (atol and rtol) passed to the solver. The times in t_eval are the times at which you would like the solver to return a solution. The solver takes the steps it needs to in order to meet the error tolerances, but then gives you back a solution at the times you request (which may be different from the steps the solver actually took).

There is a nice description of this in some usage notes on the SUNDIALS website. You can think of the times in t_eval as the times in tout in the "normal" mode described in the linked usage notes.

Replies: 1 comment 1 reply

Comment options

rtimms
Apr 28, 2022
Collaborator Author

You must be logged in to vote
1 reply
@ljt999
Comment options

Answer selected by rtimms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants