Dormand-Prince 8(5)
Note
The error estimate is the one from DOP853, which combines a 5th
and a 3rd order estimate. By default, this is done for each component:
.
This behaves like , so it is consistent with the
error of the 8th order solution (using only the 5th order estimate would
overestimate it, resulting in steps that are smaller than necessary).
With the error_combination=2 option of the stepsize_class, it is done
as in DOP853, using the norms of the two scaled error estimates:
, where
(so the norm of the scaled error is
, as in DOP853).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(rkdp85_class), | intent(inout) | :: | me | |||
| real(kind=wp), | intent(in) | :: | t |
initial time |
||
| real(kind=wp), | intent(in), | dimension(me%n) | :: | x |
initial state |
|
| real(kind=wp), | intent(in) | :: | h |
time step |
||
| real(kind=wp), | intent(out), | dimension(me%n) | :: | xf |
state at time |
|
| real(kind=wp), | intent(out), | dimension(me%n) | :: | xerr |
truncation error estimate for |