This paper describes a user‐friendly frontend to a Fortran program that integrates coupled nonlinear ordinary differential equations. The user interface is built using the NeXTSTEP Interface Builder, together with a public‐domain graphical palette for displaying intermediate and final results. The main obstacle was implementing communication between the Objective‐C environment governing the NeXTSTEP interface and the Fortran code. This was overcome by breaking up the Fortran into separate subroutines (which compile as C function calls), corresponding to the various control buttons in the interface. In running the code for a given set of equation parameters the user sees a plot of the solutions at each stage of the iterative process. In the case of a successful sequence of iterations, the initially discontinuous curves smooth out as the scale parameters of the solutions are adjusted to achieve a solution to the nonlinear equations. If the iterative process goes astray, as it often does for a poor choice of starting scale parameters, the user has the opportunity to stop and start over with a better choice, guided by the result of the previous run. The ease of interaction with the equations also allows the user to develop an intuition regarding their solutions and to explore the parameter space for the equations much more quickly.
Skip Nav Destination
Article navigation
September 1993
Research Article|
September 01 1993
An interactive NeXTSTEP interface to a Fortran code for solving coupled differential equations
Richard R. Silbar
Richard R. Silbar
Theoretical Division, Los Alamos National Laboratory, University of California, Los Alamos, New Mexico 87545
Search for other works by this author on:
Comput. Phys. 7, 592–598 (1993)
Article history
Received:
August 18 1992
Accepted:
February 11 1993
Citation
Richard R. Silbar; An interactive NeXTSTEP interface to a Fortran code for solving coupled differential equations. Comput. Phys. 1 September 1993; 7 (5): 592–598. https://doi.org/10.1063/1.168473
Download citation file:
Sign in
Don't already have an account? Register
Sign In
You could not be signed in. Please check your credentials and make sure you have an active account and try again.
Sign in via your Institution
Sign in via your InstitutionPay-Per-View Access
$40.00