FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dens_vel_diagnostics), | intent(inout), | dimension(:,:) | :: | dv |
subroutine zero_dvtype_2 (dv)
implicit none
type (dens_vel_diagnostics), dimension(:,:), intent(in out) :: dv
integer :: n, nmax, m, mmax
mmax = size(dv, 1)
nmax = size(dv, 2)
do n=1,nmax
do m=1,mmax
dv(m,n) % dvpar = 0.
dv(m,n) % dvperp = 0.
dv(m,n) % dn = 0.
end do
end do
end subroutine zero_dvtype_2