-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Are these lines:
Lines 303 to 304 in d80ca8a
| ida_step_t_new = wasora_var(wasora_special_var(time))+wasora_var(wasora_special_var(min_dt)); | |
| err = IDASolve(wasora_dae.system, wasora_var(wasora_special_var(dt)), &ida_step_t_new, wasora_dae.x, wasora_dae.dxdt, IDA_ONE_STEP); |
correct?
I see the following issues:
- Why is
ida_step_t_newbeing set? It is going to be replaced when callingIDASolve. - If I am not mistaken, the second argument for
IDASolveshould bewasora_var(wasora_special_var(time)) + wasora_var(wasora_special_var(min_dt)), notwasora_var(wasora_special_var(dt)). The User Documentation for IDA says that this argument corresponds to the next time at which a computed solution is desired. However, if theIDA_ONE_STEPmode is set (as in this case), this variable is used on the first call only, and only to get the direction and rough scale of the independent variable. I still believe it should be set as recommended.
Thanks and regards,
Ramiro.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels