d02pjc evaluates the interpolant calculated by
d02phc, following an integration step performed by
d02pgc to solve an initial value problem.
When integrating using the reverse communication Runge–Kutta integrator
d02pgc, the solution or its derivatives can be obtained inexpensively between steps by interpolation.
d02phc is called after a step by
d02pgc from a previous value of
$t$ (
$={t}_{k1}$) to its current value,
$t={t}_{k}$ (i.e., a
$k$th successful timestep has been taken).
d02pjc can then be called to evaluate interpolated approximations of the function or its derivatives at any value of
$t$ in the interval
$\left({t}_{k1},{t}_{k}\right)$.
Brankin R W, Gladwell I and Shampine L F (1991) RKSUITE: A suite of Runge–Kutta codes for the initial value problems for ODEs SoftReport 91S1 Southern Methodist University
 NE_ALLOC_FAIL

Dynamic memory allocation failed.
See
Section 3.1.2 in the Introduction to the NAG Library CL Interface for further information.
 NE_BAD_PARAM

On entry, argument $\u2329\mathit{\text{value}}\u232a$ had an illegal value.
 NE_INT

On entry, ${\mathbf{ideriv}}=\u2329\mathit{\text{value}}\u232a$.
Constraint: ${\mathbf{ideriv}}=0$ or $1$.
On entry, ${\mathbf{lwcomm}}=\u2329\mathit{\text{value}}\u232a$.
Constraint: for ${\mathbf{method}}=\mathrm{Nag\_RK\_2\_3}$, ${\mathbf{lwcomm}}\ge 1$.
 NE_INT_2

On entry, ${\mathbf{lwcomm}}=\u2329\mathit{\text{value}}\u232a$ and ${\mathbf{nwant}}=\u2329\mathit{\text{value}}\u232a$.
Constraint: for ${\mathbf{method}}=\mathrm{Nag\_RK\_7\_8}$, ${\mathbf{lwcomm}}\ge 8\times {\mathbf{nwant}}$.
 NE_INT_3

On entry, ${\mathbf{lwcomm}}=\u2329\mathit{\text{value}}\u232a$, ${\mathbf{n}}=\u2329\mathit{\text{value}}\u232a$ and ${\mathbf{nwant}}=\u2329\mathit{\text{value}}\u232a$.
Constraint: for ${\mathbf{method}}=\mathrm{Nag\_RK\_4\_5}$, ${\mathbf{lwcomm}}\ge {\mathbf{n}}+\mathrm{max}\phantom{\rule{0.125em}{0ex}}\left({\mathbf{n}},5\times {\mathbf{nwant}}\right)$.
 NE_INT_CHANGED

On entry, ${\mathbf{n}}=\u2329\mathit{\text{value}}\u232a$, but the value passed to the setup routine was ${\mathbf{n}}=\u2329\mathit{\text{value}}\u232a$.
On entry,
${\mathbf{nwant}}=\u2329\mathit{\text{value}}\u232a$, but on interpolation setup
${\mathbf{nwant}}=\u2329\mathit{\text{value}}\u232a$.
Constraint:
nwant must be unchanged from setup.
 NE_INTERNAL_ERROR

An internal error has occurred in this function. Check the function call and any array sizes. If the call is correct then please contact
NAG for assistance.
See
Section 7.5 in the Introduction to the NAG Library CL Interface for further information.
 NE_MISSING_CALL

On entry, a previous call to the setup function has not been made or the communication arrays have become corrupted, or a catastrophic error has already been detected elsewhere.
You cannot continue integrating the problem.
You cannot call this function before you have called the interpolation setup.
 NE_NO_LICENCE

Your licence key may have expired or may not have been installed correctly.
See
Section 8 in the Introduction to the NAG Library CL Interface for further information.
 NE_PREV_CALL_INI

The previous call to the interpolation setup function returned an error.
The computed values will be of a similar accuracy to that computed by
d02pgc.
None.