# ffcx.element_interface

Finite element interface.

Functions

`basix_index`(indices) | Get the Basix index of a derivative.
`create_quadrature`(cellname, degree, rule, ...) | Create a quadrature rule.
`map_edge_points`(points, edge, cellname) | Map points from a reference edge to a physical edge.
`map_facet_points`(points, facet, cellname) | Map points from a reference facet to a physical facet.
`reference_cell_vertices`(cellname) | Get the vertices of a reference cell.

ffcx.element_interface.basix_index(indices: tuple[int]) → int

  Get the Basix index of a derivative.

ffcx.element_interface.create_quadrature(cellname: str, degree: int, rule: str, elements: list[_ElementBase]) → tuple[Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str]]

  Create a quadrature rule.

ffcx.element_interface.map_edge_points(points: ndarray[tuple[Any, ...], dtype[float64]], edge: int, cellname: str) → ndarray[tuple[Any, ...], dtype[float64]]

  Map points from a reference edge to a physical edge.

ffcx.element_interface.map_facet_points(points: ndarray[tuple[Any, ...], dtype[float64]], facet: int, cellname: str) → ndarray[tuple[Any, ...], dtype[float64]]

  Map points from a reference facet to a physical facet.

ffcx.element_interface.reference_cell_vertices(cellname: str) → ndarray[tuple[Any, ...], dtype[float64]]

  Get the vertices of a reference cell.