Glossary¶
The words of this documentation, in the sense in which it uses them.
- body¶
A conductor or a dielectric with a sharp surface, in three-dimensional free space: a shape and what it is made of, as
pm.Conductorandpm.Dielectric. See Bodies.- boundary condition¶
An equation that holds on a face of a domain or on a piece of its boundary. It gives the value of the unknown, its derivative across the boundary, or a mix of both. See Boundary conditions.
- box¶
A domain with walls along its coordinates: an interval, a rectangle, and the same in any number of dimensions, as
pm.Box. It can be periodic along some of its coordinates.- Chebyshev points¶
The points of the grid along a coordinate between two walls. They include both walls and crowd towards them.
- collocation¶
The method for boxes and round domains with boundary conditions. The unknown is represented by its values at the points of the grid, as the polynomial through them, and the equation is made to hold at these points. See the method page.
- curve¶
A closed line in the plane that bounds a region: a polygon, a circle, an ellipse, or a curve put together from lines and arcs.
- diagnostics¶
Numbers that a solution carries and that say how far it can be trusted: whether the box held the source, whether the grid resolved the solution, how an iteration went. See the diagnostics.
- domain¶
Where a problem lives: free space, a space with periodic directions, a box, a round domain, or a region of the plane. See Domains.
- eigenproblem¶
A problem for a function and a number together, as in \(H\psi = E\,\psi\). pdemagic finds the lowest eigenvalues with their eigenfunctions. See Eigenproblems.
- face¶
A part of the boundary of a box or a round domain on which one coordinate is constant. It is named by that coordinate and its value:
(x, 0)is the face wherexis 0.- free space¶
All of space, without a boundary, with the condition at infinity that the solution is the one its sources produce:
pm.FreeSpace. See Free space and periodic directions.- Gauss points¶
The points of the grid along the radius of a disk or a ball, and along the polar angle of a ball. They lie inside the domain, and do not include its surface.
- grid¶
The points at which a solution is given, one array of points for each coordinate:
solution.axes. Its box and its shape are entries of the plan.- initial state¶
The values of the unknown at the start of a problem in time, and for an equation of second order in time its rate of change as well.
- medium¶
A coefficient inside the derivatives of an equation that varies from place to place, as the permittivity \(\varepsilon\) in \(\nabla\cdot(\varepsilon\,\nabla u)\). See Media and potentials.
- method¶
The numerical procedure that solves a problem. The planner picks it, and
plan.method.kindnames it. See the methods.- mode¶
A pattern in which a domain rings or cools by itself: an eigenfunction of the operator of the equation with its boundary conditions. An eigenproblem on a bounded domain asks for the modes, and a linear problem in time there is solved mode by mode.
- periodic direction¶
A coordinate along which the domain repeats with a given period. A domain has no faces along it.
- piece¶
A part of the boundary of a region that takes a condition of its own: a line, an arc, a side of a polygon, a whole circle or ellipse. Each piece has a name.
- plan¶
The record of every choice that is made for a problem: the method, the box, the grid, the times and the tolerances, with notes that say why. A plan can be read, changed, and passed to
pm.solve. See The planner and its plan.- planner¶
The part of pdemagic that recognises the equation and makes the plan.
pm.plan(problem)returns its choice without solving.- propagator¶
The exact solution in time of a linear equation with constant coefficients, applied to each wave or mode by itself. With it time is not stepped through. See the method page.
- region¶
A domain in the plane that one or more closed curves bound:
pm.Region. A curve inside another one is a hole. See Shapes in the plane.- resolved¶
A solution, or what is given, is resolved when its spectrum has decayed to a tiny number on the grid, so that a finer grid would change little. A plan says
NOT resolvedwhen the finest candidate of the planner does not reach that.- round domain¶
A disk, a ring, a ball, a spherical shell or a cylinder, stated in polar, spherical or cylindrical coordinates. See Disks, rings, balls, shells and cylinders.
- source¶
The part of an equation that holds no unknown: the charge in Poisson’s equation, the heating in the heat equation. It is a formula or an array.
- spectral accuracy¶
An error that falls faster than any power of the grid spacing as the grid is refined, for a solution that is smooth. Ten digits are common on modest grids. See How accurate it is.
- spectral elements¶
The method for regions of the plane. The region is cut into quadrilaterals, and on each of them the solution is a polynomial of a high degree. See the method page.
- starting value¶
Where Newton’s method starts on a nonlinear stationary equation: zero, or what
guess=gives. It decides which solution is found.- stationary equation¶
An equation without time: Poisson’s equation, the Helmholtz equation, the plate equation. See Stationary equations.
- tail¶
The spectral tail: how far a spectrum has decayed at the highest frequencies that the grid holds. The diagnostic
spectral_tailmeasures it for what is given andsolution_tailfor the solution. A tiny tail means resolved.- unknown¶
The function that a problem is solved for, written as an undefined sympy function of the coordinates:
sp.Function("u")(x, y).- wall¶
A boundary on which a condition holds, as opposed to a direction that is free or periodic. A box has a wall at each of its faces.