Automatic grid control in adaptive BVP solvers

  • Authors:
  • Gernot Pulverer;Gustaf Söderlind;Ewa Weinmüller

  • Affiliations:
  • Institute for Analysis and Scientific Computing, Vienna University of Technology, Vienna, Austria 1040;Numerical Analysis, Centre for Mathematical Sciences, Lund University, Lund, Sweden 221 00;Institute for Analysis and Scientific Computing, Vienna University of Technology, Vienna, Austria 1040

  • Venue:
  • Numerical Algorithms
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

Grid adaptation in two-point boundary value problems is usually based on mapping a uniform auxiliary grid to the desired nonuniform grid. Here we combine this approach with a new control system for constructing a grid density function 驴(x). The local mesh width Δx j驴+驴1/2驴=驴x j驴+驴1驴驴驴x j with 0驴=驴x 0驴x 1驴x N 驴=驴1 is computed as Δx j驴+驴1/2驴=驴驴 N / 驴 j驴+驴1/2, where $\{\varphi_{j+1/2}\}_0^{N-1}$ is a discrete approximation to the continuous density function 驴(x), representing mesh width variation. The parameter 驴 N 驴=驴1/N controls accuracy via the choice of N. For any given grid, a solver provides an error estimate. Taking this as its input, the feedback control law then adjusts the grid, and the interaction continues until the error has been equidistributed. Digital filters may be employed to process the error estimate as well as the density to ensure the regularity of the grid. Once 驴(x) is determined, another control law determines N based on the prescribed tolerance ${\textsc {tol}}$ . The paper focuses on the interaction between control system and solver, and the controller's ability to produce a near-optimal grid in a stable manner as well as correctly predict how many grid points are needed. Numerical tests demonstrate the advantages of the new control system within the bvpsuite solver, ceteris paribus, for a selection of problems and over a wide range of tolerances. The control system is modular and can be adapted to other solvers and error criteria.