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

Export missing compile time constants to python #3285

Merged
merged 2 commits into from
Jun 28, 2024

Conversation

schnellerhase
Copy link
Contributor

In addition to #3246 - as pointed out by @jhale this contains the corresponding exports to the python module.

@jhale jhale added this pull request to the merge queue Jun 28, 2024
Merged via the queue into FEniCS:main with commit b6864c0 Jun 28, 2024
16 checks passed
schnellerhase added a commit to schnellerhase/dolfinx that referenced this pull request Jul 1, 2024
github-merge-queue bot pushed a commit that referenced this pull request Jul 2, 2024
…trieving complete boundary (#3283)

* Introduce optionally empty marker for boundary entities

* Adapt to optional boundary marker

* Make use of simplifications in python code

* Make use of simplifications in cpp code

* Add xfail for now (#3284)

* Data independent form compilation for Python interface (#3263)

* Create mesh independent form compilator for Python interface

* Ruff formatting

* Mypy

* Parameterize test over all dtypes

* Ruff format

* Fix compile options handling

* Fix coeff and constant name mapping

* Ruff

* Remove extra definition of basix element and check that mesh c_el is consistent

* Add support for linear and bilinear forms

* Fix typo

* Apply suggestions from code review

Co-authored-by: Chris Richardson <[email protected]>

* Apply suggestions from code review

Co-authored-by: Chris Richardson <[email protected]>

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Igor Baratta <[email protected]>

* Apply suggestions from code review

* Add documentation and default scalar type

---------

Co-authored-by: Chris Richardson <[email protected]>
Co-authored-by: Igor Baratta <[email protected]>

* Bump docker/build-push-action from 5 to 6 (#3279)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](docker/build-push-action@v5...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Improve check for facet->cell connectivity (#3281)

* Improve check

* Update utils.cpp

* Revert optional and use

* Ruff

* Typo

* another

* Fix biharmonic

* Fix python biharmonic

* Fix python demo hdg

* last?

* fix test fem pipeline

* fem pipeline the last?

* Remove workarounds following upstream updates for CI (#3289)

* Remove temporary workarounds

* Use dict comprehension

* Export missing compile time constants to python (#3285)

Co-authored-by: papel <[email protected]>

* Update python/demo/demo_biharmonic.py

Co-authored-by: Jørgen Schartum Dokken <[email protected]>

* Apply suggestions

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Chris Richardson <[email protected]>
Co-authored-by: Jørgen Schartum Dokken <[email protected]>
Co-authored-by: Igor Baratta <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: papel <[email protected]>
@schnellerhase schnellerhase deleted the export_compile_time_constants branch August 8, 2024 07:46
schnellerhase added a commit to schnellerhase/dolfinx that referenced this pull request Sep 11, 2024
schnellerhase added a commit to schnellerhase/dolfinx that referenced this pull request Sep 11, 2024
…trieving complete boundary (FEniCS#3283)

* Introduce optionally empty marker for boundary entities

* Adapt to optional boundary marker

* Make use of simplifications in python code

* Make use of simplifications in cpp code

* Add xfail for now (FEniCS#3284)

* Data independent form compilation for Python interface (FEniCS#3263)

* Create mesh independent form compilator for Python interface

* Ruff formatting

* Mypy

* Parameterize test over all dtypes

* Ruff format

* Fix compile options handling

* Fix coeff and constant name mapping

* Ruff

* Remove extra definition of basix element and check that mesh c_el is consistent

* Add support for linear and bilinear forms

* Fix typo

* Apply suggestions from code review

Co-authored-by: Chris Richardson <[email protected]>

* Apply suggestions from code review

Co-authored-by: Chris Richardson <[email protected]>

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Igor Baratta <[email protected]>

* Apply suggestions from code review

* Add documentation and default scalar type

---------

Co-authored-by: Chris Richardson <[email protected]>
Co-authored-by: Igor Baratta <[email protected]>

* Bump docker/build-push-action from 5 to 6 (FEniCS#3279)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](docker/build-push-action@v5...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Improve check for facet->cell connectivity (FEniCS#3281)

* Improve check

* Update utils.cpp

* Revert optional and use

* Ruff

* Typo

* another

* Fix biharmonic

* Fix python biharmonic

* Fix python demo hdg

* last?

* fix test fem pipeline

* fem pipeline the last?

* Remove workarounds following upstream updates for CI (FEniCS#3289)

* Remove temporary workarounds

* Use dict comprehension

* Export missing compile time constants to python (FEniCS#3285)

Co-authored-by: papel <[email protected]>

* Update python/demo/demo_biharmonic.py

Co-authored-by: Jørgen Schartum Dokken <[email protected]>

* Apply suggestions

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Chris Richardson <[email protected]>
Co-authored-by: Jørgen Schartum Dokken <[email protected]>
Co-authored-by: Igor Baratta <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: papel <[email protected]>
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