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_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[source]

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]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes], Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes]][source]

Create a quadrature rule.

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

Map points from a reference facet to a physical facet.

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

Get the vertices of a reference cell.