Skip to content

Remove NewtonSolver from C++ and Python interfaces - #4462

Merged
jhale merged 3 commits into
mainfrom
jhale/remove-newton-solver
Aug 31, 2026
Merged

Remove NewtonSolver from C++ and Python interfaces#4462
jhale merged 3 commits into
mainfrom
jhale/remove-newton-solver

Conversation

@jhale

@jhale jhale commented Aug 31, 2026

Copy link
Copy Markdown
Member

Summary

Removes the deprecated NewtonSolver/NewtonSolverNonlinearProblem classes (C++ and Python), deprecated in v0.10.0 in favor of dolfinx.fem.petsc.NonlinearProblem for Python users and the very recent dolfinx::nls::SNESSolver for C++ users. Since NewtonSolver was the only member of Python dolfinx.nls, the module is removed entirely (the Python wrapper and nls/nls.petsc nanobind submodules).


AI assistance: I used Claude Code (Sonnet 5) to draft this PR. I reviewed, edited, tested, and take responsibility for the final contribution.

@jhale
jhale requested a review from jorgensd August 31, 2026 11:27
@jhale
jhale added this pull request to the merge queue Aug 31, 2026
Merged via the queue into main with commit 2d6d22a Aug 31, 2026
22 checks passed
@jhale
jhale deleted the jhale/remove-newton-solver branch August 31, 2026 19:16
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.

2 participants