Skip to main content

A library for fully implicit Runge-Kutta methods in Firedrake

Project description

Irksome

This package works with Firedrake to generate Runge-Kutta methods from a semi-discrete UFL form. We have added a UFL symbol for time derivatives and can produce UFL for the fully discrete method from a semi-discrete form and a Butcher tableau. Several such tableaux are available, and some utility functions for time-stepping and adaptive time-stepping provided the tableau has an embedded lower-order method.

A long-standing critique of fully implicit RK methods, especially for PDE, is that they require a very large algebraic solve for all stages concurrently. However, we can use Firedrake's solver infrastructure to address this issue, and also recover most of the comparative efficiency of DIRK or explicit methods.

The core of Irksome is based on UFL manipulation and so should be adaptable to work with FEniCS or other UFL-based packages, but the current version works only with Firedrake. As such, it requires a working Irksome installation.

To install Irksome you need a working Firedrake installation (instructions can be found here) and then Irksome can be installed by running:

$ pip install --src . --editable git+https://github.com/firedrakeproject/Irksome.git#egg=Irksome

or, equivalently:

$ git clone https://github.com/firedrakeproject/Irksome.git
$ pip install --editable ./Irksome

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

irksome_gadopt-2026.4.0.tar.gz (81.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

irksome_gadopt-2026.4.0-py3-none-any.whl (73.4 kB view details)

Uploaded Python 3

File details

Details for the file irksome_gadopt-2026.4.0.tar.gz.

File metadata

  • Download URL: irksome_gadopt-2026.4.0.tar.gz
  • Upload date:
  • Size: 81.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for irksome_gadopt-2026.4.0.tar.gz
Algorithm Hash digest
SHA256 1223bba01548cd39d97f2b4e13935a71f48557943ecf81f94beabea2f2da2c88
MD5 0ed5085ec4715797e2801c878fbb0499
BLAKE2b-256 a1fdd2132a0d54fe74b11a5f110c38949c1704ad68b541f2c7a4545edb7da098

See more details on using hashes here.

File details

Details for the file irksome_gadopt-2026.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for irksome_gadopt-2026.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 35ea2abb55c976258587152e88fda946d65b6a46e9a3f59dbf91629ad7b73e2f
MD5 7ed6723fbb2942a9398f5496b7805426
BLAKE2b-256 7a3cb5f079ec120ec31117e5b38c891ad87061c72d9085de2e09035a31de81ad

See more details on using hashes here.

Supported by

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