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.10.1.post0.tar.gz (138.2 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.10.1.post0-py3-none-any.whl (121.1 kB view details)

Uploaded Python 3

File details

Details for the file fenics_ffcx-0.10.1.post0.tar.gz.

File metadata

  • Download URL: fenics_ffcx-0.10.1.post0.tar.gz
  • Upload date:
  • Size: 138.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fenics_ffcx-0.10.1.post0.tar.gz
Algorithm Hash digest
SHA256 65498544ad722366e7171d2462dd15a0f9c3ca5598426c5cb56569f3614a752b
MD5 9f0110aabf9129d06220e811340f97d2
BLAKE2b-256 0a8fee15032a42ad971837c8a56804c018dd81271c694ca1ad019c4e179091eb

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_ffcx-0.10.1.post0.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.10.1.post0-py3-none-any.whl.

File metadata

File hashes

Hashes for fenics_ffcx-0.10.1.post0-py3-none-any.whl
Algorithm Hash digest
SHA256 0021e0aa2d733b1567a71c2be974fa402e77ac8d7f01e245f9b69d9d76041539
MD5 d379919b7157893ccf68dcf52c237f4d
BLAKE2b-256 5f8b7cf140659fe483e6bfff17038d6be2f03948849d2527034492506012b8ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_ffcx-0.10.1.post0-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