SDATRP(3)

SYNOPSIS
SUBROUTINE SDATRP (X, XOUT, YOUT, YPOUT, NEQ, KOLD, PHI, PSI)

NAME
sdatrp - Interpolation routine for SDASSL.

LIBRARY
SLATEC (DASSL)

TYPE
SINGLE PRECISION (SDATRP-S, DDATRP-D)

AUTHOR
Petzold, Linda R., (LLNL)

DESCRIPTION
C----------------------------------------------------------------------- THE METHODS IN SUBROUTINE SDASTP USE POLYNOMIALS TO APPROXIMATE THE SOLUTION. SDATRP APPROXIMATES THE SOLUTION AND ITS DERIVATIVE AT TIME XOUT BY EVALUATING ONE OF THESE POLYNOMIALS, AND ITS DERIVATIVE,THERE. INFORMATION DEFINING THIS POLYNOMIAL IS PASSED FROM SDASTP, SO SDATRP CANNOT BE USED ALONE. THE PARAMETERS ARE: X THE CURRENT TIME IN THE INTEGRATION. XOUT THE TIME AT WHICH THE SOLUTION IS DESIRED YOUT THE INTERPOLATED APPROXIMATION TO Y AT XOUT (THIS IS OUTPUT) YPOUT THE INTERPOLATED APPROXIMATION TO YPRIME AT XOUT (THIS IS OUTPUT) NEQ NUMBER OF EQUATIONS KOLD ORDER USED ON LAST SUCCESSFUL STEP PHI ARRAY OF SCALED DIVIDED DIFFERENCES OF Y PSI ARRAY OF PAST STEPSIZE HISTORY C-----------------------------------------------------------------------

ROUTINES CALLED
(NONE)

REVISION HISTORY (YYMMDD)
830315 DATE WRITTEN
901009 Finished conversion to SLATEC 4.0 format (F.N.Fritsch)
901019 Merged changes made by C. Ulrich with SLATEC 4.0 format.
901026 Added explicit declarations for all variables and minor cosmetic changes to prologue. (FNF)