Skip to content

Comments

NodalEnrichment with mismatching ExpansionSets#229

Open
pbrubeck wants to merge 7 commits intomainfrom
pbrubeck/fix/nodal-enriched
Open

NodalEnrichment with mismatching ExpansionSets#229
pbrubeck wants to merge 7 commits intomainfrom
pbrubeck/fix/nodal-enriched

Conversation

@pbrubeck
Copy link

@pbrubeck pbrubeck commented Feb 18, 2026

Previously, NodalEnrichedElement required the elements to be added to share the same ExpansionSet. This PR fixes this, allowing for enrichments of macro and non-macroelements.

@pbrubeck pbrubeck force-pushed the pbrubeck/fix/nodal-enriched branch from 0183cb1 to 4b16836 Compare February 19, 2026 13:53
@pbrubeck pbrubeck requested a review from rckirby February 19, 2026 13:53

# Extract common data
embedded_degrees = [e.get_nodal_basis().get_embedded_degree() for e in elements]
embedded_degrees = [e.degree() for e in elements]
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

e.degree() is the same as e.get_nodal_basis().get_embedded_degree()

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