memory_allocate Interface

public interface memory_allocate

Module Procedures

private subroutine mem_alloc_i(mem, n, mem_type)

Allocates memory

Arguments

Type IntentOptional Attributes Name
integer(kind=int_4), DIMENSION(:), POINTER, CONTIGUOUS :: mem

memory to allocate

integer, intent(in) :: n

length of elements to allocate

type(dbcsr_memtype_type), intent(in) :: mem_type

memory type

private subroutine mem_alloc_l(mem, n, mem_type)

Allocates memory

Arguments

Type IntentOptional Attributes Name
integer(kind=int_8), DIMENSION(:), POINTER, CONTIGUOUS :: mem

memory to allocate

integer, intent(in) :: n

length of elements to allocate

type(dbcsr_memtype_type), intent(in) :: mem_type

memory type

private subroutine mem_alloc_s(mem, n, mem_type)

Allocates memory

Arguments

Type IntentOptional Attributes Name
real(kind=real_4), DIMENSION(:), POINTER, CONTIGUOUS :: mem

memory to allocate

integer, intent(in) :: n

length of elements to allocate

type(dbcsr_memtype_type), intent(in) :: mem_type

memory type

private subroutine mem_alloc_d(mem, n, mem_type)

Allocates memory

Arguments

Type IntentOptional Attributes Name
real(kind=real_8), DIMENSION(:), POINTER, CONTIGUOUS :: mem

memory to allocate

integer, intent(in) :: n

length of elements to allocate

type(dbcsr_memtype_type), intent(in) :: mem_type

memory type

private subroutine mem_alloc_c(mem, n, mem_type)

Allocates memory

Arguments

Type IntentOptional Attributes Name
complex(kind=real_4), DIMENSION(:), POINTER, CONTIGUOUS :: mem

memory to allocate

integer, intent(in) :: n

length of elements to allocate

type(dbcsr_memtype_type), intent(in) :: mem_type

memory type

private subroutine mem_alloc_z(mem, n, mem_type)

Allocates memory

Arguments

Type IntentOptional Attributes Name
complex(kind=real_8), DIMENSION(:), POINTER, CONTIGUOUS :: mem

memory to allocate

integer, intent(in) :: n

length of elements to allocate

type(dbcsr_memtype_type), intent(in) :: mem_type

memory type

private subroutine mem_alloc_i_2d(mem, sizes, mem_type)

Allocates memory

Arguments

Type IntentOptional Attributes Name
integer(kind=int_4), DIMENSION(:, :), POINTER :: mem

memory to allocate

integer, intent(in), DIMENSION(2) :: sizes

length of elements to allocate

type(dbcsr_memtype_type), intent(in) :: mem_type

memory type

private subroutine mem_alloc_l_2d(mem, sizes, mem_type)

Allocates memory

Arguments

Type IntentOptional Attributes Name
integer(kind=int_8), DIMENSION(:, :), POINTER :: mem

memory to allocate

integer, intent(in), DIMENSION(2) :: sizes

length of elements to allocate

type(dbcsr_memtype_type), intent(in) :: mem_type

memory type

private subroutine mem_alloc_s_2d(mem, sizes, mem_type)

Allocates memory

Arguments

Type IntentOptional Attributes Name
real(kind=real_4), DIMENSION(:, :), POINTER :: mem

memory to allocate

integer, intent(in), DIMENSION(2) :: sizes

length of elements to allocate

type(dbcsr_memtype_type), intent(in) :: mem_type

memory type

private subroutine mem_alloc_d_2d(mem, sizes, mem_type)

Allocates memory

Arguments

Type IntentOptional Attributes Name
real(kind=real_8), DIMENSION(:, :), POINTER :: mem

memory to allocate

integer, intent(in), DIMENSION(2) :: sizes

length of elements to allocate

type(dbcsr_memtype_type), intent(in) :: mem_type

memory type

private subroutine mem_alloc_c_2d(mem, sizes, mem_type)

Allocates memory

Arguments

Type IntentOptional Attributes Name
complex(kind=real_4), DIMENSION(:, :), POINTER :: mem

memory to allocate

integer, intent(in), DIMENSION(2) :: sizes

length of elements to allocate

type(dbcsr_memtype_type), intent(in) :: mem_type

memory type

private subroutine mem_alloc_z_2d(mem, sizes, mem_type)

Allocates memory

Arguments

Type IntentOptional Attributes Name
complex(kind=real_8), DIMENSION(:, :), POINTER :: mem

memory to allocate

integer, intent(in), DIMENSION(2) :: sizes

length of elements to allocate

type(dbcsr_memtype_type), intent(in) :: mem_type

memory type