FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(heating_diagnostics), | intent(inout), | dimension(:,:,:) | :: | h |
subroutine del_htype_3 (h)
implicit none
type (heating_diagnostics), dimension(:,:,:), intent(in out) :: h
integer :: l, m, n, lmax, mmax, nmax
lmax = size(h, 1)
mmax = size(h, 2)
nmax = size(h, 3)
do n = 1, nmax
do m = 1, mmax
do l = 1, lmax
deallocate (h(l,m,n) % delfs2)
deallocate (h(l,m,n) % hs2)
deallocate (h(l,m,n) % phis2)
deallocate (h(l,m,n) % hypervisc)
deallocate (h(l,m,n) % hyperres)
deallocate (h(l,m,n) % hypercoll)
deallocate (h(l,m,n) % collisions)
deallocate (h(l,m,n) % imp_colls)
deallocate (h(l,m,n) % gradients)
! deallocate (h(l,m,n) % curvature)
deallocate (h(l,m,n) % heating)
end do
end do
end do
end subroutine del_htype_3