FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(heating_diagnostics), | intent(inout), | dimension(:) | :: | h |
subroutine zero_htype_1 (h)
implicit none
type (heating_diagnostics), dimension(:), intent(in out) :: h
integer :: n, nmax
nmax = size(h)
h % energy = 0.
h % energy_dot = 0.
h % antenna = 0.
h % eapar = 0.
h % ebpar = 0.
do n=1,nmax
h(n) % delfs2 = 0.
h(n) % hs2 = 0.
h(n) % phis2 = 0.
h(n) % hypervisc = 0.
h(n) % hyperres = 0.
h(n) % hypercoll = 0.
h(n) % collisions = 0.
h(n) % imp_colls = 0.
h(n) % gradients = 0.
! h(n) % curvature = 0.
h(n) % heating = 0.
end do
end subroutine zero_htype_1