Skip to content

Report a run cut short by totalIter as unsuccessful - #35

Merged
krystophny merged 2 commits into
developfrom
fix/totaliter-run-success
Nov 21, 2026
Merged

krystophny merged 2 commits into
developfrom
fix/totaliter-run-success

Conversation

@krystophny

Copy link
Copy Markdown
Member

A GVEC run reports success when the last interior force is below minimize_tol (abstract.py#L340-L346). A free-boundary Newton stage whose totalIter budget runs out in the first finite-difference Jacobian keeps the start boundary, yet ends with a converged interior and "Tolerance reached.". On the DIII-D deck with minimize_tol = 1e-8 the start solve needs about 450k iterations. At totalIter = 200000 Newton never made a step, the boundary residual stayed at $4.9\times10^{-2}$, and the run reported success.

A run whose last stage stopped on totalIter is now unsuccessful and says so (abstract.py#L345-L348).

test_free_boundary_newton_out_of_totaliter_is_no_success gives an axisymmetric Newton run one iteration beyond its converged start. It fails on develop (no "GVEC run:" warning, success true) and passes with the change, as do the other tests of test_free_boundary_axisym.py.

Chris&AI

A free-boundary Newton run whose budget ran out before the first update
reported 'Tolerance reached.' because only the interior force was checked.
@krystophny
krystophny added this pull request to the merge queue Nov 21, 2026
Merged via the queue into develop with commit 5fff2db Nov 21, 2026
7 checks passed
@krystophny
krystophny deleted the fix/totaliter-run-success branch November 21, 2026 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant