-
When I solve a model how do the times I request in |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Internally the solvers use adaptive timestepping to meet the tolerances ( There is a nice description of this in some usage notes on the SUNDIALS website. You can think of the times in |
Beta Was this translation helpful? Give feedback.
Internally the solvers use adaptive timestepping to meet the tolerances (
atol
andrtol
) passed to the solver. The times int_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 intout
in the "normal" mode described in the linked usage notes.