Destroy the integrator.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(integrator_adams_bashforth), | intent(inout) | :: | self | Integrator. |
elemental subroutine destroy(self)
!< Destroy the integrator.
class(integrator_adams_bashforth), intent(inout) :: self !< Integrator.
call self%destroy_multistep
if (allocated(self%b)) deallocate(self%b)
endsubroutine destroy