mem_zero_i Subroutine

private subroutine mem_zero_i(dst, n)

Zeros memory area

Arguments

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

destination memory

integer, intent(in) :: n

length of elements to zero


Source Code

      SUBROUTINE mem_zero_i (dst, n)
# 301 "/__w/dbcsr/dbcsr/src/data/dbcsr_ptr_util.F"
     !! Zeros memory area

         INTEGER, INTENT(IN) :: n
        !! length of elements to zero
         INTEGER(kind=int_4), DIMENSION(1:n), INTENT(OUT) :: dst
# 306 "/__w/dbcsr/dbcsr/src/data/dbcsr_ptr_util.F"
        !! destination memory
         dst(:) = 0
# 308 "/__w/dbcsr/dbcsr/src/data/dbcsr_ptr_util.F"
      END SUBROUTINE mem_zero_i