Let's pause a minute and review.
We have already highlighted all the interface code that was written to allow the program to
get 7 inputs from PRODAS and return a resulting table. The steps were as follows:
- Turned our program into Subroutine Analysis
- Wrote Subroutine InConvert to convert the 7 datapoint inputs from PRODAS
to our local variables being mindful of the units.
- Wrote Subroutine OutConvert to convert our output array to the array being
passed back to PRODAS again being mindful of the units.
- Wrote the valid data check subroutine, SUBROUTINE VALID_DATA_CHECK. Remember it is up to you. You could just
include the subroutine with no checks.
Next we will discuss the code used to generate the formatted FORTRAN output.
Previous
Top
Next