destroy_slps Subroutine

private subroutine destroy_slps(p)

Arguments

Type IntentOptional AttributesName
type(slps_t), pointer:: p

Contents

Source Code


Source Code

subroutine destroy_slps(p)
type(slps_t), pointer :: p

type(slps_t), pointer :: q

do while (associated(p))
   call destroy_radfunc(p%V)
   q => p%next
   deallocate(p)
   p => q
enddo

end subroutine destroy_slps