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