Skip to main content

dolfiny: high-level and convenience wrappers for DOLFINx

The dolfiny package provides a set of high-level and convenience wrappers for DOLFINx, the FEniCS library.

While DOLFINx involves many low-level operations - from handling ghosted values to interfacing PETSc solvers directly - dolfiny serves as a wrapper around the low-level functionality of DOLFINx and is meant to combine a user-oriented API with the performance and functionality of DOLFINx, FFCx, Basix and UFL.

This library is written exclusively in Python with optional interfacing to user-provided C++ kernels.

Installation

pip install dolfiny

Certain functionality (see demos and unit tests) relies on the availability of external packages such as

Install dolfiny with these dependencies by running

pip install dolfiny[all]

For ARM-based architectures (aarch64/arm64 on Linux) we recommend to fallback to our custom-compiled binary wheels for vtk and cppyy-cling by setting the local package index repository in the respective environment variable

export PIP_INDEX_URL=https://gitlab.com/api/v4/projects/59503118/packages/pypi/simple

before calling pip.

You may also check the Dockerfile for an up-to-date version of the installation process.

Docker image

Multi-arch (amd64 and arm64) Docker images with pre-installed dolfiny (and dependencies) are available at DockerHub.

docker pull dolfiny/dolfiny

Documentation

In preparation.

In the meantime please check available demos or unit tests.

Presentations about dolfiny functionality:

Authors

  • Michal Habera, University of Luxembourg / Rafinex, Luxembourg
  • Paul T. Kühner, University of Luxembourg, Luxembourg
  • Andreas Zilian, University of Luxembourg, Luxembourg

Contributing

We are always looking for contributions and help with dolfiny. If you have ideas, nice applications or code contributions then we would be happy to help you get them included. We ask you to follow the FEniCS Project git workflow.

Issues and Support

Please use the GitHub issue tracker to report any issues.

License

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

dolfiny 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 dolfiny. If not, see http://www.gnu.org/licenses/.

Metadata

Release files for dolfiny 0.10.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dolfiny 0.10.0
File Size Uploaded
dolfiny-0.10.0.tar.gz 71.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dolfiny 0.10.0
File Interpreter ABI Platform
dolfiny-0.10.0-py3-none-any.whl Python 3 none any Details

Total release size: 149.3 kB

Release files / dolfiny-0.10.0.tar.gz

Download URL dolfiny-0.10.0.tar.gz
Size 71.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4b40d77a121cf11dad30e5d4b1069dd7807e38dcd41b6d98a2384ff04a699cc5
BLAKE2b-256 checksum
How to use checksums
ca883eaa3cfb41b6ce6a2c8a8ff141a6928307c8e384f369f03293cc92a33f9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / dolfiny-0.10.0-py3-none-any.whl

Download URL dolfiny-0.10.0-py3-none-any.whl
Size 77.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c7e627f4c9b4dd11b0542ce43d96634e6db778980f1e7b9281d6ca4575610c5f
BLAKE2b-256 checksum
How to use checksums
007517a51fc32806a7a192ac961d64958c5db316546696d0c05688de5bb17ff1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.10.0 This release

2 release files

0.9.0

2 release files

0.8.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page