Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Yonderdrake

Yonderdrake

Fractional in time, space and other nonlocal operators for Firedrake

Tests Documentation PyPI DOI MIT License

Alpha software: Yonderdrake has been broadly tested, but bugs and missing features may remain. Please report them as issues.

Yonderdrake adds various fractional time derivatives, fading-memory operators, and spatial fractional Laplacians directly to UFL forms solved with Firedrake. Time- and space-nonlocal operators can also be combined in the same equation.

The eventual goal is to gather all FEM-compatible methods for fractional differential equations in one place, so that comparing or switching between them does not mean rebuilding the problem each time.

Features

  • Caputo and initialized Riemann-Liouville time derivatives with full-history stepping, direct convolution quadrature or static memory with $O(m)$ storage.
  • Single-exponential memory, including a labelled Caputo-Fabrizio operator.
  • Spectral (Dirichlet or Neumann), zero-exterior Riesz, and periodic Fourier fractional Laplacians, each with its corresponding boundary or exterior realization. The Riesz operator supports CG1 and CG2 on triangular 2D and tetrahedral 3D meshes.
  • Direct 2D and 3D Caputo-Wismer wave support for power-law attenuation, with heterogeneous density, volume and boundary sources, impedance boundaries, PML, user-defined sensor arrays, exact adjoints, time reversal, and regularized inverse reconstruction.
  • Variable steps, MPI, PETSc options, and checkpoint/restart.
  • Spatial fractional operators combined with Irksome for classical time integration.

Examples

The demo scripts live in this repository rather than the installed package, so clone it to run them yourself.

Fractional time

Three sources in a BrainWeb anatomical head with material-dependent Caputo-Wismer damping:

Three sources in a BrainWeb anatomical head with fractional damping

Recovering a vessel-shaped initial pressure from measurements around a realistic head. The first two panels compare the true source with its reconstruction. The third shows the pressure recorded by the sensor array:

Vessel-shaped source, reconstructed pressure, and exterior sensor measurements in a BrainWeb head

Fractional space

Classical, spectral-fractional, and Riesz heat flow on a Koch snowflake:

Classical, spectral-fractional, and Riesz heat flow on a Koch snowflake

See the guides and examples for small, reproducible problems and the demo gallery for the full applications.

Installation

Create a Firedrake environment, then install into it:

python -m pip install yonderdrake

Add the plotting dependencies to run the gallery demos or regenerate their media:

python -m pip install 'yonderdrake[visual]'

Firedrake supplies MPI and PETSc. See supported platforms.

Documentation

Start with the quickstart, then the guides and examples. The mathematics and methods summarize the supported algorithms and the papers behind them. The API reference gives exact signatures and restrictions.

Contributing

See CONTRIBUTING.md for what a numerical change should include. LLM-assisted contributions are welcome in principle and are held to the same standards as all others. The human author remains responsible for the code they submit.

The logo nods to the long memory of time-fractional operators: a fractional derivative still feels the entire history that preceded it. The logo dragon is inspired by the Lindwurmbrunnen in Klagenfurt, Austria, drawn in a viridis-like colour scheme.

Metadata

Release files for yonderdrake 0.1.0a5

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

Source distribution (sdist)

Source distribution for yonderdrake 0.1.0a5
File Size Uploaded Provenance Actions
yonderdrake-0.1.0a5.tar.gz 113.6 kB With provenance Details for yonderdrake-0.1.0a5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for yonderdrake 0.1.0a5
File Interpreter ABI Platform Actions
yonderdrake-0.1.0a5-py3-none-any.whl Python 3 none any Details for yonderdrake-0.1.0a5-py3-none-any.whl

Total release size: 249.0 kB

Release files / yonderdrake-0.1.0a5.tar.gz

Download URL yonderdrake-0.1.0a5.tar.gz
Size 113.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4b301d01cbe10e66db72a2915ec81ee69b9edf59c359482c5cf3c0c18ae30e17
BLAKE2b-256 checksum
How to use checksums
7151f1efa0094e35f1cd35aa16ee607b769341f30e5321211abb8a0caecbe992
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 17, 2026.

Transparency log

Release files / yonderdrake-0.1.0a5-py3-none-any.whl

Download URL yonderdrake-0.1.0a5-py3-none-any.whl
Size 135.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ed94f0d8ac5c86209b8cf434551631bad8cc45ccfa27bf339ec96599ed5e2bc
BLAKE2b-256 checksum
How to use checksums
f8258e77346c79da12c96c4770d68399bf43fe083d97bfad9ff802b1be32359a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 17, 2026.

Transparency log

Security for yonderdrake 0.1.0a5

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for yonderdrake-0.1.0a5.tar.gz

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 Oct 17, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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