InstallationΒΆ

Install and activate a working Firedrake environment by following the Firedrake installation instructions. Then install Yonderdrake into that environment:

python -m pip install yonderdrake

Install the plotting dependencies at the same time if you want to generate gallery media:

python -m pip install 'yonderdrake[visual]'

Firedrake supplies MPI and PETSc and must be installed separately. See Supported platforms and dependencies for tested versions and platforms, then Quickstart to run something.

Confirm that the active interpreter sees Yonderdrake:

python -c "import yonderdrake"

The demo scripts live in the repository rather than the installed package, so clone it to run those:

git clone https://github.com/TSGut/yonderdrake.git
cd yonderdrake
python demos/fractional_time/caputo_relaxation.py

The caputo_relaxation.py command finishes with a value near u(1.00) = 0.415 and should report zero solver failures. If Python cannot import Firedrake or Yonderdrake, check that installation and execution use the same activated environment.