|
|
◆ Contrp()
| Function Contrp |
( |
I As |
Long, |
|
|
T As |
Double, |
|
|
Cont As |
Double |
|
) |
| |
Initial value problem of ordinary differential equations (5, 9, 13-th order implicit Runge-Kutta method (Radau IIA)) (Interpolation for dense output)
NOTE - THIS PROGRAM IS DEPRECATED AND WILL BE REMOVED IN THE NEXT VERSION.
- Purpose
- This is the support routine which interpolates the solution for dense output when an initial value problem of a system of ordinary differential equations is solved by Radaup.
Radaup must be called with setting address of Solout to enable dense output.
When Solout is called after each accepted step, the interpolated solution at any T within latest step interval can be computed by using this routine in Solout.
- Returns
- Double
Interpolated solution Y(I).
- Parameters
-
| [in] | I | Element number of solution to be interpolated. (0 <= I <= N - 1) |
| [in] | T | T at which the interpolated solution is computed.
T must be in the interval of the last step. That is, T1 <= T <= T2 where T1 is the value of T on the previous call of Solout, and T2 is the value on this time. |
| [in] | Cont | Control information for dense output.
Enter parameter value of Solout without change. |
- Reference
- E. Hairer, S.P. Norsett and G. Wanner, "Solving Ordinary Differential Equations. Nonstiff Problems. 2nd edition", Springer Series in Computational Mathematics, Springer-Verlag (1993)
- Example Program
- See example program (2) of Radaup.
|