Number of finite elements

The dolfin.Mesh class has many functions for this, have a look at the exposed mesh functions.
Here you find functions such as num_cells, num_facets, num_edges etc.

1 Like