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[ndarray[Any, dtype[float64]], ndarray[Any, dtype[float64]]][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.