Skip to content

Fix expressions on facets and interpolation on facet submeshes#225

Merged
jorgensd merged 7 commits into
mainfrom
dokken/expression-on-facets
Jun 3, 2026
Merged

Fix expressions on facets and interpolation on facet submeshes#225
jorgensd merged 7 commits into
mainfrom
dokken/expression-on-facets

Conversation

@jorgensd

@jorgensd jorgensd commented Jun 3, 2026

Copy link
Copy Markdown
Member

FEniCS/dolfinx#4140 introduces a consistent global orentation of the expression points when evaluated at facets. This needs to be taken into account when we build the BC.

Also fixes the parametrization of the test of bcs for quads and hexes (previously just simplex in disguise).

New feature

  • scifem.interpolation.interpolate_to_surface_submesh now works for discontinuous elements.

@jorgensd jorgensd marked this pull request as ready for review June 3, 2026 15:18
@jorgensd jorgensd changed the title Fix expressions on facets Fix expressions on facets and interpolation on facet submeshes Jun 3, 2026
@jorgensd jorgensd requested a review from finsberg June 3, 2026 15:51
@jorgensd

jorgensd commented Jun 3, 2026

Copy link
Copy Markdown
Member Author

@finsberg i need to add a conditional for the reversion of points based on version. Will do that later.

@jorgensd jorgensd merged commit ae3f10e into main Jun 3, 2026
10 checks passed
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