Skip to main content

High-level and convenience wrappers for DOLFINx, the FEniCS library.

Project description

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

pip3 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

pip3 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.uni.lu/api/v4/projects/3415/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, Rafinex, 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/.

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

dolfiny-0.8.0.tar.gz (36.0 kB view details)

Uploaded Source

Built Distribution

dolfiny-0.8.0-py3-none-any.whl (38.1 kB view details)

Uploaded Python 3

File details

Details for the file dolfiny-0.8.0.tar.gz.

File metadata

  • Download URL: dolfiny-0.8.0.tar.gz
  • Upload date:
  • Size: 36.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for dolfiny-0.8.0.tar.gz
Algorithm Hash digest
SHA256 e3dad71f008a8bef68acdb29e81efd4a33b42b228e7c290cd1b8c8aa3a52336b
MD5 5ae0b781b701e12944d6881742fb3f5f
BLAKE2b-256 08fbd2b0936aaaeca0a49cde15bb55b7f83411552297ba360ae4d9a687c01ee2

See more details on using hashes here.

File details

Details for the file dolfiny-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: dolfiny-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 38.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for dolfiny-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1a4ce8d03dd1e2c32987379f44b02ad897cdc236e7ddab33f7e86f7975671311
MD5 9cd0f1059128ce4b31b509d52e2daf1a
BLAKE2b-256 57b2afd4836ad45d32ca9410e733569564582d5582159a16fca534dca155ceef

See more details on using hashes here.

Supported by

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