Destroy only members of abstract integrator_object type.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(integrator_object), | intent(inout) | :: | self | Integrator. |
elemental subroutine destroy_abstract(self)
!< Destroy only members of abstract [[integrator_object]] type.
class(integrator_object), intent(inout) :: self !< Integrator.
if (allocated(self%description_)) deallocate(self%description_)
self%error = 0
if (allocated(self%error_message)) deallocate(self%error_message)
endsubroutine destroy_abstract