mesh.Mesh.cells#

property Mesh.cells#

Return the unique 3D cells of the Mesh.

Returns#

Elems

A connectivity table defining the 3D cells in function of the nodes. For a level-3 Mesh, this is equivalent to self.elems. For other Mesh levels, an empty connectivity table is returned.

Notes#

This is like self.elems.insertLevel(3)[1].

Examples#

>>> Mesh(eltype='hex8').subdivide(2,1,1).cells
Elems([[ 0,  1,  4,  3,  6, 7, 10,  9],
    [ 1,  2,  5,  4,  7,  8, 11, 10]]..., eltype=Hex8)