Contains fundamental interface to allocate allocatable arrays of different types and shapes
See allocate for more information.
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.
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r32), | intent(inout), | allocatable | :: | this(:) | 1D array |
|
integer(kind=i32), | intent(in) | :: | n | Allocation size |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r32), | intent(inout), | allocatable | :: | this(:,:) | 2D array |
|
integer(kind=i32), | intent(in) | :: | n(2) | Allocation size |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r32), | intent(inout), | allocatable | :: | this(:,:,:) | 3D array |
|
integer(kind=i32), | intent(in) | :: | n(3) | Allocation size |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64), | intent(inout), | allocatable | :: | this(:) | 1D array |
|
integer(kind=i32), | intent(in) | :: | n | Allocation size |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64), | intent(inout), | allocatable | :: | this(:,:) | 2D array |
|
integer(kind=i32), | intent(in) | :: | n(2) | Allocation size |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64), | intent(inout), | allocatable | :: | this(:,:,:) | 3D array |
|
integer(kind=i32), | intent(in) | :: | n(3) | Allocation size |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i32), | intent(inout), | allocatable | :: | this(:) | 1D array |
|
integer(kind=i32), | intent(in) | :: | n | Allocation size |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i32), | intent(inout), | allocatable | :: | this(:,:) | 2D array |
|
integer(kind=i32), | intent(in) | :: | n(2) | Allocation size |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i32), | intent(inout), | allocatable | :: | this(:,:,:) | 3D array |
|
integer(kind=i32), | intent(in) | :: | n(3) | Allocation size |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i64), | intent(inout), | allocatable | :: | this(:) | 1D array |
|
integer(kind=i32), | intent(in) | :: | n | Allocation size |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i64), | intent(inout), | allocatable | :: | this(:,:) | 2D array |
|
integer(kind=i32), | intent(in) | :: | n(2) | Allocation size |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i64), | intent(inout), | allocatable | :: | this(:,:,:) | 3D array |
|
integer(kind=i32), | intent(in) | :: | n(3) | Allocation size |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r32), | intent(inout), | allocatable | :: | this(:) | 1D array |
|
integer(kind=i32), | intent(in) | :: | n | Allocation size |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r32), | intent(inout), | allocatable | :: | this(:,:) | 2D array |
|
integer(kind=i32), | intent(in) | :: | n(2) | Allocation size |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r32), | intent(inout), | allocatable | :: | this(:,:,:) | 3D array |
|
integer(kind=i32), | intent(in) | :: | n(3) | Allocation size |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r64), | intent(inout), | allocatable | :: | this(:) | 1D array |
|
integer(kind=i32), | intent(in) | :: | n | Allocation size |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r64), | intent(inout), | allocatable | :: | this(:,:) | 2D array |
|
integer(kind=i32), | intent(in) | :: | n(2) | Allocation size |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r64), | intent(inout), | allocatable | :: | this(:,:,:) | 3D array |
|
integer(kind=i32), | intent(in) | :: | n(3) | Allocation size |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
logical, | intent(inout), | allocatable | :: | this(:) | 1D array |
|
integer(kind=i32), | intent(in) | :: | n | Allocation size |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
logical, | intent(inout), | allocatable | :: | this(:,:) | 2D array |
|
integer(kind=i32), | intent(in) | :: | n(2) | Allocation size |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
logical, | intent(inout), | allocatable | :: | this(:,:,:) | 3D array |
|
integer(kind=i32), | intent(in) | :: | n(3) | Allocation size |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
logical, | intent(inout), | allocatable | :: | this(:) | 1D array |
|
integer(kind=i32), | intent(in) | :: | lb | Lower index |
||
integer(kind=i32), | intent(in) | :: | n | Allocation size |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |
Interfaced with allocate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |