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