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 fractional-in-time derivatives with various methods including static memory diffusive representations, full-history stepping along with additional implementations from the literature for easy comparisons.
  • General single-timescale exponential memory operators, including a convenience wrapper for the Caputo-Fabrizio operator.
  • Homogeneous-Dirichlet spectral, zero-exterior Riesz, and periodic Fourier fractional Laplacians.
  • 2D and 3D Caputo-Wismer waves with heterogeneous density, driven sources, impedance boundaries, PML, configurable sensor arrays, exact adjoints, time reversal, and regularized reconstruction.
  • Variable timesteps, PETSc solver configuration, MPI execution, and checkpoint/restart.
  • Compatibility with Irksome for classical time stepping alongside Yonderdrake operators.

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.

Logo

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.0a3

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.0a3
File Size Uploaded
yonderdrake-0.1.0a3.tar.gz 108.7 kB Details

Built distribution (wheel)

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

Total release size: 238.9 kB

Release files / yonderdrake-0.1.0a3.tar.gz

Download URL yonderdrake-0.1.0a3.tar.gz
Size 108.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1356c589fa62d2385fd2848fea4c5d366a30618496cac9c2f326d692443a71bb
BLAKE2b-256 checksum
How to use checksums
53966f3a2b8c427adf642d6455484b2aff5f846aa3de0d577ddb7ec5b64fc9f8
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 Aug 6, 2026.

Transparency log

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

Download URL yonderdrake-0.1.0a3-py3-none-any.whl
Size 130.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7790b04730458718ebf29f7499d43a9da130d087fab24e70a71410ffa4f5603a
BLAKE2b-256 checksum
How to use checksums
b9f9e9bc29805e592e999fbf3fdc197182f7cad793e8f3e5a1ede677da976093
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 Aug 6, 2026.

Transparency log
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