mem_zero_l Subroutine

private subroutine mem_zero_l(dst, n)

Zeros memory area

Arguments

Type IntentOptional Attributes Name
integer(kind=int_8), intent(out), DIMENSION(1:n) :: dst

destination memory

integer, intent(in) :: n

length of elements to zero


Source Code

      SUBROUTINE mem_zero_l (dst, n)
     !! Zeros memory area

         INTEGER, INTENT(IN) :: n
        !! length of elements to zero
         INTEGER(kind=int_8), DIMENSION(1:n), INTENT(OUT) :: dst
        !! destination memory
         dst(:) = 0
      END SUBROUTINE mem_zero_l