0.1.0

The first version. It comes as packages for Linux (x86-64 and ARM), macOS (Apple silicon and Intel) and Windows (x86-64), for Python 3.11 and later:

pip install pdemagic

What it solves

  • Poisson’s equation, the screened Poisson equation and the Helmholtz equation in free space, with the right condition at infinity for each, and in periodic boxes.

  • Linear stationary equations with coefficients that vary in space, and stationary equations with a nonlinear term, on periodic boxes and in free space.

  • Boundary value problems on boxes in any dimension, disks, rings, balls, spherical shells and cylinders, with a value, a derivative or a mix of both on each face.

  • Shapes of your own in the plane: a region bounded by lines and arcs, with holes. Any elliptic equation of second order for one unknown, also with a nonlinear term, and heat, waves and the Schrödinger equation in time.

  • Equations in time: heat, waves and Schrödinger are propagated exactly. Nonlinear equations are stepped, on periodic boxes, and those of first order in time also between walls.

  • Systems: Maxwell’s equations in vacuum, reaction and diffusion, and other systems on periodic boxes.

  • Bodies in electrostatics: conductors and dielectrics of any shape in three-dimensional free space.

What is solved today, with everything that came after this version, is on the pages What is solved where. What does not work yet is on the page of known limits.

Plans

Every solve returns its plan: the method, the grid, every setting, and a note for each choice. A plan is data, and can be changed, saved and passed back.

Terms of use

The versions 0.1.x may be installed and used free of charge, and may not be passed on or changed. The terms are in the file LICENSE that comes with the package.