mesh.Mesh.faces#
- property Mesh.faces#
Return the unique faces of all the elements in the Mesh.
Returns#
ElemsA connectivity table defining all the element faces in function of the nodes.
Notes#
This is like
self.elems.insertLevel(2)[1]but the result is memoized in the Mesh object to avoid recomputation on a next call.Examples#
>>> Mesh(eltype='hex8').subdivide(2,1,1).faces Elems([[ 0, 3, 4, 1], [ 0, 1, 7, 6], [ 0, 6, 9, 3], [ 1, 4, 5, 2], [ 1, 2, 8, 7], [ 1, 4, 10, 7], [ 2, 5, 11, 8], [ 3, 9, 10, 4], [ 4, 10, 11, 5], [ 6, 7, 10, 9], [ 7, 8, 11, 10]]..., eltype=Quad4)