Abstract
Syntax-directed translation is utilized to generate the finite-difference patterns corresponding to linear partial differential equations (PDE's); these patterns can then be used to set up a system of simultaneous equations which, when solved numerically, provides an approximation to the solution of the given PDE. The proposed translation method is applicable to the case of PDE's which are defined over regions containing irregular boundaries and/or exhibiting symmetry. Examples of the translation are provided and remarks are made about extending the method to cover systems of non-linear simultaneous PDE's.
Similar content being viewed by others
References
G. D. Byrne and C. A. Hall (editor),Numerical Solution of Systems of Nonlinear Algebraic Equations, Academic Press, New York, 1973.
A. F. Cardenas and W. J. Karplus,PDEL-A Language for Partial Differential Equations, Comm. ACM, 13, 3, March 1970, pp. 184–191.
B. Carnahan et al.,Applied Numerical Methods, John Wiley and Sons, Inc., New York, 1969.
J. Cohen et al.,A Compiler Generator, Brandeis University, 1972. (A summary of this work appears in Software-Practice and Experience, vol. 5, April–June 1975, pp. 169–180.)
G. E. Forsythe and W. R. Wasow,Finite Difference Methods for Partial Differential Equations, John Wiley and Sons, Inc., New York, 1960.
J. Gary and R. Helgason,An Extension of FORTRAN Containing Finite Difference Operators, Software-Practice and Experience, vol. 2, 1972, pp. 321–336.
T. P. Giammo,Difference Expression Coefficients Algorithm 79, Comm. ACM Collected Algorithms.
D. Gries,Compiler Construction for Digital Computers, John Wiley and Sons. Inc., 1971.
B. Randell and L. J. Russell,ALGOL-60 Implementation, Academic Press, London, 1964.
R. V. Southwell,Relaxation Methods in Theoretical Physics, Oxford University Press, 1952.
Author information
Authors and Affiliations
Rights and permissions
About this article
Cite this article
Cohen, J., Grossman, P. Compilation of linear partial differential equations into finite-difference programs. BIT 15, 373–380 (1975). https://doi.org/10.1007/BF01931675
Received:
Revised:
Issue Date:
DOI: https://doi.org/10.1007/BF01931675