Repository navigation
Add required idid exit status to STIFF3 solver interfaces - #51
Conversation
Agent-Logs-Url: https://github.com/ivan-pi/stiff3/sessions/cfc168cc-31b3-4e0c-9237-d65abc89893e Co-authored-by: ivan-pi <21085643+ivan-pi@users.noreply.github.com>
| ! exit main loop | ||
|
|
||
| if (icon == 1) then | ||
| idid = 0 |
There was a problem hiding this comment.
@copilot If we reached this section, I assume IDID should have been zero from the initialization phase.
There was a problem hiding this comment.
Removed the redundant success-path assignment in b180f54; idid now just stays at its initialized zero on normal completion.
| program ode_idid | ||
|
|
||
| use stiff3_solver, only: stiff3, wp => stiff3_wp | ||
|
|
||
| implicit none | ||
|
|
||
| real(wp), parameter :: rosenbrock_a = 0.4358665215084589_wp | ||
| real(wp), parameter :: x0_underflow = 1.0e12_wp | ||
| real(wp), parameter :: dx_underflow = 8.0_wp*spacing(x0_underflow) | ||
| real(wp), parameter :: omega = 1.0e10_wp |
There was a problem hiding this comment.
@copilot This example feels very artificial. We are integrating an "empty" ODE. Could you add an explanation above the program scope on the purpose and design of this test driver.
There was a problem hiding this comment.
Added a file-level explanation in b180f54 describing why the LU-failure and underflow cases are intentionally constructed in this test driver.
Agent-Logs-Url: https://github.com/ivan-pi/stiff3/sessions/33960ac0-e6a7-4963-b10a-d58fecd2d187 Co-authored-by: ivan-pi <21085643+ivan-pi@users.noreply.github.com>
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
There was a problem hiding this comment.
@copilot I don't understand the LU failure case, because the right-hand side is the function f = 0. This is not an ODE system...
Please remove the LU failure case; we'll add an example later when we find one. The bisection underflow case is useful however.
There was a problem hiding this comment.
Removed the LU-failure case in 76e0d32 and kept ode_idid focused on the useful bisection-underflow regression.
Agent-Logs-Url: https://github.com/ivan-pi/stiff3/sessions/bf11bb41-fcde-4974-bb8d-9d500255f8a2 Co-authored-by: ivan-pi <21085643+ivan-pi@users.noreply.github.com>
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
test/ode_idid.f90and keep the underflow regression