LSODE status=-1 [message #82882] |
Mon, 21 January 2013 10:12 |
hal_k3
Messages: 3 Registered: January 2013
|
Junior Member |
|
|
I am having trouble using the IDL LSODE function for solving differential equations. It returns with status=-1. The help page says "To continue, reset STATUS to a value greater than 1 and begin again (the excess work step counter will be reset to 0)." I have tried this, but I am not getting anywhere with it. Part of the problem is that it is not clear what "begin again" means. I have tried calling LSODE again with the exact same inputs, except with status set to 2 (with no modifications to Y, X, H, and Derivs since the previous call). This doesn't seem to do anything. The status keeps coming back as -1, and the result doesn't change. Am I supposed to use different input values for repeated calls? If so, which values?
|
|
|