m_allocate Module

module~~m_allocate~~UsesGraph module~m_allocate m_allocate module~variablekind variableKind module~variablekind->module~m_allocate module~m_errors m_errors module~variablekind->module~m_errors module~m_unittester m_unitTester module~variablekind->module~m_unittester module~m_errors->module~m_allocate module~m_errors->module~m_unittester module~m_unittester->module~m_allocate iso_fortran_env iso_fortran_env iso_fortran_env->module~variablekind iso_fortran_env->module~m_errors iso_fortran_env->module~m_unittester
Help

Contains fundamental interface to allocate allocatable arrays of different types and shapes

See allocate for more information.

Used By

module~~m_allocate~~UsedByGraph module~m_allocate m_allocate module~idynamicarray_class iDynamicArray_Class module~m_allocate->module~idynamicarray_class program~scaletest_coretran scaleTest_coretran module~m_allocate->program~scaletest_coretran module~prng_class Prng_Class module~m_allocate->module~prng_class module~m_kdtree m_KdTree module~m_allocate->module~m_kdtree module~m_copy m_copy module~m_allocate->module~m_copy module~m_array1d m_array1D module~m_allocate->module~m_array1d module~m_random m_random module~m_allocate->module~m_random module~m_maths m_maths module~m_allocate->module~m_maths module~iddynamicarray_class idDynamicArray_Class module~m_allocate->module~iddynamicarray_class module~m_tests m_tests module~m_allocate->module~m_tests module~ddynamicarray_class dDynamicArray_Class module~m_allocate->module~ddynamicarray_class module~rdynamicarray_class rDynamicArray_Class module~m_allocate->module~rdynamicarray_class module~m_reallocate m_reallocate module~m_allocate->module~m_reallocate module~idynamicarray_class->module~m_kdtree module~idynamicarray_class->module~m_tests module~dargdynamicarray_class dArgDynamicArray_Class module~idynamicarray_class->module~dargdynamicarray_class module~iargdynamicarray_class iArgDynamicArray_Class module~idynamicarray_class->module~iargdynamicarray_class module~rargdynamicarray_class rArgDynamicArray_Class module~idynamicarray_class->module~rargdynamicarray_class module~idargdynamicarray_class idArgDynamicArray_Class module~idynamicarray_class->module~idargdynamicarray_class module~prng_class->module~m_random module~prng_class->module~m_tests module~m_kdtree->program~scaletest_coretran module~m_kdtree->module~m_tests module~m_copy->program~scaletest_coretran module~m_copy->module~m_tests module~m_array1d->program~scaletest_coretran module~m_array1d->module~m_kdtree module~m_array1d->module~m_maths module~m_array1d->module~m_tests module~m_random->program~scaletest_coretran module~m_random->module~m_array1d module~m_random->module~m_tests program~test_coretran test_coretran module~m_random->program~test_coretran module~m_maths->program~scaletest_coretran module~m_maths->module~m_kdtree module~m_maths->module~m_tests module~iddynamicarray_class->module~m_tests module~iddynamicarray_class->module~idargdynamicarray_class module~m_tests->program~test_coretran module~ddynamicarray_class->module~m_tests module~ddynamicarray_class->module~dargdynamicarray_class module~rdynamicarray_class->module~m_tests module~rdynamicarray_class->module~rargdynamicarray_class module~m_reallocate->module~idynamicarray_class module~m_reallocate->program~scaletest_coretran module~m_reallocate->module~iddynamicarray_class module~m_reallocate->module~m_tests module~m_reallocate->module~ddynamicarray_class module~m_reallocate->module~rdynamicarray_class module~dargdynamicarray_class->module~m_kdtree module~dargdynamicarray_class->module~m_tests module~iargdynamicarray_class->module~m_tests module~rargdynamicarray_class->module~m_tests module~idargdynamicarray_class->module~m_tests
Help


Interfaces

public interface allocate

Allocate an allocatable array. If the array is already allocated, memory is reallocated to the given size, unless no size change will occur. The allocated memory is NOT initialized to any value, so be sure to do so afterwards if you call allocate.

  • public subroutine allocate_r1D(this, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    real(kind=r32), intent(inout), allocatable:: this(:)

    1D array

    integer(kind=i32), intent(in) :: n

    Allocation size

  • public subroutine allocate_r2D(this, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    real(kind=r32), intent(inout), allocatable:: this(:,:)

    2D array

    integer(kind=i32), intent(in) :: n(2)

    Allocation size

  • public subroutine allocate_r3D(this, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    real(kind=r32), intent(inout), allocatable:: this(:,:,:)

    3D array

    integer(kind=i32), intent(in) :: n(3)

    Allocation size

  • public subroutine allocate_lb_r1D(this, lb, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    real(kind=r32), intent(inout), allocatable:: this(:)

    1D array

    integer(kind=i32), intent(in) :: lb

    Lower index

    integer(kind=i32), intent(in) :: n

    Allocation size

  • public subroutine allocate_lb_r2D(this, lb, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    real(kind=r32), intent(inout), allocatable:: this(:,:)

    2D array

    integer(kind=i32), intent(in) :: lb(2)

    Lower index

    integer(kind=i32), intent(in) :: n(2)

    Allocation size

  • public subroutine allocate_lb_r3D(this, lb, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    real(kind=r32), intent(inout), allocatable:: this(:,:,:)

    3D array

    integer(kind=i32), intent(in) :: lb(3)

    Lower index

    integer(kind=i32), intent(in) :: n(3)

    Allocation size

  • public subroutine allocate_d1D(this, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    real(kind=r64), intent(inout), allocatable:: this(:)

    1D array

    integer(kind=i32), intent(in) :: n

    Allocation size

  • public subroutine allocate_d2D(this, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    real(kind=r64), intent(inout), allocatable:: this(:,:)

    2D array

    integer(kind=i32), intent(in) :: n(2)

    Allocation size

  • public subroutine allocate_d3D(this, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    real(kind=r64), intent(inout), allocatable:: this(:,:,:)

    3D array

    integer(kind=i32), intent(in) :: n(3)

    Allocation size

  • public subroutine allocate_lb_d1D(this, lb, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    real(kind=r64), intent(inout), allocatable:: this(:)

    1D array

    integer(kind=i32), intent(in) :: lb

    Lower index

    integer(kind=i32), intent(in) :: n

    Allocation size

  • public subroutine allocate_lb_d2D(this, lb, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    real(kind=r64), intent(inout), allocatable:: this(:,:)

    2D array

    integer(kind=i32), intent(in) :: lb(2)

    Lower index

    integer(kind=i32), intent(in) :: n(2)

    Allocation size

  • public subroutine allocate_lb_d3D(this, lb, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    real(kind=r64), intent(inout), allocatable:: this(:,:,:)

    3D array

    integer(kind=i32), intent(in) :: lb(3)

    Lower index

    integer(kind=i32), intent(in) :: n(3)

    Allocation size

  • public subroutine allocate_i1D(this, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    integer(kind=i32), intent(inout), allocatable:: this(:)

    1D array

    integer(kind=i32), intent(in) :: n

    Allocation size

  • public subroutine allocate_i2D(this, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    integer(kind=i32), intent(inout), allocatable:: this(:,:)

    2D array

    integer(kind=i32), intent(in) :: n(2)

    Allocation size

  • public subroutine allocate_i3D(this, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    integer(kind=i32), intent(inout), allocatable:: this(:,:,:)

    3D array

    integer(kind=i32), intent(in) :: n(3)

    Allocation size

  • public subroutine allocate_lb_i1D(this, lb, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    integer(kind=i32), intent(inout), allocatable:: this(:)

    1D array

    integer(kind=i32), intent(in) :: lb

    Lower index

    integer(kind=i32), intent(in) :: n

    Allocation size

  • public subroutine allocate_lb_i2D(this, lb, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    integer(kind=i32), intent(inout), allocatable:: this(:,:)

    2D array

    integer(kind=i32), intent(in) :: lb(2)

    Lower index

    integer(kind=i32), intent(in) :: n(2)

    Allocation size

  • public subroutine allocate_lb_i3D(this, lb, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    integer(kind=i32), intent(inout), allocatable:: this(:,:,:)

    3D array

    integer(kind=i32), intent(in) :: lb(3)

    Lower index

    integer(kind=i32), intent(in) :: n(3)

    Allocation size

  • public subroutine allocate_id1D(this, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    integer(kind=i64), intent(inout), allocatable:: this(:)

    1D array

    integer(kind=i32), intent(in) :: n

    Allocation size

  • public subroutine allocate_id2D(this, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    integer(kind=i64), intent(inout), allocatable:: this(:,:)

    2D array

    integer(kind=i32), intent(in) :: n(2)

    Allocation size

  • public subroutine allocate_id3D(this, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    integer(kind=i64), intent(inout), allocatable:: this(:,:,:)

    3D array

    integer(kind=i32), intent(in) :: n(3)

    Allocation size

  • public subroutine allocate_lb_id1D(this, lb, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    integer(kind=i64), intent(inout), allocatable:: this(:)

    1D array

    integer(kind=i32), intent(in) :: lb

    Lower index

    integer(kind=i32), intent(in) :: n

    Allocation size

  • public subroutine allocate_lb_id2D(this, lb, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    integer(kind=i64), intent(inout), allocatable:: this(:,:)

    2D array

    integer(kind=i32), intent(in) :: lb(2)

    Lower index

    integer(kind=i32), intent(in) :: n(2)

    Allocation size

  • public subroutine allocate_lb_id3D(this, lb, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    integer(kind=i64), intent(inout), allocatable:: this(:,:,:)

    3D array

    integer(kind=i32), intent(in) :: lb(3)

    Lower index

    integer(kind=i32), intent(in) :: n(3)

    Allocation size

  • public subroutine allocate_c1D(this, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    complex(kind=r32), intent(inout), allocatable:: this(:)

    1D array

    integer(kind=i32), intent(in) :: n

    Allocation size

  • public subroutine allocate_c2D(this, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    complex(kind=r32), intent(inout), allocatable:: this(:,:)

    2D array

    integer(kind=i32), intent(in) :: n(2)

    Allocation size

  • public subroutine allocate_c3D(this, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    complex(kind=r32), intent(inout), allocatable:: this(:,:,:)

    3D array

    integer(kind=i32), intent(in) :: n(3)

    Allocation size

  • public subroutine allocate_lb_c1D(this, lb, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    complex(kind=r32), intent(inout), allocatable:: this(:)

    1D array

    integer(kind=i32), intent(in) :: lb

    Lower index

    integer(kind=i32), intent(in) :: n

    Allocation size

  • public subroutine allocate_lb_c2D(this, lb, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    complex(kind=r32), intent(inout), allocatable:: this(:,:)

    2D array

    integer(kind=i32), intent(in) :: lb(2)

    Lower index

    integer(kind=i32), intent(in) :: n(2)

    Allocation size

  • public subroutine allocate_lb_c3D(this, lb, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    complex(kind=r32), intent(inout), allocatable:: this(:,:,:)

    3D array

    integer(kind=i32), intent(in) :: lb(3)

    Lower index

    integer(kind=i32), intent(in) :: n(3)

    Allocation size

  • public subroutine allocate_z1D(this, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    complex(kind=r64), intent(inout), allocatable:: this(:)

    1D array

    integer(kind=i32), intent(in) :: n

    Allocation size

  • public subroutine allocate_z2D(this, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    complex(kind=r64), intent(inout), allocatable:: this(:,:)

    2D array

    integer(kind=i32), intent(in) :: n(2)

    Allocation size

  • public subroutine allocate_z3D(this, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    complex(kind=r64), intent(inout), allocatable:: this(:,:,:)

    3D array

    integer(kind=i32), intent(in) :: n(3)

    Allocation size

  • public subroutine allocate_lb_z1D(this, lb, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    complex(kind=r64), intent(inout), allocatable:: this(:)

    1D array

    integer(kind=i32), intent(in) :: lb

    Lower index

    integer(kind=i32), intent(in) :: n

    Allocation size

  • public subroutine allocate_lb_z2D(this, lb, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    complex(kind=r64), intent(inout), allocatable:: this(:,:)

    2D array

    integer(kind=i32), intent(in) :: lb(2)

    Lower index

    integer(kind=i32), intent(in) :: n(2)

    Allocation size

  • public subroutine allocate_lb_z3D(this, lb, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    complex(kind=r64), intent(inout), allocatable:: this(:,:,:)

    3D array

    integer(kind=i32), intent(in) :: lb(3)

    Lower index

    integer(kind=i32), intent(in) :: n(3)

    Allocation size

  • public subroutine allocate_l1D(this, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    logical, intent(inout), allocatable:: this(:)

    1D array

    integer(kind=i32), intent(in) :: n

    Allocation size

  • public subroutine allocate_l2D(this, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    logical, intent(inout), allocatable:: this(:,:)

    2D array

    integer(kind=i32), intent(in) :: n(2)

    Allocation size

  • public subroutine allocate_l3D(this, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    logical, intent(inout), allocatable:: this(:,:,:)

    3D array

    integer(kind=i32), intent(in) :: n(3)

    Allocation size

  • public subroutine allocate_lb_l1D(this, lb, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    logical, intent(inout), allocatable:: this(:)

    1D array

    integer(kind=i32), intent(in) :: lb

    Lower index

    integer(kind=i32), intent(in) :: n

    Allocation size

  • public subroutine allocate_lb_l2D(this, lb, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    logical, intent(inout), allocatable:: this(:,:)

    2D array

    integer(kind=i32), intent(in) :: lb(2)

    Lower index

    integer(kind=i32), intent(in) :: n(2)

    Allocation size

  • public subroutine allocate_lb_l3D(this, lb, n)

    Interfaced with allocate

    Arguments

    Type IntentOptional AttributesName
    logical, intent(inout), allocatable:: this(:,:,:)

    3D array

    integer(kind=i32), intent(in) :: lb(3)

    Lower index

    integer(kind=i32), intent(in) :: n(3)

    Allocation size