You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -180,7 +182,17 @@ The two tolerance parameters `eps` and `w` together control how accurately the s
180
182
181
183
A reasonable first choice is `eps = 1.0e-4` with all `w(i) = 1.0`, which requests roughly four significant digits from every component.
182
184
183
-
For interoperability scenarios where the caller manages memory allocation (e.g. language bindings), `stiff3` also provides an overload with explicit work arrays: `rwork` of size `n*(7 + 2*n)` and `iwork` of size `n`.
185
+
For interoperability scenarios where the caller manages memory allocation (e.g. language bindings), `stiff3` also provides an overload with explicit work arrays: `rwork` of size `n*(7 + 2*n)` and `iwork` of size `n`. The required `idid` argument appears before the optional arguments in both overloads:
The integer exit flag `idid` reports solver status:
191
+
192
+
-`0` — successful completion at `x1`
193
+
-`-1` — LU factorization failed because the Jacobian system matrix was singular
194
+
-`-2` — integration interrupted by the user `solout` callback (`irtrn < 0`)
195
+
-`-3` — step-size underflow occurred during bisection (`abs(h) <= spacing(x_current)`)
184
196
185
197
When using this explicit-workspace overload together with `solout`, accepted-step dense output is available through the generic interface `stiff3_interp`:
0 commit comments