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

Refactoring API #36

Merged
merged 9 commits into from
Sep 12, 2023
Merged

Refactoring API #36

merged 9 commits into from
Sep 12, 2023

Conversation

simbilod
Copy link
Owner

@simbilod simbilod commented Sep 11, 2023

Changing API:

Currently, we mesh from an OrderedDict of meshwell entities, and use the keys for physical names

With this change, we mesh from a list of meshwell entities, with the meshwell entities having new attributes:

  • physical_name: what was previously the dict key
  • mesh_order: what was previously the dict order

The advantage of this is that now multiple independent meshwell entities can share the same physical name

This is also required to "break up" ill-formed entities introduced when buffering polygons @HelgeGehring

Eventually we should also move resolution parameters from a dict to an attribute of the entities

@simbilod simbilod marked this pull request as draft September 11, 2023 05:25
@simbilod simbilod changed the title Refactoring Refactoring API Sep 11, 2023
@simbilod simbilod marked this pull request as ready for review September 12, 2023 21:28
@simbilod simbilod merged commit 5f1a2ed into main Sep 12, 2023
3 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