mem_copy_c Subroutine

private subroutine mem_copy_c(dst, src, n)

Copies memory area

Arguments

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

destination memory

complex(kind=real_4), intent(in), DIMENSION(1:n) :: src

source memory

integer, intent(in) :: n

length of copy


Source Code

      SUBROUTINE mem_copy_c (dst, src, n)
# 289 "/__w/dbcsr/dbcsr/src/data/dbcsr_ptr_util.F"
     !! Copies memory area

         INTEGER, INTENT(IN) :: n
        !! length of copy
         COMPLEX(kind=real_4), DIMENSION(1:n), INTENT(OUT) :: dst
# 294 "/__w/dbcsr/dbcsr/src/data/dbcsr_ptr_util.F"
        !! destination memory
         COMPLEX(kind=real_4), DIMENSION(1:n), INTENT(IN)  :: src
# 296 "/__w/dbcsr/dbcsr/src/data/dbcsr_ptr_util.F"
        !! source memory
         dst(:) = src(:)
      END SUBROUTINE mem_copy_c