Skip to content

Conversation

JHopeCollins
Copy link
Contributor

Use the petsctools.attach_options and associated functions in the TAO solver.
Also adds a "tao" optional dependency set to the pyproject.toml including petsc4py and petsctools.

The attach_options functions are not in the current release of petsctools so this will have to wait until a new release is made, and means there's a minimum version restriction in the pyproject.toml.

There is a lot of duplication with #214, which removes OptionsManager and flatten_options from the tao_solver file, but that PR is is compatible with the current petsctools release so can go in now.

@JHopeCollins JHopeCollins requested a review from connorjward July 16, 2025 13:15
@JHopeCollins JHopeCollins changed the title Use attach_options functions from petsctools. DO NOT MERGE until petsctools release: Use attach_options functions from petsctools. Jul 21, 2025
@JHopeCollins JHopeCollins changed the title DO NOT MERGE until petsctools release: Use attach_options functions from petsctools. DO NOT MERGE until petsctools release: Use petsctools.attach_options Jul 21, 2025
@JHopeCollins JHopeCollins marked this pull request as ready for review July 30, 2025 16:25
@JHopeCollins JHopeCollins changed the title DO NOT MERGE until petsctools release: Use petsctools.attach_options Use petsctools.attach_options Jul 30, 2025
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