Destroy the integrator.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(integrator_runge_kutta_ssp), | intent(inout) | :: | self | Integrator. |
elemental subroutine destroy(self)
!< Destroy the integrator.
class(integrator_runge_kutta_ssp), intent(inout) :: self !< Integrator.
call self%destroy_multistage
if (allocated(self%alph)) deallocate(self%alph)
if (allocated(self%beta)) deallocate(self%beta)
if (allocated(self%gamm)) deallocate(self%gamm)
endsubroutine destroy