m_reallocate Module

module~~m_reallocate~~UsesGraph module~m_reallocate m_reallocate module~m_allocate m_allocate module~m_allocate->module~m_reallocate module~variablekind variableKind module~variablekind->module~m_reallocate 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_reallocate 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 routines to re-allocate allocatable arrays

Copies the original values after reallocation. If you don't need to copy the values, use 'call allocate()' instead

Used By

module~~m_reallocate~~UsedByGraph module~m_reallocate m_reallocate module~idynamicarray_class iDynamicArray_Class module~m_reallocate->module~idynamicarray_class program~scaletest_coretran scaleTest_coretran module~m_reallocate->program~scaletest_coretran module~iddynamicarray_class idDynamicArray_Class module~m_reallocate->module~iddynamicarray_class module~m_tests m_tests module~m_reallocate->module~m_tests module~ddynamicarray_class dDynamicArray_Class module~m_reallocate->module~ddynamicarray_class module~rdynamicarray_class rDynamicArray_Class module~m_reallocate->module~rdynamicarray_class module~idynamicarray_class->module~m_tests module~m_kdtree m_KdTree module~idynamicarray_class->module~m_kdtree 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~iddynamicarray_class->module~m_tests module~iddynamicarray_class->module~idargdynamicarray_class program~test_coretran test_coretran 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_kdtree->program~scaletest_coretran module~m_kdtree->module~m_tests module~dargdynamicarray_class->module~m_tests module~dargdynamicarray_class->module~m_kdtree module~iargdynamicarray_class->module~m_tests module~rargdynamicarray_class->module~m_tests module~idargdynamicarray_class->module~m_tests
Help


Interfaces

public interface reallocate

Reallocate an allocatable array

  • private subroutine reallocate_r1D(this, n)

    Interfaced with reallocate()

    Arguments

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

    1D array

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

    New allocation size

  • private subroutine reallocate_r2D(this, n)

    Interfaced with reallocate()

    Arguments

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

    2D array

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

    New allocation shape

  • private subroutine reallocate_r3D(this, n)

    Interfaced with reallocate()

    Arguments

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

    3D array

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

    New allocation shape

  • private subroutine reallocate_d1D(this, n)

    Interfaced with reallocate()

    Arguments

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

    1D array

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

    New allocation size

  • private subroutine reallocate_d2D(this, n)

    Interfaced with reallocate()

    Arguments

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

    2D array

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

    New allocation shape

  • private subroutine reallocate_d3D(this, n)

    Interfaced with reallocate()

    Arguments

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

    3D array

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

    New allocation shape

  • private subroutine reallocate_i1D(this, n)

    Interfaced with reallocate()

    Arguments

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

    1D array

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

    New allocation size

  • private subroutine reallocate_i2D(this, n)

    Interfaced with reallocate()

    Arguments

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

    2D array

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

    New allocation shape

  • private subroutine reallocate_i3D(this, n)

    Interfaced with reallocate()

    Arguments

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

    3D array

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

    New allocation shape

  • private subroutine reallocate_id1D(this, n)

    Interfaced with reallocate()

    Arguments

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

    1D array

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

    New allocation size

  • private subroutine reallocate_id2D(this, n)

    Interfaced with reallocate()

    Arguments

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

    2D array

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

    New allocation shape

  • private subroutine reallocate_id3D(this, n)

    Interfaced with reallocate()

    Arguments

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

    3D array

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

    New allocation shape

  • private subroutine reallocate_c1D(this, n)

    Interfaced with reallocate()

    Arguments

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

    1D array

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

    New allocation size

  • private subroutine reallocate_c2D(this, n)

    Interfaced with reallocate()

    Arguments

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

    2D array

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

    New allocation shape

  • private subroutine reallocate_c3D(this, n)

    Interfaced with reallocate()

    Arguments

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

    3D array

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

    New allocation shape

  • private subroutine reallocate_z1D(this, n)

    Interfaced with reallocate()

    Arguments

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

    1D array

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

    New allocation size

  • private subroutine reallocate_z2D(this, n)

    Interfaced with reallocate()

    Arguments

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

    2D array

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

    New allocation shape

  • private subroutine reallocate_z3D(this, n)

    Interfaced with reallocate()

    Arguments

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

    3D array

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

    New allocation shape

  • private subroutine reallocate_l1D(this, n)

    Interfaced with reallocate()

    Arguments

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

    1D array

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

    New allocation size

  • private subroutine reallocate_l2D(this, n)

    Interfaced with reallocate()

    Arguments

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

    2D array

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

    New allocation shape

  • private subroutine reallocate_l3D(this, n)

    Interfaced with reallocate()

    Arguments

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

    3D array

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

    New allocation shape