memory_copy Interface

public interface memory_copy

Module Procedures

private subroutine mem_copy_i(dst, src, n)

Copies memory area

Arguments

Type IntentOptional Attributes Name
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

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

private subroutine mem_copy_s(dst, src, n)

Copies memory area

Arguments

Type IntentOptional Attributes Name
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

Type IntentOptional Attributes Name
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

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

private subroutine mem_copy_z(dst, src, n)

Copies memory area

Arguments

Type IntentOptional Attributes Name
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