Destroy the integrator.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(integrator_multistage_object), | intent(inout) | :: | self | Integrator. |
elemental subroutine destroy_multistage(self)
!< Destroy the integrator.
class(integrator_multistage_object), intent(inout) :: self !< Integrator.
call self%destroy_abstract
self%registers = 0
self%stages = 0
if (allocated(self%stage)) deallocate(self%stage)
if (allocated(self%buffer)) deallocate(self%buffer)
endsubroutine destroy_multistage