Skip to content

Create EntityMap class for handling relations between mesh topologies #3679

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

Draft
wants to merge 23 commits into
base: main
Choose a base branch
from

Conversation

jorgensd
Copy link
Member

@jorgensd jorgensd commented Apr 1, 2025

An entity map takes in:
Two mesh topologies, the topological dimension one wants to have a relation between, and two equally long lists
where entities0[i] is in topology0, while entities1[i] is the corresponding entity in topology1.

This makes the entitymaps constructor alot easier in many cases.
The "map" is two-sided, meaning that it doesn't need to change if we switch the integration domain.

Internally (in the form constructor), we use the same logic, mapping entities, with some extra sanity checks.

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.

3 participants