mem_zero_c Subroutine

private subroutine mem_zero_c(dst, n)

Zeros memory area

Arguments

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

destination memory

integer, intent(in) :: n

length of elements to zero


Source Code

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

         INTEGER, INTENT(IN) :: n
        !! length of elements to zero
         COMPLEX(kind=real_4), DIMENSION(1:n), INTENT(OUT) :: dst
        !! destination memory
         dst(:) = CMPLX(0.0, 0.0, real_4)
      END SUBROUTINE mem_zero_c