memory_copy Interface

public interface memory_copy

Contents


Module Procedures

private subroutine mem_copy_i(dst, src, n)

Copies memory area

Arguments

TypeIntentOptionalAttributesName
integer(kind=int_4), intent(out), DIMENSION(1:n):: dst

destination memory

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

source memory

integer, intent(in) :: n

length of copy

private subroutine mem_copy_l(dst, src, n)

Copies memory area

Arguments

TypeIntentOptionalAttributesName
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

private subroutine mem_copy_s(dst, src, n)

Copies memory area

Arguments

TypeIntentOptionalAttributesName
real(kind=real_4), intent(out), DIMENSION(1:n):: dst

destination memory

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

source memory

integer, intent(in) :: n

length of copy

private subroutine mem_copy_d(dst, src, n)

Copies memory area

Arguments

TypeIntentOptionalAttributesName
real(kind=real_8), intent(out), DIMENSION(1:n):: dst

destination memory

real(kind=real_8), intent(in), DIMENSION(1:n):: src

source memory

integer, intent(in) :: n

length of copy

private subroutine mem_copy_c(dst, src, n)

Copies memory area

Arguments

TypeIntentOptionalAttributesName
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

private subroutine mem_copy_z(dst, src, n)

Copies memory area

Arguments

TypeIntentOptionalAttributesName
complex(kind=real_8), intent(out), DIMENSION(1:n):: dst

destination memory

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

source memory

integer, intent(in) :: n

length of copy