Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyop3 #3318

Draft
wants to merge 111 commits into
base: master
Choose a base branch
from
Draft

pyop3 #3318

wants to merge 111 commits into from

Conversation

connorjward
Copy link
Contributor

@connorjward connorjward commented Jan 11, 2024

Description

This is my attempt to replace PyOP2 with pyop3 in Firedrake.

I now have reached a point where most of the "basics" of Firedrake are working, albeit very slowly. Some things that are known not to currently work include:

  • Extruded meshes
  • VertexOnlyMesh (point location templating is tricky)
  • Multigrid
  • PCPatch

Please inspect the code at your own peril. The code is rife with commented out code blocks, TODO comments and bad variable names. It is also extremely slow. That said, I would be extremely happy to explain any of it if you have questions.

I plan to work on this as fast as I can over the next few months. Although there is a lot to do I think progress should be made fairly quickly.

Changes to other packages

connorjward and others added 27 commits April 19, 2024 16:38
test_facets.py and DG advection test passing (in serial).
* WIP

* All tests in test_constant passing

* Apply suggestions from code review

Co-authored-by: Jack Betteridge <[email protected]>

* Matnest broke whilst I fixed constant

* Mark tests Connor doesn't want to run

* Skip some more tests

* Fix test_zero_forms, except parallel

* Re-enable tests in test_multiple_domains

* Enable some tests, disable others

---------

Co-authored-by: Connor Ward <[email protected]>
* Fix interpolators (change to pyop3 API)

* Replace eager_zero with just zero

* DO NOT MERGE pyop3 branch pointer

* Update .github/workflows/build.yml

---------

Co-authored-by: Jack Betteridge <[email protected]>
* pyop3: fix halo exchange

---------

Co-authored-by: Connor Ward <[email protected]>
* Unskip interpolate tests

* Add editables package (#3524)

---------

Co-authored-by: India Marsden <[email protected]>
Co-authored-by: Jack Betteridge <[email protected]>
I anticipate a number of failures, this commit is unstable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants