Backlog

All open work, cut into packages that one session can take. The roadmap says where the project is heading and why. The known limits say what a user meets today. This page says what there is to do, how large each piece is, and which pieces can be worked on at the same time. Thoughts that are not yet packages are on the page of ideas.

How to read it

A package is a piece of work with a result that stands on its own. It has an identifier that does not change: the letter of its campaign and a number. A milestone, which is one branch and one pull request, delivers one package or several: small and medium packages of one lane may be bundled (decision D31.3). Large ones are cut into milestones by the session that takes them, as campaign A3 became milestones 27 to 29.

Campaign D shares its letter with the decisions. A decision is always written with the word: “decision D5”. D5 alone is the package.

Size. S is a small pull request: a few hundred lines with their tests. M is a milestone like most so far: a new capability with its method page, benchmarks and verification. L is several milestones.

Lane. The part of the code where a package does most of its work. Two packages in different lanes can be worked on at the same time. Two in the same lane collide, unless their entries name different files. The lanes:

Lane

Files

walls

bounded.rs, bounded_evolution.rs, methods/collocation.rs, methods/round.rs, methods/cylindrical.rs

shapes

curve.rs, mesh.rs, shaped.rs, shaped_evolution.rs, methods/elements.rs, python/pdemagic/curves.py

stationary

analysis.rs, varying.rs, methods/fourier.rs, methods/helmholtz.rs, methods/preconditioned.rs, methods/harmonics.rs, methods/cylinder.rs

time

evolution.rs, methods/propagator.rs, methods/exponential.rs

systems

system.rs, methods/coupled.rs, methods/coupled_stepping.rs

bodies

surface.rs, methods/boundary.rs, python/pdemagic/shapes.py

eigen

New code for eigenproblems

kernels

expr.rs, fft.rs, grid.rs, quadrature.rs

planner

planner.rs

frontend

python/pdemagic/, crates/pdemagic-py/

interfaces

New crates: a C interface, a command line application

project

CI, scripts, packaging, pages that describe no method

Every package also touches the files that all share: problem.rs, plan.rs, solve.rs, the Python frontend, the pages of what is solved where. How to keep those changes from colliding is in the workflow.

Needs. What must be there before a package starts: another package, or a decision. “Owner” means the owner’s word, and such a package does not start without it.

Who is working on what is not written here. It is the list of open pull requests: a session claims a package by opening one, as the workflow describes. A package that is done is removed from this page, and its milestone’s record says what was built.

What can start today

Most packages need no decision and no other package: every one whose “Needs” is empty. The table is the developer’s suggestion of where to begin in each lane: the packages that give the most for their size. One session per lane can work at a time. Which of them start is the owner’s choice.

Lane

Suggested first

Then

walls

A12: a mix of value and slope that varies along a face. Systems in time between walls are done, with constraints (milestones 70, 74, 77, 82 and 83)

what is left of A7, A24

shapes

C17: corners in time. Arrays as data and systems are done (decision D46.1, milestones 52 to 54)

C16, A22

stationary

A19: vacuum outside on the new grids

D5, D8, C8

time

H2: coefficients in front of second derivatives, in time with free directions. Dispersion of higher order in free space is done (milestone 71)

C6, H1, C19

systems

H8: third order in time

H4, C10

bodies

C5: fast boundary elements

J1, J3

eigen

F1: a magnetic field, a medium and a weight on Fourier grids. Hydrogen is solved in a ball, four parts of F2 are done, and a potential that couples the coordinates between walls is solved by an iteration on the solve of milestone 63 (milestones 55 to 61 and 67)

F2, F4

frontend

K6: what is left of it, then K7 and K1 (decision D46.1)

G1, K5

planner

C14: a less cautious resolution

L2, L3

project

P2: pages by field of application

C22, C23

The owner put the steps that join the paths of the core before the next packages (decision D72.1). They are done (milestones 72, 73, 75 and 76), with the third cut to what Fourier grids and the modes do alike (decision D75.1). A14 is done on the driver of milestone 73 (milestone 74), for walls, round domains and shapes at once. A23 is done as well (milestones 77 and 82 to 84). A5 needs the owner’s word, as before.

For the owner to decide

Question

Blocks

Which packages come next: those of decision D67.4, P3, A10 and H3, and the steps of decision D72.1 are done (milestones 69 to 76)

Whether the method of a plan becomes a discretization and a solver, which changes the plan as users see it

P8

When a version after 0.1.0 is published: not for a long time (decision D46.1)

Under which terms the versions after 0.1.x may be used (decision D41.2)

the first version that is not 0.1.x

How kernels are generated: a compiler backend as a dependency, or code specialised at build time

C4

The symbolic frontends in C++ and Julia, and the file formats for problems and results

E2, E3, E6

Whether a disk, a ball or a cylinder without boundary conditions should still mean vacuum outside, or whether vacuum must be said

L1

Settings of the repository that only the owner can make: see workflow

A. Boundaries

The campaign of decision D62. A1 to A3 are done (milestones 17, 18, 27 to 29), and thirteen parts of A4 (milestones 33 to 36, 38, 40, 42 to 45 and 52 to 54).

Package

Size

Lane

Needs

A4

Shapes in the plane: what its first thirteen parts left

L

shapes

A5

Shapes in space

L

shapes, bodies

A4

A6

Walls along some directions, free space along others

M

walls, stationary

A7

Boxes: what its first part left of mixed derivatives, and equations above the second order

M

walls

A8

Boxes and round domains: what its first part left of coefficients that vary in stationary equations

S

walls

A9

Boxes and round domains: what its first part left of nonlinear stationary equations

S

walls

A11

Systems on boxes and round domains that couple in the operator, and stationary ones

L

walls, systems

A12

Conditions with coefficients that vary over a face, or derivatives along it

M

walls

A13

Conditions with a derivative in time: walls that let waves out

M

walls

A15

Round domains: drift, anisotropy, derivatives in stepped terms

L

walls

A16

Sectors, wedges and parts of balls

M

walls

A17

Thin boundary layers on boxes

M

walls

A18

Data on a face alone, and the values on faces as part of the solution

M

kernels, frontend

A19

Vacuum outside on the grids of milestones 27 and 28

M

stationary

A20

A spectral method for the cylinder with vacuum outside

M

stationary

A21

Dealiasing of stepped terms at Chebyshev points

S

walls

A22

Curves given by formulas, and ellipses that are turned

S

shapes

A24

Conditions that hold several unknowns of a system, and what else systems in modes refuse

M

walls, shapes, systems

  • A4. A domain bounded by closed curves, with conditions on the pieces of them. Its first part is done (milestone 33): stationary equations \(a \nabla^2 u + c\,u = f\) by spectral elements, with a value, a slope or a mix on each piece. Its second part is done as well (milestone 34): linear equations in time, heat, waves and Schrödinger, propagated exactly in the modes of the shape. So is its third (milestone 35): any linear elliptic equation of second order, and its fourth (milestone 36): nonlinear stationary equations. Its fifth (milestone 38): terms that are stepped in time. Its sixth (milestone 40): a mesh that shrinks towards corners. Its seventh (milestone 42): first derivatives in terms that are stepped, drift among them. Its eighth (milestone 43): a medium and a potential in time, in the modes. Its ninth (milestone 44): a density. Its tenth (milestone 45): a drift with constant coefficients in the modes. Its eleventh (milestone 52): arrays as data. Its twelfth (milestone 53): systems in time. Its thirteenth (milestone 54): stationary systems. The owner gave the whole package (decision D33.1). Left, as further milestones:

    • More operators in the modes. In time the modes are those of \(\nabla\cdot(\varepsilon\nabla u)/\rho + c\,u\) (milestones 43 and 44), and a drift with constant coefficients is written so (milestone 45). One more operator is symmetric and would fit: a medium that differs by direction, with a symmetric matrix inside the divergence. It needs the flux through the boundary that belongs to the matrix, which a condition on the slope along the normal is not. A density beside a damping, \(\rho\,u_{tt} + \gamma\,u_t\), has the modes too, with a damping that varies from mode to mode once it is divided by the density: it is left. A drift is written with a density only where its coefficients are constant, nothing else stands inside or in front of the second derivatives, and it is weaker than 24 against the diffusion across the shape. Every drift that is the gradient of a function, times the medium, could be written so, also beside a medium. A drift that is stronger would need the modes of the operator as it is, which is not symmetric. A medium that changes in time would need the weak form of a second derivative in a stepped term, with what the boundary adds to it.

    • Corners in time. The mesh shrinks towards the corners at which a stationary solution has a singularity (milestone 40). In time it does not: the layers add more points than the dense modes hold (C17).

    • Systems. Stationary equations of second order for one unknown are done: linear ones with drift, a medium, a potential, directions that differ and coefficients that vary (milestone 35), and ones with a nonlinear term, by Newton’s method (milestone 36). In time, systems of equations of first order are stepped (milestone 53). Stationary systems are solved with a block for each pair of unknowns, and with Newton’s method (milestone 54). Left: systems of second order in time. Second derivatives of two unknowns in one equation: cross-diffusion, which needs the flux of one unknown in the condition of another. Unknowns without a derivative in time, which a constraint fixes. Conditions on the boundary that hold several unknowns, such as a plate that is clamped. A stationary system that is fixed up to constants. A mesh that shrinks towards the corners of every unknown, where they differ. In time, directions that differ need modes that are not orthogonal, or stepping.

    • Data. Arrays are data on a shape (milestone 52), read between their points to the sixth order. Left: reading them spectrally where the grid allows, derivatives of an array, and arrays on different grids in one problem (K3).

  • A5. The same in space, with the shapes and meshes that bodies use. Exterior problems meet J4 here.

  • A6. A channel, a slab between plates, a half space. Along the bounded directions the modes of milestone 17, along the free ones the kernels of free space: for each mode the equation in the free directions is a screened Poisson equation. Verify against images of a point-like source between two plates.

  • A7. Three parts are done. A mixed derivative in a stationary equation on a box, as one more term of the iteration of milestone 63 (milestone 65). The plate equation \(a\,\nabla^4 u + b\,\nabla^2 u + c\,u = f\) with two conditions on each face, as two equations of second order that are joined on the faces (milestone 66). And the modes of both, by an iteration on the stationary solve (milestone 67). Left of the mixed derivative: in time and on a round domain, and a preconditioner that holds it, for equations close to where they stop being elliptic. Left of the plate: a free edge with its corners, its motion in time, coefficients that vary, and in space an iteration in the place of the dense matrix. And an equation without a second derivative along a bounded direction. The owner set these aside for P3, A10 and H3 (decision D67.4).

  • A8. Its first part is done (milestone 63): a stationary equation on a box whose coefficients vary, a medium, a potential, a drift, by the iteration of milestone 22 with the solver of the domain as its preconditioner, and on a round domain a term without derivatives that varies. Left: a coefficient from an array, and a solution that is fixed up to a constant. In time these terms are already stepped.

  • A9. Its first part is done (milestone 64): Newton’s method on the iteration of A8, for a term that is a function of the unknown and of the position. Left: a linear part that leaves the constant open, for which the mean of the slope would have to join the reference operator, and an array in the term or in the starting value.

  • A11. Systems whose operator couples the unknowns: Stokes flow in a box, Maxwell in a cavity. Needs conditions that mix unknowns. To be cut further. Systems in time that couple through stepped terms are done (milestone 70, which was A10): each unknown has its own operator and conditions, on boxes and on round domains. Stationary systems between walls belong here as well.

  • A24. What A23 left of systems in time in the modes of a domain (milestones 70, 77 and 82 to 84). A condition on the boundary that holds several unknowns, as no flux of ions that drift in a potential, \(D\,\partial_n n + n\,\partial_n\varphi = 0\): the modes of an unknown then depend on the others. A constraint whose operator has a mode that it maps to zero, with the mean left open as on a periodic domain. Several constraints that hold each other’s unknowns. Between walls, an unknown that diffuses along some directions with faces alone. And an unknown without a derivative in space whose equation is of second order in time, an oscillator at every point.

  • A12. \(a(\mathbf{x})\,u + b(\mathbf{x})\,\partial_n u = g\) on a face, and conditions with derivatives along the face. The elimination of face values of milestone 17 no longer separates by axis.

  • A13. \(u_t + c\,u_n = 0\) on a face. The condition enters the propagation in time, not the modes of the axis.

  • A15. On disks, balls and cylinders: a drift, different coefficients along different directions, derivatives in terms that are stepped (Burgers on a disk), and derivatives that the user wrote out in polar coordinates. Needs derivatives of fields in the modes of round domains, which Modes::differentiate refuses today. To be cut further.

  • A16. Domains that cover a part of the angles. An angle becomes a bounded direction with faces of its own.

  • A17. Drift that dominates diffusion is refused when the modes of an axis lose more than eight digits. A second way to solve along an axis: a direct solve in place of modes, or points that are mapped towards the layer.

  • A18. A boundary value as an array on the face, on a grid of one dimension less. The solution arrays with the faces included, or the face values beside them. Touches problem.rs, grid.rs and the Python classes of domains.

  • A19. A disk or a ball with vacuum outside is a condition for each harmonic on the rim. With it, the grids and the methods of milestones 27 and 28 serve the vacuum problem too: screened and Helmholtz equations, problems in time, rings and shells, complex sources. Whether it replaces the method of milestone 4 is decided when both can be compared.

  • A20. The cylinder with vacuum outside is of second order, and its surface integral costs \(N^5\). A spectral method on the grid of milestone 29 would also end the two grids for one shape (decision D79).

  • A21. Quadratic and cubic terms alias at Chebyshev points. Pad the transform along bounded axes, as is done along periodic ones.

  • A22. A piece of a curve as two formulas of a parameter, for any smooth boundary, and an arc of an ellipse whose axes do not lie along the coordinates. The mesh needs points of a piece only, so the expressions of the core serve.

B. A first release

B1 to B4 are done (milestones 32 and 41): version 0.1.0 is on PyPI since 2026-11-19, as binaries for Linux, macOS and Windows, free to use and not to pass on (decisions D41.1 to D41.4). How a version is cut is in the workflow.

Package

Size

Lane

Needs

B5

What the review of the interface found and left as it is (decision D41.6): one name for two things in pdemagic and pdemagic.shapes, radius and radii, a Solution that anyone can construct, a problem that is written as JSON and not read

S

frontend

Owner, before 1.0

B6

The package for Linux on ARM is tested before it is published

S

project

B7

A package for Linux with musl, and one for Windows on ARM

S

project

C. Speed

C1 to C3 are done (milestones 19 to 21). A package that changes timings on purpose is the only one that may save the whole baseline: see the workflow.

Package

Size

Lane

Needs

C4

Generated kernels in place of interpreted expressions

L

kernels

Owner

C5

Fast boundary elements

L

bodies

C6

Real transforms in propagation and stepping

M

time

C7

Real matrices for the modes of real problems on boxes

S

walls

C8

A kernel on a box of twice the grid, kept for repeated solves

M

stationary

C9

Arrays that are reused from step to step of an iteration

S

stationary

C10

The small matrices of systems: on all threads, and in blocks

M

systems

C11

A setting for the number of threads

S

frontend

C12

Round domains with conditions: faster transforms and tables

M

walls

C13

A faster transform to spherical harmonics

M

stationary

C14

A criterion for the resolution that is less cautious

S

planner

C16

Spectral elements: the sparse factorization on several cores, and for symmetric matrices of both signs

M

shapes

C17

Time on shapes beyond a few thousand points

L

shapes

C19

Automatic grids beyond 512 points along a side, and a cheaper bound on the travel in three dimensions

S

planner, time

C22

The checks of CI, once for a state of the sources

S

project

Owner

C23

The tests of Rust and of Python in two jobs of CI, each with its coverage

S

project

Owner

  • C4. Sources, nonlinear terms and the matrices of systems, compiled in place of interpreted. The interpreter takes 40 to 50 % of a stepped solve, and reaction_tile has not moved since milestone 19.

  • C5. A tree code or fast multipoles with an iterative solve, in place of the dense matrix that stops at 12 000 triangles.

  • C6. Halves time and memory of the propagators for real fields, as milestone 20 did for the stationary solvers.

  • C7. A target of milestone 20 that was not reached.

  • C8. About 2.5 times on the transforms of repeated solves in free space, and the remedy for coarse grids in four dimensions.

  • C9. Each derivative allocates a padded array, and lens_2d spends half its time in copies.

  • C10. maxwell_2d and gray_scott compute their matrices wave by wave on one thread. Computed in blocks, they also need no budget that refuses large systems.

  • C11. In the plan and from Python. Today only the environment variable of rayon sets it.

  • C12. What the benchmarks of milestones 27 to 29 found: the radial transforms of cylinders are plain loops, the tables of harmonics are computed again at every measure of the spectrum, and a stationary solve on a disk computes all modes where one factorization per wave would do.

  • C13. The transform costs \(N^4\). Serves the vacuum method of milestone 4 and the balls of milestone 28.

  • C16. Its first half is done (milestone 40): the points inside elements are eliminated on all cores, with the library’s matrix product. So is its second (milestone 62): a real problem is solved in real numbers, and a matrix that is symmetric and of one sign by Cholesky’s method, at a third of the time and of the memory. Left: the sparse factorization runs on one core. The library has threads for it, and what is to be shown is that the bits do not depend on their number (decision D69). A symmetric matrix of both signs, as of the Helmholtz equation, is factorized as a general one: the library’s factorization with pivots on the diagonal is reached through its low-level interface only. A system on a shape is solved in complex numbers as before. Sampling the solution on the grid takes a fifth of a solve.

  • C17. What milestone 34 found. The modes of a shape come from a dense eigenproblem: 3 500 points take seconds, 6 000 over half a minute and 1.2 gigabytes, and that is where it ends. A pulse on a region wants ten times the points. The operator itself is cheap to apply, element by element, at any size. So: propagation that needs products with the operator only, by a Chebyshev or Krylov expansion of the exponential and of the cosine, with as many terms as the fastest mode turns within the step. For heat, whose fast modes die, a rational expansion with the sparse factorization of milestone 33. Smaller steps on the way: the eigendecomposition on all cores, which needs faer with threads and a check that the bits stay the same, and modes that are kept between solves of one shape. Verify against the dense modes. Since milestone 58 the elements factorize an operator once for many right-hand sides (Elements::factor), which the rational expansion needs.

  • C19. What milestone 71 found. A solution with dispersion fills a box that grows with the time span, and the candidates of the planner end at 512 points along a side, whatever the dimension: on the line 4 096 would cost nothing. And the bound on the travel evaluates the symbol of the operator for every wave of what is given, once for each decay and each face. In three dimensions that is as long as the propagation. The waves that decide are few: those at the edge of the band, and the largest. A coarser set of waves with a proof that it is enough.

  • C22. After a merge, CI runs all of its checks on main once more, for 17 minutes, though the pull request was up to date with main and so was checked in the very state that the merge made. To skip that run is to trust that rule. The run blocks nothing, and it is the only check of a push that did not come from a pull request, so it is the owner’s to decide.

  • C23. What milestone 80 found. The job of the tests in CI has two cores, and takes about ten minutes: four to build with the counters, and then the tests of Rust and of Python one after the other. The tests that are left are heavy for what they assert: nearly all of the slowest let the planner choose on a shape, or assert an order over several resolutions. So the next halving is two jobs side by side, each with a floor of its own: the tests of Rust for the core, and the tests of Python for the frontend and the binding. Today the figure of Rust includes the lines that only tests of Python reach (decision D6), so this changes how the floor is measured, and is the owner’s to decide. To keep one figure, the profiles of two jobs would have to be joined, which needs both builds in one place.

  • C14. The planner chooses about twice the points per direction that the tolerance needs: eight times the points in three dimensions.

D. Coefficients that vary, and nonlinear stationary problems

D1 to D4 are done (milestones 22 to 26). On domains with walls, the same is A8 and A9, whose first parts are done (milestones 63 and 64).

Package

Size

Lane

Needs

D5

Derivatives of the unknown in nonlinear stationary terms

M

stationary

D6

Following a solution as a parameter changes, and finding more than one

L

stationary

K4

D7

Coefficients that do not settle to one constant

L

stationary

D8

A box and a grid that are judged on the solution

M

stationary, planner

D9

Nonlinear waves

M

stationary

D10

Media that trap waves

M

stationary

  • D5. \(u\,u_x\) and \(\lvert\nabla u\rvert^2\) in Newton’s method: the linearization then holds derivatives with coefficients that vary, which milestone 22 solves. Also equations without a linear term, and terms that are not differentiable in the complex sense.

  • D6. Continuation along a branch, and detection of turning points. Needs parameters in the problem description.

  • D7. A potential step with different constants at the two ends, a medium that is periodic far away, coefficients that vanish towards free faces. To be cut further.

  • D8. Solve on a trial grid, look at the spectrum of the solution, and enlarge the box or refine. Today both are judged on what is given.

  • D9. A nonlinear equation that is a Helmholtz equation far away is refused, because nothing verifies it yet. Needs an exact solution to test against.

  • D10. The iteration of milestone 24 stalls near a resonance of the medium. A better preconditioner, or deflation of the trapped modes.

E. Other languages and interfaces

Package

Size

Lane

Needs

E1

A C interface

M

interfaces

E2

C++

M

interfaces

E1, Owner

E3

Julia

L

interfaces

E1, Owner

E4

A command line application

M

interfaces

E6

E5

A GUI

L

interfaces

E4

E6

File formats for problems and results

S

interfaces

Owner

  • E1. The pipeline that Python uses, as functions with a C calling convention: problems and plans as JSON, fields as plain arrays, clear rules for who owns memory, a generated header.

  • E4. A problem in a file in, fields in a standard format out. The problem description is JSON already.

F. Eigenproblems

Package

Size

Lane

Needs

F1

The lowest states of a linear operator: what its first two parts left

M

eigen

F2

The modes of a drum, a cavity, a waveguide

M

eigen, walls, shapes

F1

F3

Self-consistent problems: Hartree, then Kohn–Sham

L

eigen

F1

F4

Bands of a periodic potential

M

eigen

F1

  • F1. Eigenvalues and eigenfunctions of a Schrödinger operator with a potential, by an iteration on the operators that exist. Brings a new kind of problem to the problem description (an eigenvalue as an unknown), a new kind of result, and the way to write both in sympy. Verify against the harmonic oscillator, the well \(-1/\cosh^2 x\) and hydrogen. The owner put it after the small packages K6, K7 and K1 and two parts of A4 (decisions D33.1 and D46.1). Its first part is done (milestone 55): the lowest eigenvalues of \(-\sum a_i\partial_i^2 + V\) on a domain that is periodic in every direction, by a block iteration on a Fourier grid, with the eigenvalue in the problem description and the eigenvalues in the solution. Its second part is done as well (milestone 56): bound states in free space, on a box that the planner finds from the potential, with a preconditioner that knows the potential. Left, as further milestones:

    • Hydrogen in free space. In a ball it is solved (milestone 61): a potential of the radius leaves the modes of a round domain separate, and the states are smooth in spherical coordinates. In free space, on a uniform grid, a potential with a singularity still needs the singularity taken off analytically. A ball without a wall, with the condition of a bound state on its surface, would serve the same end.

    • More operators. First derivatives with an \(i\) in front, as a magnetic field brings: a Hermitian operator and complex eigenfunctions. A medium inside the second derivatives. A weight beside the eigenvalue.

    • Speed. Vectors that have converged left out of the iteration. A plan of the user’s solved from coarser grids, as the planner does.

    • Other eigenvalues. Those nearest to a given value.

  • F2. On boxes and round domains the modes of each axis are computed already (milestones 17, 27 to 29), and on a region of the plane the modes of the shape (milestone 34), up to a few thousand points (C17). What is missing is the way to ask for them, and operators that do not separate. Its first part is done (milestone 57): an eigenproblem on a region of the plane returns the lowest modes of the shape, with a medium, a potential and a density. So is its second (milestone 58): the lowest modes come from the stationary solve, by inverse iteration on a block with one sparse factorization, so that the shape may have holes and many pieces, and the mesh shrinks towards corners. And its third (milestone 59): an eigenproblem on a box with walls or on a round domain returns the modes that are computed there, sorted by their eigenvalue, as real functions. Its fourth (milestone 60) made many modes at once three times as fast, lets an iteration end where its solves are no more accurate, and lets the planner go on to a finer mesh where a higher degree gains little. Left, as further milestones:

    • Memory on a shape. The factorization keeps the inverse of the inside of every element: a gigabyte at 60 000 points on the sides of elements, which is where the planner stops. Those inverses need not be kept: a product with the factors of the block does the same.

    • A potential between walls that couples the coordinates, and one that depends on an angle on a round domain: an operator whose modes do not separate. A potential that leaves them separate is solved (milestone 61). The block iteration of milestone 55, with the operator of collocation and the constant part of the operator, which is diagonal in the modes, as its preconditioner. The operator of collocation is not symmetric, which the iteration assumes. The stationary equation with such a potential is solved since milestone 63: an eigenvalue iteration on that solve is what is left.

    • Waveguides and cavities as vectors. The modes of a waveguide are two scalar eigenproblems, which the guide shows (milestone 60). Maxwell’s equations written as an eigenproblem for a vector wait for campaign G.

  • F3. An eigenproblem whose operator depends on its own eigenfunctions, coupled to Poisson’s equation. Constraints (milestone 15) and Newton’s method (milestone 23) are its building blocks.

  • F4. The operator at a wave vector of the lattice: a shift in the transforms of periodic boxes.

G. Vectors and tensors

Package

Size

Lane

Needs

G1

Vector unknowns and vector calculus in the frontend

M

frontend

G2

Tensor unknowns, towards the Einstein equations

L

A, C, D

  • G1. curl, and grad and div of vectors, in Cartesian coordinates, expanded into components by the frontend: Maxwell’s equations in two lines. The core sees the systems it solves today. A solution gives a vector back as a vector.

H. Equations in free and periodic space

What campaigns “Time” and “Systems” left open.

Package

Size

Lane

Needs

H1

Nonlinear terms in time, with free directions

L

time

H2

In time with free directions: coefficients in front of second derivatives, and equations of second order in time

M

time

H3

Stationary operators of higher order, with drift or with mixed derivatives, with free directions

M

stationary

H4

Systems with free directions: stationary, diffusion, dispersion

M

systems

H5

Systems with free directions: nonlinear terms and constraints

L

systems

H1

H6

Stationary systems: coefficients that vary, nonlinear terms, nonlinear constraints

L

systems

H7

Classification block by block

L

systems

H8

Third and higher order in time, and mixed derivatives in time and space

S

systems

H9

Periodic cells that are not rectangular

M

kernels

H10

More than three free directions with screening or periodic directions

S

stationary

H11

The Helmholtz equation: absorbing media and incoming waves

M

stationary

H12

Sources and initial states that are not smooth

M

planner, stationary

H13

A grid that follows the solution in time

L

time

  • H1. A soliton of the nonlinear Schrödinger equation on the line, a front of Fisher’s equation. The stepping on the padded transform of milestone 25 exists. What is missing: to know how far a nonlinear solution travels, or to notice when it nears the edge and enlarge the box (H13).

  • H2. A diffusivity or a wave speed that varies in a region, in an equation in time. The stepping of milestone 25 takes the unknown and its first derivatives only.

  • H3. Its part in time is done (milestone 71): the linear Korteweg–de Vries equation, a beam and a plate in free space, with a bound on the travel of the solution that holds for any operator. Left: the plate equation and drift in stationary problems, where the kernels for free space exist only for the Laplacian with a constant. And in time, terms that are stepped beside such an operator, which is H1.

  • H4. Stationary systems and systems that diffuse or disperse, where today only waves are taken (decision D57).

  • H6. Newton’s method and the iteration of milestone 22 for several unknowns. Constraints that are nonlinear in what they fix.

  • H7. Decision D15: a problem whose equations fall into groups that need different methods or live on different domains. A partial differential equation coupled to an ordinary one, a surface coupled to a bulk.

  • H8. Rewrite as a system of first order in the analysis, as is done for the second order.

  • H9. A hexagonal cell, a sheared cell: a transform on a lattice.

  • H11. A wave number with an imaginary part far away. A plane wave that comes in, stated with the problem, so that the user writes the total field and gets the scattered one too.

  • H12. Point charges, steps, corners in the data. Subtract what is singular in closed form and solve for the smooth rest. Also sources that decay slowly, for which no box is found today.

  • H13. Decision D50 fixed the grid for a solve. Refine or enlarge it when the spectrum or the edge says so.

J. Bodies

Fast boundary elements are C5. Scattering by bodies meets A5.

Package

Size

Lane

Needs

J1

Bodies in two dimensions

M

bodies

J2

Bodies in periodic settings

M

bodies

J3

Bodies that touch or contain each other

M

bodies

J4

Screened and Helmholtz equations around bodies: scattering

L

bodies

J5

Curved elements, or elements of higher order

M

bodies

J6

Bodies in a medium that varies, and charge that reaches a surface

L

bodies, stationary

J7

Complex sources with bodies

S

bodies

J8

Meshes from files

S

frontend

  • J1. Boundary elements on curves, with the logarithmic kernel.

  • J2. The periodic kernel of milestone 3 in the boundary integral.

  • J4. Other kernels in the integral equation. For Helmholtz the equation must stay solvable at the resonances of the interior.

  • J8. shapes.Mesh takes arrays. Read STL and OBJ files into it.

K. Input, output and plots

Package

Size

Lane

Needs

K1

Plots of bodies with their charge, and views in space

M

frontend (_plot.py)

K2

Complex arrays in one piece

S

frontend

K3

Solving on another grid than the data’s

M

kernels

K4

Symbols that are parameters

M

frontend, kernels

K5

More of sympy: Piecewise, Heaviside, Min, Max, Bessel functions

S

frontend, kernels

K6

Values of a solution anywhere with free directions and in a ball, its gradient, and integrals of expressions in it

M

frontend, kernels

K7

A saved problem that can be solved again, and VTK files of elements and of bodies

S

frontend

K8

Convergence plots on the method pages

S

project

K9

Display of plans and solutions in notebooks

S

frontend (new file)

K10

Plots that read a solution through the core

S

frontend (_plot.py)

  • K1. Sections through a ball and a cylinder, and surfaces of bodies with their charge. Its first part is done (milestone 49): sections of balls and cylinders along each of their coordinates, in plot and in animate. Left: the surfaces of bodies with their charge, which need a view in space.

  • K3. Interpolate array data to the grid of the plan, spectrally where the grid allows. With it: derivatives of data fields, and fields on different grids in one problem. On a region of the plane arrays are read between their points already, by polynomials of degree five (milestone 52): what shaped_data does there is a start for the other domains.

  • K4. A parameter in the problem description, with a value at the solve. A plan that is reused for many values. Decision D20 left this out.

  • K5. Functions that are not smooth cost the spectral accuracy (H12): the diagnostics must say so.

  • K6. solution(x, y) between grid points, by the expansion the method used. The gradient, the flux through a face, integrals over the domain, the energy of a field. Its first part is done (milestone 46): values anywhere on a region of the plane, from the polynomials of the elements, with the solution keeping what the method holds of it. Its second (milestone 47): grids whose axes are periodic or carry Gauss or Chebyshev points, by the trigonometric sum and by the polynomial through the points. Left: free directions, where the grid is a cut out of a larger one and the sum of the method runs over that larger one, which is not kept; balls, whose polar angle has neither kind of axis; the cylinder with vacuum outside. Its third (milestone 51): the integral of an unknown over the domain. Left of what is derived from a solution: its gradient, the flux through a face, and integrals of expressions in it, such as an energy.

  • K7. A file that holds a solution with its problem and plan. Export to VTK for ParaView, and to xarray. Its first part is done (milestone 48): solution.save and pm.load, a numpy archive with the arrays and with the plan, the diagnostics and the problem as JSON. Its second (milestone 50): to_xarray and to_vtk. Left: a problem that comes back from the file as one that can be solved, which needs the way from the description back to sympy (B5), and VTK files that hold the elements of a region and the surfaces of bodies.

  • K10. What the review of milestone 72 found. _plot.py reads a solution between its points by itself: through Gauss points along a radius, by a transform along an angle, by lines between planes. The core does the same in values_at, by the expansion of the method. A plot that asks the core holds no numerics, as the architecture says of a frontend, and draws a region and a ball as it draws a box.

L. Trust

What makes the answer, and the refusal, easier to rely on.

Package

Size

Lane

Needs

L1

Vacuum outside is said, not assumed

S

frontend

Owner

L3

Boundary values that disagree in a corner are named before the solve

S

walls

L4

Every refusal says what would work: a review of all messages

M

all, in small changes

L5

An estimate of the error on request

M

frontend

L6

Conserved quantities as diagnostics of a solve in time

M

time

  • L1. A disk, a ball or a cylinder without boundary= is solved with vacuum outside, and only the plan says so. A user who forgot the conditions gets an answer to another problem. One way: vacuum must be written, and its absence is an error that names both choices.

  • L3. Today such a problem is solved and reported afterwards as not resolved.

  • L4. About a hundred places refuse a problem. Each message should name what was found, why it is not solved, and the nearest problem that is. The list is in known limits.

  • L5. Solve again on a finer grid and report the difference: slow, and independent of the diagnostics that exist.

  • L6. Mass, energy, norm: computed along the solve, and reported with their drift.

P. The project itself

Package

Size

Lane

Needs

P1

Smaller source files

S each

the file’s lane, when it is idle

P2

Pages by field of application

S each

project

P8

The method of a plan as a discretization and a solver

M

planner, frontend

Owner

P9

One block iteration for eigenvalues

S

eigen

  • P1. evolution.rs, methods/preconditioned.rs, expr.rs, analysis.rs, methods/elements.rs and solve.rs have around 2 000 lines each. Smaller files collide less when several sessions work. One file per pull request, with no change in behaviour, while nobody else works in its lane.

  • P2. Electrostatics, quantum mechanics, heat, waves and acoustics, patterns: each a page that solves the problems of a first course with what exists, as a further part of the tutorial or a group of recipes. The gallery holds such problems by theme since milestone 68, one on a page. Their examples are tested by themselves (test_docs.py). Each page is a package of its own, and any number can be written side by side.

  • P8. plan::Method names a discretization and a solver in one word. As two entries of a plan, a new solver would serve every discretization without a variant for each. It changes the JSON of a plan and the page of the methods of a plan, so it is the owner’s to decide, with the version that it would need. Diagnostics, whose entries mean different things for different methods, belongs to the same question.

  • P9. bounded_inverse_modes has a block iteration of its own, for complex blocks and an operator that is not symmetric, beside that of methods/subspace.rs. Three places bring a mode to its norm and sign, and the planners of the three kinds of eigenproblem refine by loops that share nothing. One iteration that takes both kinds of block, and one function for the norm.