Integrate integrand field by Linear SSP Runge-Kutta methods.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(integrator_runge_kutta_lssp), | intent(inout) | :: | self | Integrator. |
||
class(integrand_object), | intent(inout) | :: | U | Field to be integrated. |
||
real(kind=R_P), | intent(in) | :: | Dt | Time step. |
||
real(kind=R_P), | intent(in) | :: | t | Time. |
||
real(kind=R_P), | intent(out), | optional | :: | new_Dt | New adapted time step. |
subroutine integrate_fast(self, U, Dt, t, new_Dt)
!< Integrate integrand field by Linear SSP Runge-Kutta methods.
class(integrator_runge_kutta_lssp), intent(inout) :: self !< Integrator.
class(integrand_object), intent(inout) :: U !< Field to be integrated.
real(R_P), intent(in) :: Dt !< Time step.
real(R_P), intent(in) :: t !< Time.
real(R_P), intent(out), optional :: new_Dt !< New adapted time step.
call self%integrate_fast_(U=U, Dt=Dt, t=t)
if (present(new_Dt)) new_Dt = Dt
endsubroutine integrate_fast