Search NASAโŒ• Search

NASA NTRS ยท 19940019209

Implementing abstract multigrid or multilevel methods

Abstract

Multigrid methods can be formulated as an algorithm for an abstract problem that is independent of the partial differential equation, domain, and discretization method. In such an abstract setting, problems not arising from partial differential equations can be treated. A general theory exists for linear problems. The general theory was motivated by a series of abstract solvers (Madpack). The latest version was motivated by the theory. Madpack now allows for a wide variety of iterative and direct solvers, preconditioners, and interpolation and projection schemes, including user callback ones. It allows for sparse, dense, and stencil matrices. Mildly nonlinear problems can be handled. Also, there is a fast, multigrid Poisson solver (two and three dimensions). The type of solvers and design decisions (including language, data structures, external library support, and callbacks) are discussed. Based on the author's experiences with two versions of Madpack, a better approach is proposed. This is based on a mixed language formulation (C and FORTRAN + preprocessor). Reasons for not using FORTRAN, C, or C++ (individually) are given. Implementing the proposed strategy is not difficult.

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Douglas, Craig C.. 1993-11-01. Implementing abstract multigrid or multilevel methods. https://ntrs.nasa.gov/citations/19940019209

Cite the original work for its findings. Save a collection to share your selection of sources.