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

backport of #880 #881

Merged
merged 5 commits into from
Jul 9, 2024
Merged

backport of #880 #881

merged 5 commits into from
Jul 9, 2024

Conversation

joostvanzwieten
Copy link
Member

No description provided.

This patch introduces the topology.disjoint_union_topology helper function to
deduplicate logic found in several places of the topology module, to return
either an EmptyTopology if the list of topologies is empty, or the topology
itself if it is the only item in the list.
This patch changes the return type of MultipatchTopology.inferfaces, from a
MultipatchTopology to a DisjointUnionTopology. The reason is that the former
structure added no benefits and broke the assumption that patch topologies are
structured, which is now added as an assertion.
This patch changes mesh.multipatch so that patches are always of type
StructuredTopology, and adds an assertion for this in the constructor.
This patch fixes the "patch{i}-{bname}" names of multipatch boundary groups,
in which the indices i were broken by commit fcff2ea.
This patch adds the unittest tests.test_topology.multipatch_L.test_groups to
confirm that multipatch boundary group names are formed correctly.
@joostvanzwieten joostvanzwieten changed the title Fix multipatch boundary names backport of #880 Jul 9, 2024
@joostvanzwieten joostvanzwieten merged commit a1ae698 into release/8 Jul 9, 2024
20 of 22 checks passed
@joostvanzwieten joostvanzwieten deleted the multipatch-boundaries-bpo branch July 9, 2024 14:05
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.

2 participants