mem_copy_l Subroutine

private subroutine mem_copy_l(dst, src, n)

Copies memory area

Arguments

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

destination memory

integer(kind=int_8), intent(in), DIMENSION(1:n) :: src

source memory

integer, intent(in) :: n

length of copy


Source Code

      SUBROUTINE mem_copy_l (dst, src, n)
     !! Copies memory area

         INTEGER, INTENT(IN) :: n
        !! length of copy
         INTEGER(kind=int_8), DIMENSION(1:n), INTENT(OUT) :: dst
        !! destination memory
         INTEGER(kind=int_8), DIMENSION(1:n), INTENT(IN)  :: src
        !! source memory
         dst(:) = src(:)
      END SUBROUTINE mem_copy_l