Zeros memory area
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real_8), | intent(out), | DIMENSION(1:n) | :: | dst |
destination memory |
|
integer, | intent(in) | :: | n |
length of elements to zero |
SUBROUTINE mem_zero_d (dst, n) !! Zeros memory area INTEGER, INTENT(IN) :: n !! length of elements to zero REAL(kind=real_8), DIMENSION(1:n), INTENT(OUT) :: dst !! destination memory dst(:) = 0.0_real_8 END SUBROUTINE mem_zero_d