Roadmap

Where the project stands and where it is heading, campaign by campaign.

For

Read

What a user meets today that does not work

Known limits

All open work, cut into packages

Backlog

Features that could be worth having

Ideas

What was built so far

History for milestones 1 to 29, then the milestones

How the project moves

  • The project is built depth-first: one problem solved end to end, then widened one axis at a time.

  • Work is grouped into campaigns. A campaign is cut into packages, which are listed in the backlog. The owner chooses what is worked on. A package is planned in detail by the session that takes it.

  • A milestone is one branch and one pull request: a package, several packages, or a part of a large one. It is done when its tests pass, coverage is at or above 95 % in both languages, numerical results are verified against exact solutions, and the documentation describes the project as it now is.

  • Several sessions can work at the same time, each on a package in a lane of its own. The workflow says how they keep out of each other’s way.

Where it stands

Four campaigns are complete as they were planned: Poisson, time, systems, and coefficients that vary. Boundaries has reached shapes in the plane, and speed has its first three milestones.

Campaign

What it brought

Poisson (M1 to M7)

Poisson’s equation with vacuum conditions: free space in any dimension, periodic directions, disks, balls, cylinders, dielectrics, conductors. The pipeline from a sympy equation to a verified solution, and plans that can be read and changed.

Time (M8 to M12)

Any linear equation with constant coefficients on periodic boxes, screened Poisson equations, heat and waves by exact propagation, nonlinear terms by exponential stepping, and plotting.

Systems (M13 to M16)

Complex unknowns, coupled linear and nonlinear systems, constraints, and the Helmholtz equation with the radiation condition.

Boundaries (M17, M18, M27 to M29, M33 to M36, M38, M40 and M42 to M45, to be continued)

So far: equations of second order in space on boxes, disks, rings, balls, spherical shells and cylinders, stationary and in time, with values, derivatives or a mix of both on each face. On a region of any shape in the plane, bounded by lines and arcs: elliptic equations of second order with coefficients that vary, linear or with a nonlinear term, and heat, waves and Schrödinger in time, also with a density, in a medium, with a potential and with a drift, with terms that are stepped: reactions, a flow that varies, and nonlinear terms with first derivatives.

Speed (M19 to M21, to be continued)

A benchmark for every method, profiles that say where the time goes, faster kernels and transforms, and threads: the large cases take a seventh to two fifths of the time.

Coefficients that vary (M22 to M26)

Any linear stationary equation whose coefficients vary in space, equations with a nonlinear term in the unknown, waves in a medium, and potentials in equations in time, on periodic domains and in free space.

What this adds up to for a user is on the page What is solved where. In short: many equations, on domains that are free, periodic or round, on boxes and round domains with boundary conditions, and on regions of any shape in the plane. No shapes in space yet.

What is open

The largest gaps, in the order in which a user is likely to meet them:

  1. Shapes. In the plane, a region of any shape takes equations for one unknown (A4). In time it holds a few thousand points (C17). In space there are none (A5).

  2. Systems between walls. Reaction and diffusion of several substances is solved (milestone 70), with unknowns that do not diffuse, waves and constraints (milestones 77, 82 to 84). Left: flow, Maxwell in a cavity (A11).

  3. Nonlinear equations in free space, in time. Solitons, fronts (H1).

  4. Eigenvalues. The states of a potential, the modes of a drum (campaign F).

  5. Bodies beyond electrostatics in three dimensions (campaign J).

  6. Everything around a solve. Values between grid points, files, plots in three dimensions, parameters (campaign K).

The complete list is on the page of known limits, and the work that would lift each of them in the backlog.

Campaigns

A campaign is a direction, with a goal that a user would recognise. Its packages, with their sizes and what they need, are in the backlog under the same letter.

A. Boundaries

Goal. Bounded domains with conditions on their edge: the problems of every textbook, and of most applications.

Why. It was the largest gap by far, and it is the one a first visitor runs into. General shapes brought the first discretization that is not spectral on a product of intervals: spectral elements (milestone 33).

Status. The owner chose this campaign (decision D62). Done: A1, boxes (milestone 17). A2, time on boxes (milestone 18). A3, round domains, which the owner chose after campaign D (decision D75): disks and rings (milestone 27), balls and shells (milestone 28), cylinders (milestone 29). A4, shapes in the plane, which the owner gave after the comparison of milestone 32 (decision D33.1): its first part, stationary equations on a region that curves bound, by spectral elements (milestone 33), and its second, linear equations in time in the modes of the shape (milestone 34), its third, any linear elliptic equation of second order (milestone 35), its fourth, nonlinear stationary equations (milestone 36), and its fifth, terms that are stepped in time (milestone 38), and its sixth, a mesh that shrinks towards corners (milestone 40). A10, systems in time on boxes and round domains, each unknown with its own conditions (milestone 70).

Open. The rest of A4: systems, data, derivatives in stepped terms, corners in time. Shapes in space (A5), which need the owner’s word. Beside them, what the first three left: walls together with free directions, operators above the second order, coefficients that vary and nonlinear equations in stationary problems, systems, richer conditions, sectors, and vacuum outside on the new grids (A6 to A21, A24), and curves given by formulas (A22).

Decisions it needs. How a condition on a part of a boundary is written: taken for faces of boxes (decision D63), for the surfaces of round domains (decision D77), and for the pieces of curves (decisions D33.2 and D33.3). Which discretization carries general shapes: taken (decision D32.6), after the comparison of milestone 32. It is spectral elements on quadrilaterals that are made from a triangulation, with faer for sparse factorizations and spade for the triangulation. Open for A5: which iterative solver takes the place of a factorization in space.

What it unlocks. Campaigns D and F on bounded domains. Most of what the vision calls “all classes of PDEs” needs it.

B. A first release

Goal. pdemagic can be installed with one command, by anyone. The project is closed: all rights are reserved (decision D39.1), and what is published are binaries, free to use (decisions D41.1 and D41.2).

Why. Until then nobody but the owner uses it, and nothing that users would say can shape it.

Status. Milestone 41 made version 0.1.0: packages for Linux, macOS and Windows, with their terms of use, a page of changes that says what a version number promises, and a workflow that builds, tests and publishes a version from a tag. It was published on PyPI on 2026-11-19. The steps for the next version are in the workflow.

Decisions it needs. The terms of the versions after 0.1.x, which the owner left open (decision D41.2).

C. Speed

Goal. Problems in three dimensions at the sizes people want, in the time they are willing to wait.

Status. The owner chose C1 to C3 (decision D66). All three are done, as milestones 19 to 21: a benchmark for every method, faster kernels and transforms, and threads. The large cases take between 0.14 and 0.41 of the time they took, on four cores. The timings, the profiles and the targets are in benchmarks.md.

Open. Generated kernels (C4), fast boundary elements (C5) and time on shapes beyond a few thousand points (C17) are the large ones. Beside them, what the benchmarks found (C6 to C14, C16).

Later. Distributed memory and GPUs, once threads are exhausted.

Decisions it needs. The library for threads: taken, rayon (decision D69). How kernels are generated: a compiler backend as a dependency, or code that is specialised at build time.

D. Coefficients that vary, and nonlinear stationary problems

Goal. Stationary equations beyond constant coefficients: media that vary, and equations that are nonlinear.

Status. The owner chose this campaign (decision D70). D1 to D4 are done, as milestones 22 to 26: linear equations with coefficients that vary, Newton’s method, waves in a medium, and coefficients that vary in equations in time with free directions.

Open. Derivatives in nonlinear terms, branches of solutions, coefficients that do not settle, and a grid that is judged on the solution (D5 to D10). On domains with walls, coefficients that vary in a stationary equation are taken (A8, milestone 63), and so are a nonlinear stationary equation (A9, milestone 64), a mixed derivative on a box (A7, milestone 65), the plate equation (A7, milestone 66), and the modes of all of them (milestone 67).

E. Other languages and interfaces

Goal. The core serves more than Python, as the vision asks: a C interface (E1), C++ (E2) and Julia (E3) on top of it, a command line application (E4), a GUI (E5).

Decisions it needs. The symbolic frontends in C++ and Julia. File formats for problems and results (E6).

F. Eigenproblems

Goal. Eigenvalues and eigenfunctions of operators, towards the Kohn–Sham equations that the vision names: the lowest states of an operator (F1), the modes of bounded domains (F2), self-consistent problems (F3), bands (F4).

Status. The owner put F1 and then F2 after the small packages K6, K7 and K1 and two parts of A4 (decisions D33.1 and D46.1). The first part of F1 is done (milestone 55): the problem description has an eigenvalue, the solution has eigenvalues, and the lowest states of a potential are found on a periodic domain. So is the second (milestone 56): bound states in free space, on a box that the planner finds. The first three parts of F2 are done as well: the modes of a shape in the plane (milestone 57), from the sparse stationary solve, with holes and corners (milestone 58), the modes of boxes with walls and of round domains (milestone 59), and many modes at once (milestone 60). Milestone 61 closed what F1 and F2 both left where it could be closed: a potential that leaves the modes of a box or a round domain separate, with hydrogen in a ball. What is left of F2 waits for other packages: a potential that couples the coordinates between walls for A8, and Maxwell’s equations as an eigenproblem for a vector for campaign G.

G. Vectors and tensors

Goal. Systems whose unknowns are vectors and tensors, towards the Einstein field equations that the vision names. This is the furthest campaign, and builds on A, C and D.

A first step is close, and useful on its own: vector unknowns and vector calculus in the frontend (G1), so that Maxwell’s equations are written with a curl, and not as six equations for six components.

H. Equations in free and periodic space

Goal. What the campaigns for time and for systems left open: nonlinear terms in time with free directions, operators of higher order there, systems that are stationary or diffuse, classification block by block, cells that are not rectangular, sources that are not smooth.

J. Bodies

Goal. Bodies with sharp surfaces beyond electrostatics in three dimensions: in two dimensions, in periodic settings, touching, with other equations around them, and with elements of higher order.

K. Input, output and plots

Goal. Everything around a solve: parameters, more of sympy, data on other grids, values between grid points, files, plots in three dimensions.

L. Trust

Goal. An answer, and a refusal, that are easy to rely on: no silent assumptions, messages that say what would work, estimates of the error.

P. The project itself

Goal. A repository that several sessions can work in: smaller files, checks that take little time (done, milestone 31), and pages for users by field of application. And a core in which an algorithm is written once, for every kind of domain (decision D72.1): done, with milestones 72 to 76.

The order

The owner decides. So far: A1 and A2, then C1 to C3, then D, then A3, and A0 to prepare shapes. All are done.

What comes next, by the owner’s word (decisions D33.1 and D46.1):

  1. K6, K7 and K1: values of a solution anywhere, saving and loading, plots in balls and cylinders. Small, and what a user notices first. Three parts of K6 are done (milestones 46, 47 and 51): values anywhere on a region of the plane, on periodic domains, and on boxes, disks and cylinders with boundary conditions, and the integral of a solution over its domain. Two parts of K7 are done (milestones 48 and 50): a solution is saved to a file and loaded again, and handed to xarray and to ParaView. So is the first of K1 (milestone 49): sections of balls and cylinders.

  2. A4, shapes in the plane: arrays as data, then systems. Thirteen parts are done: stationary equations, linear and nonlinear (milestones 33, 35 and 36), equations in time, propagated, also with a density, in a medium, with a potential and with a drift, and stepped, also with first derivatives (milestones 34, 38 and 42 to 45), a mesh that shrinks towards corners (milestone 40), arrays as data (milestone 52), and systems, in time and stationary (milestones 53 and 54). With that, what the owner named of A4 is done.

  3. F1, then F2: eigenvalues and eigenfunctions, and the modes of bounded domains. Two parts of F1 are done (milestones 55 and 56): the lowest states of a potential on periodic domains and, bound, in free space. Left of F1 is hydrogen, whose potential has a singularity, and operators with first derivatives.

The first release, version 0.1.0, went before these by the owner’s word (milestone 41). No further version is published for a long time (decision D46.1): what is merged collects on the page of changes.

After milestone 67 the owner named the next packages (decision D67.4): P3, the defects that the rebuild of the documentation found in the package, which is done (milestone 69), then A10, reaction and diffusion between walls, which is done as well (milestone 70), then H3, dispersion of higher order in free space, which is done in time (milestone 71). With that the three are done, and what comes next is the owner’s to say.

After the review of the architecture the owner put the joining of the paths of the core next (decision D72.1). Done: Newton’s method and the control of the step written once (milestone 72), one driver in time over the modes (milestone 73), and on that driver A14, nonlinear waves between walls (milestone 74). The third step, Fourier waves as a space beside the modes, did not hold when the Fourier side was read against it, and the owner cut it to what the two sides do alike (decision D75.1). That and the first part of one reading of an equation (P7) are done (milestone 75): which path takes a problem is one table. The rest of P7 is done as well (milestone 76): a system on a domain with modes is read once. With that the steps are done, and what comes next is the owner’s to say. A23 is done (milestones 77 and 82 to 84). A5 needs the owner’s word.

For further sessions beside this order, the table “What can start today” in the backlog lists a first package for every lane. Most textbook problems that are still refused are in the lanes of walls and of time: A12 and H2.

Standing work

Alongside every package: the documentation for users, the benchmarks, the record of the milestone, and the pages of limits and backlog.