Skip to content

pyop3 compatibility - #773

Draft
connorjward wants to merge 5 commits into
futurefrom
connorjward/pyop3
Draft

connorjward wants to merge 5 commits into
futurefrom
connorjward/pyop3

Conversation

@connorjward

@connorjward connorjward commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Key changes

  • Use pyop3 parloops, not PyOP2 ones.
  • pyop2.profiling.timed_stage and friends are gone. These just wrapped the PETSc functions so I use those instead.
  • MaxKernel and MinKernel are gone. You can just use f.dat.max and f.dat.min.
  • (ongoing) Function spaces are given unique names. This is needed for pyop3 to be able to distinguish them in a mixed space. I think this may help with fieldsplit too. The current solution isn't quite right, feedback welcome.

* MinKernel and MaxKernel removed in favour of dat.min() and dat.max()
* Some parloop fixes
* pyop2.profiling -> PETSc.Log

This branch has not been deployed

No deployments
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