Destroy the integrator.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(integrator_leapfrog), | intent(inout) | :: | self | Integrator. |
elemental subroutine destroy(self)
!< Destroy the integrator.
class(integrator_leapfrog), intent(INOUT) :: self !< Integrator.
call self%destroy_multistep
self%nu = 0._R_P
self%alpha = 0._R_P
self%is_filtered = .false.
if (allocated(self%filter)) deallocate(self%filter)
endsubroutine destroy