allocate_5d_c_dp Subroutine

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

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

Arguments

TypeIntentOptionalAttributesName
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).


Contents

None