memory_allocate Interface

public interface memory_allocate

Contents


Module Procedures

private subroutine mem_alloc_i(mem, n, mem_type)

Allocates memory

Arguments

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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