Skip to content

Commit

Permalink
Correct cellname for point/vertex type for UFL (#851)
Browse files Browse the repository at this point in the history
* Expose subentity types to python for easy creation of elements on entites.

* Mypy fixes

* Add vertex submesh
  • Loading branch information
jorgensd authored Oct 7, 2024
1 parent dcb32a6 commit 94b415f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/basix/ufl.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ def __init__(
):
"""Initialise the element."""
self._repr = repr
if cellname == "point":
cellname = "vertex"
self._cellname = cellname
self._reference_value_shape = reference_value_shape
self._degree = degree
Expand Down

0 comments on commit 94b415f

Please sign in to comment.