Computer Physics Communications Program LibraryPrograms in Physics & Physical Chemistry |

[Licence| Download | New Version Template] acxp_v1_0.gz(7 Kbytes) | ||
---|---|---|

Manuscript Title: FURI: a Fortran function writer. | ||

Authors: A.J. Barnard | ||

Program title: FURI | ||

Catalogue identifier: ACXP_v1_0Distribution format: gz | ||

Journal reference: Comput. Phys. Commun. 13(1977)271 | ||

Programming language: Fortran. | ||

Computer: IBM 370/168. | ||

Operating system: MTS/HASP. | ||

RAM: 19K words | ||

Word size: 8 | ||

Keywords: General purpose, Polynomial, Fit, Fortran function writer. | ||

Classification: 4.9. | ||

Nature of problem:For the rapid evaluation of auxiliary functions required in physics, it is often advantageous to replace the function with a polynomial expansion or succession of polynomial expansions. This is a routine but tedious problem and should be automated. | ||

Solution method:The polynomial coefficients, evaluated from a table of data points in a standard fashion, are written out in a form of a FORTRAN statement. A self-contained FORTRAN function subroutine is generated by the program through the addition of standard control statements. | ||

Restrictions:The order of the sequence of polynomials is restricted to be from 1 to 8, from 2 to 8 if the slope is to be continuous, and to 3 for a spline fit. | ||

Unusual features:The output consists of a function subroutine and a main program that is ready for testing the accuracy of the fit. By combining generated functions for different ranges of the independent variable, the user can put together a complete FORTRAN function program with a minimum of editing. | ||

Running time:2 s on IBM 370/168. |

Disclaimer | ScienceDirect | CPC Journal | CPC | QUB |