Solving One-dimensional Boundary-value Problems With Bandaid: a Functional Programming Style and a Complementary Software Tool
Year: 1986
Type: article
Abstract: This study examines the use of a functional programming style for writing computer programs to solve two-point boundary-value problems. The results of the study consist of a suggestion for an effective writing style, and of the implementation of a software tool that supports programming in that style. Solving One-Dimensional Boundary-Value Problems with BandAid: A Functional Programming Style and a Complementary Software Tool SummaryThis manuscript describes a functional style for writing computer programs to solve onedimensional boundary-value problems, and it presents a software tool, BandAid, that supports programming in this style. The programming methodology described here permits a static, selfdocumenting description of the differential equations to be placed directly in the program listing, thereby increasing the reliability of new programs and simplifying the maintenance and extension of existing ones. BandAid creates a finite-difference representation of the problem described in the program listing, and it uses the banded-matrix algorithm of Newman [1,2,3] to solve the resulting set of algebraic equations. The writing style is introduced by discussing the use of BandAid to solve a set of problems representative of typical applications.'-": '.f
Authors: M. Matlosz, Jess Newman
Language: English
Subfield: Modeling and Simulation
Field: Mathematics
Domain: Physical Sciences
Open Access status: green
Funder: U.S. Department of Energy
Awards: G1643223109, G193590374
OpenAlex ID: W2785201596
