Let the step be . Forward Euler method gives , . Applying the same map with gives , which generally differs from . It is therefore not its own inverse under time reversal.
A kick–drift–kick leapfrog integrator instead has
The step first recovers , then , then , so . This assumes a position-dependent force and the same fixed step. Newtonian mechanics is reversible; respecting that structure helps avoid artificial directional bias and often improves long-term qualitative behaviour. The usual leapfrog also has a structure preserving symplectic geometry, which supports bounded oscillatory energy error, but reversibility by itself does not imply exact conservation of energy. Adaptive stepping requires special care to preserve these properties.
For a second-order scalar partial differential equation, classification refers to its principal second-derivative form. An elliptic partial differential equation has a definite principal form, exemplified by Poisson's equation; it typically determines a spatial field from boundary data. A parabolic partial differential equation has a distinguished first-order evolution direction and diffusive second spatial derivatives, exemplified by . Its initial data relax or spread with time. Thus the pseudo-time equation is parabolic, while its steady-state spatial equation is elliptic.
At a steady state in pseudo-time, and the evolution becomes , the desired Poisson equation. Deviations from a steady solution obey a diffusion equation, so nonconstant error modes decay. This turns an elliptic boundary-value solve into repeated relaxation steps using familiar time-evolution methods. Boundary data and source compatibility still matter; pseudo-time does not remove a nonexistent steady solution.
A backward Euler method with spatial second-order central differences gives
The source is fixed in pseudo-time; if it were evolving, its evaluation would also need specifying. Each pseudo-time step therefore requires a linear system solve rather than a purely local explicit update.
Let and impose periodic indices modulo . With , the linear system is
where shifts one grid cell cyclically. For , has diagonal , adjacent and corner entries , and all other entries zero. It is a cyclic tridiagonal matrix, rather than a nonperiodic tridiagonal one.
The periodic Laplacian annihilates the constant vector, so its steady equation requires . A strictly positive gravitational density violates this condition: summing the update gives , an indefinitely drifting mean. Periodic gravitational calculations normally solve for and fix the arbitrary mean gravitational potential. The per-step matrix itself remains invertible; the issue is existence of a periodic steady solution of Poisson's equation.
For an error Fourier mode , the periodic discrete Laplacian has eigenvalue . The Backward Euler method therefore has amplification factor
von Neumann stability analysis thus imposes no upper limit on positive . The constant mode has and is not damped; compatible forcing and a gauge condition remain necessary as discussed in part (e). Large steps can accelerate relaxation of nonconstant modes, but require a suitably accurate linear solver and can worsen its conditioning. Unconditional linear stability is not a statement about time accuracy or cost.

Articles by others on the same topic (0)

There are currently no matching articles.