Commit c4e765c
Revert SUNDIALS curvature threshold, use formula-always approach
The SUNDIALS yddnrm*hub^2>2 threshold is designed for sqrt(2/yddnrm)
(p+1=2) but doesn't work for order-dependent (2/yddnrm)^(1/(p+1)).
High-order methods (p=5+) almost never trigger the formula, falling
back to tiny geometric mean steps.
Use formula-always-with-hub-clamp: when yddnrm > 0 compute the
order-dependent step and clamp to hub; when yddnrm == 0 use hub.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 077dcc9 commit c4e765c
1 file changed
+0
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | 398 | | |
403 | 399 | | |
404 | 400 | | |
| |||
0 commit comments