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

Interpolation into symmetric tensor #3158

Merged
merged 23 commits into from
Apr 24, 2024
Merged

Interpolation into symmetric tensor #3158

merged 23 commits into from
Apr 24, 2024

Conversation

mscroggs
Copy link
Member

@mscroggs mscroggs commented Apr 23, 2024

Requires FEniCS/ffcx#684.

Fixes the first option for interpolation in #3143.

Fixes #3164.

@mscroggs mscroggs linked an issue Apr 23, 2024 that may be closed by this pull request
@mscroggs mscroggs enabled auto-merge April 23, 2024 08:37
@mscroggs mscroggs marked this pull request as draft April 23, 2024 12:38
auto-merge was automatically disabled April 23, 2024 12:38

Pull request was converted to draft

@mscroggs mscroggs marked this pull request as ready for review April 23, 2024 13:24
@mscroggs mscroggs requested a review from jorgensd April 23, 2024 13:32
@mscroggs mscroggs added bug Something isn't working backport? Suggest PR for backporting labels Apr 23, 2024
@mscroggs mscroggs added this to the v0.8.0 milestone Apr 23, 2024
Co-authored-by: Jørgen Schartum Dokken <[email protected]>
@mscroggs mscroggs added this pull request to the merge queue Apr 24, 2024
Merged via the queue into main with commit b309298 Apr 24, 2024
23 checks passed
@mscroggs mscroggs deleted the mscroggs/symmetric branch April 24, 2024 06:30
jhale pushed a commit that referenced this pull request Apr 24, 2024
* Interpolation for symmetric tensor

* add test

* correct test

* ffc branch

* main ffcx

* tidy test

* doc

* dtype

* remove dtype from test

* ruff

* Make interpolation work on more than one cell

* use ordering of lower part not upper part

* make test ues 3 by 3 not 6 by 6

* move interpolation test

* Fix #3164

* document symmetric tensor ordering

* Update cpp/dolfinx/fem/Function.h

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

* Update python/test/unit/fem/test_symmetric_tensor.py

* Update python/test/unit/fem/test_symmetric_tensor.py

---------

Co-authored-by: Jørgen Schartum Dokken <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport? Suggest PR for backporting bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

eval is wrong for symmetric tensor elements interpolate of symmetric tensor is broken
2 participants