dbcsr_allocate_wrap Module

Wrapper for allocating, copying and reshaping arrays.

Todo

with fortran 2008 support, this should be replaced by plain ALLOCATE

Note

in particular ALLOCATE(..., SOURCE=...) does not work in gcc 5.4.0, see also https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44672



Interfaces

public interface allocate_any

  • private subroutine allocate_1d_r_dp(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    real(kind=real_8), intent(out), DIMENSION(:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(1) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    real(kind=real_8), intent(in), optional, DIMENSION(:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(1) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_2d_r_dp(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    real(kind=real_8), intent(out), DIMENSION(:,:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(2) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    real(kind=real_8), intent(in), optional, DIMENSION(:,:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(2) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_3d_r_dp(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    real(kind=real_8), intent(out), DIMENSION(:,:,:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(3) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    real(kind=real_8), intent(in), optional, DIMENSION(:,:,:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(3) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_4d_r_dp(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    real(kind=real_8), intent(out), DIMENSION(:,:,:,:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(4) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    real(kind=real_8), intent(in), optional, DIMENSION(:,:,:,:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(4) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_5d_r_dp(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    real(kind=real_8), intent(out), DIMENSION(:,:,:,:,:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(5) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    real(kind=real_8), intent(in), optional, DIMENSION(:,:,:,:,:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(5) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_6d_r_dp(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    real(kind=real_8), intent(out), DIMENSION(:,:,:,:,:,:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(6) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    real(kind=real_8), intent(in), optional, DIMENSION(:,:,:,:,:,:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(6) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_7d_r_dp(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    real(kind=real_8), intent(out), DIMENSION(:,:,:,:,:,:,:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(7) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    real(kind=real_8), intent(in), optional, DIMENSION(:,:,:,:,:,:,:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(7) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_1d_r_sp(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    real(kind=real_4), intent(out), DIMENSION(:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(1) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    real(kind=real_4), intent(in), optional, DIMENSION(:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(1) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_2d_r_sp(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    real(kind=real_4), intent(out), DIMENSION(:,:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(2) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    real(kind=real_4), intent(in), optional, DIMENSION(:,:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(2) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_3d_r_sp(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    real(kind=real_4), intent(out), DIMENSION(:,:,:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(3) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    real(kind=real_4), intent(in), optional, DIMENSION(:,:,:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(3) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_4d_r_sp(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    real(kind=real_4), intent(out), DIMENSION(:,:,:,:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(4) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    real(kind=real_4), intent(in), optional, DIMENSION(:,:,:,:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(4) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_5d_r_sp(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    real(kind=real_4), intent(out), DIMENSION(:,:,:,:,:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(5) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    real(kind=real_4), intent(in), optional, DIMENSION(:,:,:,:,:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(5) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_6d_r_sp(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    real(kind=real_4), intent(out), DIMENSION(:,:,:,:,:,:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(6) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    real(kind=real_4), intent(in), optional, DIMENSION(:,:,:,:,:,:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(6) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_7d_r_sp(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    real(kind=real_4), intent(out), DIMENSION(:,:,:,:,:,:,:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(7) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    real(kind=real_4), intent(in), optional, DIMENSION(:,:,:,:,:,:,:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(7) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_1d_c_dp(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    complex(kind=real_8), intent(out), DIMENSION(:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(1) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    complex(kind=real_8), intent(in), optional, DIMENSION(:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(1) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_2d_c_dp(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    complex(kind=real_8), intent(out), DIMENSION(:,:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(2) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    complex(kind=real_8), intent(in), optional, DIMENSION(:,:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(2) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_3d_c_dp(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    complex(kind=real_8), intent(out), DIMENSION(:,:,:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(3) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    complex(kind=real_8), intent(in), optional, DIMENSION(:,:,:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(3) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_4d_c_dp(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    complex(kind=real_8), intent(out), DIMENSION(:,:,:,:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(4) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    complex(kind=real_8), intent(in), optional, DIMENSION(:,:,:,:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(4) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_5d_c_dp(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    complex(kind=real_8), intent(out), DIMENSION(:,:,:,:,:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(5) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    complex(kind=real_8), intent(in), optional, DIMENSION(:,:,:,:,:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(5) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_6d_c_dp(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    complex(kind=real_8), intent(out), DIMENSION(:,:,:,:,:,:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(6) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    complex(kind=real_8), intent(in), optional, DIMENSION(:,:,:,:,:,:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(6) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_7d_c_dp(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    complex(kind=real_8), intent(out), DIMENSION(:,:,:,:,:,:,:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(7) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    complex(kind=real_8), intent(in), optional, DIMENSION(:,:,:,:,:,:,:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(7) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_1d_c_sp(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    complex(kind=real_4), intent(out), DIMENSION(:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(1) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    complex(kind=real_4), intent(in), optional, DIMENSION(:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(1) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_2d_c_sp(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    complex(kind=real_4), intent(out), DIMENSION(:,:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(2) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    complex(kind=real_4), intent(in), optional, DIMENSION(:,:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(2) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_3d_c_sp(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    complex(kind=real_4), intent(out), DIMENSION(:,:,:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(3) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    complex(kind=real_4), intent(in), optional, DIMENSION(:,:,:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(3) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_4d_c_sp(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    complex(kind=real_4), intent(out), DIMENSION(:,:,:,:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(4) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    complex(kind=real_4), intent(in), optional, DIMENSION(:,:,:,:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(4) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_5d_c_sp(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    complex(kind=real_4), intent(out), DIMENSION(:,:,:,:,:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(5) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    complex(kind=real_4), intent(in), optional, DIMENSION(:,:,:,:,:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(5) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_6d_c_sp(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    complex(kind=real_4), intent(out), DIMENSION(:,:,:,:,:,:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(6) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    complex(kind=real_4), intent(in), optional, DIMENSION(:,:,:,:,:,:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(6) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_7d_c_sp(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    complex(kind=real_4), intent(out), DIMENSION(:,:,:,:,:,:,:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(7) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    complex(kind=real_4), intent(in), optional, DIMENSION(:,:,:,:,:,:,:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(7) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_1d_i(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(out), DIMENSION(:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(1) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    integer, intent(in), optional, DIMENSION(:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(1) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_2d_i(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(out), DIMENSION(:,:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(2) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    integer, intent(in), optional, DIMENSION(:,:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(2) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_3d_i(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(out), DIMENSION(:,:,:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(3) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    integer, intent(in), optional, DIMENSION(:,:,:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(3) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_4d_i(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(out), DIMENSION(:,:,:,:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(4) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    integer, intent(in), optional, DIMENSION(:,:,:,:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(4) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_5d_i(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(out), DIMENSION(:,:,:,:,:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(5) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    integer, intent(in), optional, DIMENSION(:,:,:,:,:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(5) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_6d_i(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(out), DIMENSION(:,:,:,:,:,:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(6) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    integer, intent(in), optional, DIMENSION(:,:,:,:,:,:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(6) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).

  • private subroutine allocate_7d_i(array, shape_spec, source, order)

    Allocate array according to shape_spec. Possibly assign array from source.

    Note

    this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank.

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(out), DIMENSION(:,:,:,:,:,:,:), ALLOCATABLE :: array

    target array.

    integer, intent(in), optional, DIMENSION(7) :: shape_spec

    shape of array to be allocated. If shape is not specified, it is derived from source.

    integer, intent(in), optional, DIMENSION(:,:,:,:,:,:,:) :: source

    source array to be copied to target array, must have same rank as target array.

    integer, intent(in), optional, DIMENSION(7) :: order

    in which order to copy source to array (same convention as RESHAPE intrinsic).


Subroutines

private subroutine allocate_1d_r_dp(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=real_8), intent(out), DIMENSION(:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(1) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

real(kind=real_8), intent(in), optional, DIMENSION(:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(1) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_2d_r_dp(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=real_8), intent(out), DIMENSION(:,:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(2) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

real(kind=real_8), intent(in), optional, DIMENSION(:,:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(2) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_3d_r_dp(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=real_8), intent(out), DIMENSION(:,:,:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(3) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

real(kind=real_8), intent(in), optional, DIMENSION(:,:,:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(3) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_4d_r_dp(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=real_8), intent(out), DIMENSION(:,:,:,:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(4) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

real(kind=real_8), intent(in), optional, DIMENSION(:,:,:,:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(4) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_5d_r_dp(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=real_8), intent(out), DIMENSION(:,:,:,:,:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(5) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

real(kind=real_8), intent(in), optional, DIMENSION(:,:,:,:,:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(5) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_6d_r_dp(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=real_8), intent(out), DIMENSION(:,:,:,:,:,:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(6) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

real(kind=real_8), intent(in), optional, DIMENSION(:,:,:,:,:,:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(6) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_7d_r_dp(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=real_8), intent(out), DIMENSION(:,:,:,:,:,:,:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(7) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

real(kind=real_8), intent(in), optional, DIMENSION(:,:,:,:,:,:,:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(7) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_1d_r_sp(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=real_4), intent(out), DIMENSION(:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(1) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

real(kind=real_4), intent(in), optional, DIMENSION(:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(1) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_2d_r_sp(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=real_4), intent(out), DIMENSION(:,:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(2) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

real(kind=real_4), intent(in), optional, DIMENSION(:,:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(2) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_3d_r_sp(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=real_4), intent(out), DIMENSION(:,:,:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(3) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

real(kind=real_4), intent(in), optional, DIMENSION(:,:,:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(3) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_4d_r_sp(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=real_4), intent(out), DIMENSION(:,:,:,:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(4) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

real(kind=real_4), intent(in), optional, DIMENSION(:,:,:,:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(4) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_5d_r_sp(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=real_4), intent(out), DIMENSION(:,:,:,:,:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(5) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

real(kind=real_4), intent(in), optional, DIMENSION(:,:,:,:,:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(5) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_6d_r_sp(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=real_4), intent(out), DIMENSION(:,:,:,:,:,:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(6) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

real(kind=real_4), intent(in), optional, DIMENSION(:,:,:,:,:,:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(6) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_7d_r_sp(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=real_4), intent(out), DIMENSION(:,:,:,:,:,:,:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(7) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

real(kind=real_4), intent(in), optional, DIMENSION(:,:,:,:,:,:,:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(7) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_1d_c_dp(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
complex(kind=real_8), intent(out), DIMENSION(:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(1) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

complex(kind=real_8), intent(in), optional, DIMENSION(:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(1) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_2d_c_dp(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
complex(kind=real_8), intent(out), DIMENSION(:,:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(2) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

complex(kind=real_8), intent(in), optional, DIMENSION(:,:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(2) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_3d_c_dp(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
complex(kind=real_8), intent(out), DIMENSION(:,:,:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(3) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

complex(kind=real_8), intent(in), optional, DIMENSION(:,:,:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(3) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_4d_c_dp(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
complex(kind=real_8), intent(out), DIMENSION(:,:,:,:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(4) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

complex(kind=real_8), intent(in), optional, DIMENSION(:,:,:,:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(4) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_5d_c_dp(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
complex(kind=real_8), intent(out), DIMENSION(:,:,:,:,:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(5) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

complex(kind=real_8), intent(in), optional, DIMENSION(:,:,:,:,:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(5) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_6d_c_dp(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
complex(kind=real_8), intent(out), DIMENSION(:,:,:,:,:,:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(6) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

complex(kind=real_8), intent(in), optional, DIMENSION(:,:,:,:,:,:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(6) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_7d_c_dp(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
complex(kind=real_8), intent(out), DIMENSION(:,:,:,:,:,:,:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(7) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

complex(kind=real_8), intent(in), optional, DIMENSION(:,:,:,:,:,:,:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(7) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_1d_c_sp(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
complex(kind=real_4), intent(out), DIMENSION(:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(1) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

complex(kind=real_4), intent(in), optional, DIMENSION(:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(1) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_2d_c_sp(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
complex(kind=real_4), intent(out), DIMENSION(:,:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(2) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

complex(kind=real_4), intent(in), optional, DIMENSION(:,:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(2) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_3d_c_sp(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
complex(kind=real_4), intent(out), DIMENSION(:,:,:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(3) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

complex(kind=real_4), intent(in), optional, DIMENSION(:,:,:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(3) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_4d_c_sp(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
complex(kind=real_4), intent(out), DIMENSION(:,:,:,:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(4) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

complex(kind=real_4), intent(in), optional, DIMENSION(:,:,:,:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(4) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_5d_c_sp(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
complex(kind=real_4), intent(out), DIMENSION(:,:,:,:,:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(5) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

complex(kind=real_4), intent(in), optional, DIMENSION(:,:,:,:,:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(5) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_6d_c_sp(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
complex(kind=real_4), intent(out), DIMENSION(:,:,:,:,:,:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(6) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

complex(kind=real_4), intent(in), optional, DIMENSION(:,:,:,:,:,:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(6) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_7d_c_sp(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
complex(kind=real_4), intent(out), DIMENSION(:,:,:,:,:,:,:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(7) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

complex(kind=real_4), intent(in), optional, DIMENSION(:,:,:,:,:,:,:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(7) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_1d_i(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
integer, intent(out), DIMENSION(:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(1) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

integer, intent(in), optional, DIMENSION(:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(1) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_2d_i(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
integer, intent(out), DIMENSION(:,:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(2) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

integer, intent(in), optional, DIMENSION(:,:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(2) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_3d_i(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
integer, intent(out), DIMENSION(:,:,:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(3) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

integer, intent(in), optional, DIMENSION(:,:,:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(3) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_4d_i(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
integer, intent(out), DIMENSION(:,:,:,:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(4) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

integer, intent(in), optional, DIMENSION(:,:,:,:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(4) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_5d_i(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
integer, intent(out), DIMENSION(:,:,:,:,:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(5) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

integer, intent(in), optional, DIMENSION(:,:,:,:,:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(5) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_6d_i(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
integer, intent(out), DIMENSION(:,:,:,:,:,:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(6) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

integer, intent(in), optional, DIMENSION(:,:,:,:,:,:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(6) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).

private subroutine allocate_7d_i(array, shape_spec, source, order)

Allocate array according to shape_spec. Possibly assign array from source.

Read more…

Arguments

Type IntentOptional Attributes Name
integer, intent(out), DIMENSION(:,:,:,:,:,:,:), ALLOCATABLE :: array

target array.

integer, intent(in), optional, DIMENSION(7) :: shape_spec

shape of array to be allocated. If shape is not specified, it is derived from source.

integer, intent(in), optional, DIMENSION(:,:,:,:,:,:,:) :: source

source array to be copied to target array, must have same rank as target array.

integer, intent(in), optional, DIMENSION(7) :: order

in which order to copy source to array (same convention as RESHAPE intrinsic).