Save the data needed for the dense output of a step that was just accepted.
The function evaluations of the step are taken from me%funcs when
interpolate is called, so this is only valid until the next step is taken.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(rk_class), | intent(inout) | :: | me | |||
| real(kind=wp), | intent(in) | :: | t |
initial time of the step |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
initial state of the step |
|
| real(kind=wp), | intent(in) | :: | h |
size of the step |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | xf |
final state of the step |
subroutine dense_save(me,t,x,h,xf) class(rk_class),intent(inout) :: me real(wp),intent(in) :: t !! initial time of the step real(wp),dimension(:),intent(in) :: x !! initial state of the step real(wp),intent(in) :: h !! size of the step real(wp),dimension(:),intent(in) :: xf !! final state of the step if (me%dense_enabled) then me%dense_t = t me%dense_h = h me%dense_x = x me%dense_xf = xf me%dense_available = .true. me%dense_computed = .false. end if end subroutine dense_save