Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(semilocal_t), | pointer | :: | p |
subroutine destroy_semilocal(p)
type(semilocal_t), pointer :: p
type(semilocal_t), pointer :: q
do while (associated(p))
call ps_clean_annotation(p%annotation)
call destroy_slps(p%pot)
call delete(p%grid)
q => p%next
deallocate(p)
p => q
enddo
end subroutine destroy_semilocal