Export the point(s) after a step has been accepted (other than the last step). Either the end of the step, or the dense output points within the step (see export_dense_output).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(rk_variable_step_class), | intent(inout) | :: | me | |||
| real(kind=wp), | intent(in) | :: | t |
time at the end of the step |
||
| real(kind=wp), | intent(in), | dimension(:) | :: | x |
state at the end of the step |
|
| logical, | intent(out) | :: | ok |
false if there was an error (the integration should not continue) |
subroutine export_step(me,t,x,ok) class(rk_variable_step_class),intent(inout) :: me real(wp),intent(in) :: t !! time at the end of the step real(wp),dimension(:),intent(in) :: x !! state at the end of the step logical,intent(out) :: ok !! false if there was an error (the integration should not continue) ok = .true. if (me%dense_reporting) then call me%export_dense_output(t,ok) else call me%export_point(t,x) end if end subroutine export_step