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.

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

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

Built distribution (wheel)

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

Total release size: 249.1 kB

Release files / yonderdrake-0.1.0a4.tar.gz

Download URL yonderdrake-0.1.0a4.tar.gz
Size 113.8 kB
Tags Source
SHA-256 checksum
How to use checksums
92c7343f5b5431c0448a3dc9233c309ad8fa8850e17b3ccab046820ed48005b4
BLAKE2b-256 checksum
How to use checksums
e97db124b4a8a0bceea7f06deb1429057c1f0d4311dce56ceaff8845d678e3bf
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 1, 2026.

Transparency log

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

Download URL yonderdrake-0.1.0a4-py3-none-any.whl
Size 135.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
987e5b6785108849556f962e92c0417d956792e9fbcedaad4ebad416747574e5
BLAKE2b-256 checksum
How to use checksums
93575e753fc745d323afbac01a3648af21f3eb5cec54f4fb7d8469fb3a42ba5d
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 1, 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