Classic RK4 (not SSP). s1 holds Q^n; s2 accumulates the weighted stages.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | pointer | :: | u(:) | ||
| real(kind=wp), | intent(in), | pointer | :: | resid(:) | ||
| real(kind=wp), | intent(in), | pointer | :: | s1(:) | ||
| real(kind=wp), | intent(in), | pointer | :: | s2(:) | ||
| real(kind=wp), | intent(in) | :: | dt | |||
| procedure(rhs_fn) | :: | rhs | ||||
| class(*), | intent(inout), | target | :: | ctx |