FFCx: The FEniCSx Form Compiler
FFCx is a new version of the FEniCS Form Compiler. It is being actively developed and is compatible with DOLFINx.
FFCx is a compiler for finite element variational forms. From a
high-level description of the form in the Unified Form Language (UFL),
it generates efficient low-level C code that can be used to assemble the
corresponding discrete operator (tensor). In particular, a bilinear form
may be assembled into a matrix and a linear form may be assembled into a
vector. FFCx may be used either from the command line (by invoking the
ffcx command) or as a Python module (import ffcx).
FFCx is part of the FEniCS Project. For more information, visit https://www.fenicsproject.org
Installation
To install FFCx from PyPI:
$ pip install fenics-ffcx
To install FFCx from the source directory:
$ pip install .
Documentation
Documentation can be viewed at https://docs.fenicsproject.org/ffcx/main
Interface file installation only
FFCx provides the ufcx.h interface header for finite element kernels,
used by DOLFINx. ufcx.h is installed by FFCx within the Python site
packages, but it is sometimes helpful to install only the header file.
This can be done using cmake:
$ cmake -B build-dir -S cmake/
$ cmake --build build-dir
$ cmake --install build-dir
License
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see https://www.gnu.org/licenses/.
Metadata
Release files for fenics-ffcx 0.11.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fenics_ffcx-0.11.0.tar.gz | 150.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fenics_ffcx-0.11.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 288.2 kB
Release files / fenics_ffcx-0.11.0.tar.gz
| Download URL | fenics_ffcx-0.11.0.tar.gz |
|---|---|
| Size | 150.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aedc6a6b7131b87adc2eb76622d6da94610f0ee92156859333e2d4a75a83bab8
|
|
BLAKE2b-256 checksum How to use checksums |
004105549c150e558de0b7ed04c99ed69c4ac4916077f560c040310919a8a462
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency logRelease files / fenics_ffcx-0.11.0-py3-none-any.whl
| Download URL | fenics_ffcx-0.11.0-py3-none-any.whl |
|---|---|
| Size | 137.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0f7420bb69ba0f734451b6330b913e3f4cb18bde2cb93b414df0459cfb919c9d
|
|
BLAKE2b-256 checksum How to use checksums |
30713d8e92277ba21605030a8ac6c9ccec138246e022f079bb5a27905fdb39aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency log