Skip to content

Unify and Test New Python Examples#1817

Merged
jeremylt merged 8 commits into
mainfrom
jeremy/python-ex
May 5, 2025
Merged

Unify and Test New Python Examples#1817
jeremylt merged 8 commits into
mainfrom
jeremy/python-ex

Conversation

@jeremylt
Copy link
Copy Markdown
Member

@jeremylt jeremylt commented May 2, 2025

Working branch for unifying the new Python examples and adding a test harness

  • common code in ex_common.py
  • C source for QFunctions in qfunctions folder
  • test harness in ex_test.py
  • ex1 volume
  • ex2 surface
  • ex3 volume
  • Add to CI

@katayoonk @arrowguy234, I've pulled common pieces of each of your codes into a separate file and added a testing file as well. Also note - I added the C source option for QFunctions as well (@ArshiaIlaty did a lot of work there). Feel free to comment on the branch and the changes I made to your work!

Thanks again for adding these - its a good improvement for us

katayoonk and others added 5 commits May 2, 2025 10:20
* Adds initial ex1 python example

* Update examples/python/ex1-volume.py

* after make format

* formatting change

* modifies main

* adds strided restriction

* Update examples/python/ex1-volume.py

---------

ex - add python version of ex1 volume
* Add files via upload

* Update ex2_surface.py

* Update ex2_surface.py

* Update ex2_surface.py

* Update ex2_surface.py

* Update ex2_surface.py

* Update ex2_surface.py

* Update ex2_surface.py

* Delete examples/ceed/ex2_surface.py

* Add cleaned and formatted ex2_surface.py example

* style: update header and reformat ex2_surface.py

* Delete examples/ceed/ex2_surface.py

* Python Surface area example

----------------------------------------

ex - add ex2 surface example in python
@jeremylt jeremylt added 1-In Review and removed 0-WIP labels May 5, 2025
@jeremylt jeremylt force-pushed the jeremy/python-ex branch from 2e1e732 to 56a62b1 Compare May 5, 2025 16:44
@jeremylt jeremylt merged commit 7b3ff06 into main May 5, 2025
27 of 29 checks passed
@jeremylt jeremylt deleted the jeremy/python-ex branch May 5, 2025 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants