Basix is a finite element definition and tabulation runtime library. Basix allows users to:
Basix includes a range of built-in elements, and also allows the user to define their own custom elements.
Basix is one of the components of FEniCSx, alongside UFL, FFCx, and DOLFINx.
To install Basix:
pip install fenics-basix
We currently build binary wheels for Python 3.8 to 3.12 for Linux (x86-64, aarch64), macOS (x86-64, arm64) and Windows (x86-64).
For advanced and developer installation instructions see the more detailed install instructions
Documentation of Basix can be found at https://docs.fenicsproject.org/basix/main/.
If you find a bug in Basix, you can report it on the GitHub issue tracker.
Questions about using Basix can be asked on the FEniCS discourse group.
Information about how to contribute to Basix can be found here.
In Basix, the sub-entities of the reference interval are numbered as follows:
The following elements are supported on an interval:
In Basix, the sub-entities of the reference triangle are numbered as follows:
The following elements are supported on a triangle:
In Basix, the sub-entities of the reference quadrilateral are numbered as follows:
The following elements are supported on a quadrilateral:
In Basix, the sub-entities of the reference tetrahedron are numbered as follows:
The following elements are supported on a tetrahedron:
In Basix, the sub-entities of the reference hexahedron are numbered as follows:
The following elements are supported on a hexahedron:
In Basix, the sub-entities of the reference prism are numbered as follows:
The following elements are supported on a prism:
In Basix, the sub-entities of the reference pyramid are numbered as follows:
The following elements are supported on a pyramid: