Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(nonlocal_t), | pointer | :: | p |
subroutine destroy_nonlocal(p)
type(nonlocal_t), pointer :: p
type(nonlocal_t), pointer :: q
do while (associated(p))
call ps_clean_annotation(p%annotation)
call destroy_nlpj(p%proj)
call delete(p%grid)
q => p%next
deallocate(p)
p => q
enddo
end subroutine destroy_nonlocal