Replies: 3 comments 8 replies
-
I wonder if we first want to reduce the size of In [8]: m = MeshTri()
In [9]: m.facets
Out[9]:
array([[0, 0, 1, 1, 2],
[1, 2, 2, 3, 3]])
In [10]: m.boundary_facets()
Out[10]: array([0, 1, 3, 4]) and then Moreover, we need to support preserving |
Beta Was this translation helpful? Give feedback.
-
I made some tests toward this in #792. It also includes the preservation of tags in |
Beta Was this translation helpful? Give feedback.
-
I think I'll just go with #792. Maybe not start relying on it yet in the examples but only after we have some experiences on using it in practice? |
Beta Was this translation helpful? Give feedback.
-
From #776, @gatling-nrl (2021-11-14)
To begin with, something like
MeshLine
might have boundaries"left"
and"right"
corresponding tox == p.min()
andx == p.max()
, rectangular meshes generated by multiplying twoMeshLine
s together or otherwise might have those and"upper"
and"lower"
, cuboids might also have"front"
and"back"
.Should this be by universal or optional? (Could there be a reason for wanting an empty
.boundaries
attribute?)Beta Was this translation helpful? Give feedback.
All reactions