Volume_entities and inradius function from cpp.mesh

Alot of these functions only make sense on linear (straight edged) meshes.
As DOLFINx supports higher order geometries, many of these functions are not simple or even well defined to compute.

For instance, the volume over a higher order cell is dependent on more than just the nodes defining the cell.
You can compute the volume as described in: Computing mesh element size - #2 by dokken
And we do have the definition of h: dolfinx.mesh — DOLFINx 0.7.2 documentation

2 Likes