Skip to main content

The FEniCSx Form Compiler

Project description

FFCx: The FEniCSx Form Compiler

FFCx CI Spack install Coverage Status

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/.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fenics_ffcx-0.11.0.tar.gz (150.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fenics_ffcx-0.11.0-py3-none-any.whl (137.4 kB view details)

Uploaded Python 3

File details

Details for the file fenics_ffcx-0.11.0.tar.gz.

File metadata

  • Download URL: fenics_ffcx-0.11.0.tar.gz
  • Upload date:
  • Size: 150.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fenics_ffcx-0.11.0.tar.gz
Algorithm Hash digest
SHA256 aedc6a6b7131b87adc2eb76622d6da94610f0ee92156859333e2d4a75a83bab8
MD5 0edd3dab80e21dbf856f077861bed597
BLAKE2b-256 004105549c150e558de0b7ed04c99ed69c4ac4916077f560c040310919a8a462

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_ffcx-0.11.0.tar.gz:

Publisher: build-wheels.yml on FEniCS/ffcx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fenics_ffcx-0.11.0-py3-none-any.whl.

File metadata

  • Download URL: fenics_ffcx-0.11.0-py3-none-any.whl
  • Upload date:
  • Size: 137.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fenics_ffcx-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f7420bb69ba0f734451b6330b913e3f4cb18bde2cb93b414df0459cfb919c9d
MD5 d7590cb46ec0f7c70ca600895bd22d28
BLAKE2b-256 30713d8e92277ba21605030a8ac6c9ccec138246e022f079bb5a27905fdb39aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_ffcx-0.11.0-py3-none-any.whl:

Publisher: build-wheels.yml on FEniCS/ffcx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page