Some information currently passed as arguments to unstructured_mesh could be retrieved / computed instead when creating the object:
cell areas
neighbor indices
all the boundary nodes
unstructured_mesh being restricted to triangular meshes, it could be renamed to trimesh. Ideally all it would require is points coordinates ([N, 2] shape), triangles ([T, 3] shape) topology and optionally a list of status at nodes.
Some information currently passed as arguments to
unstructured_mesh
could be retrieved / computed instead when creating the object:unstructured_mesh
being restricted to triangular meshes, it could be renamed totrimesh
. Ideally all it would require ispoints
coordinates ([N, 2] shape),triangles
([T, 3] shape) topology and optionally a list of status at nodes.