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
Reallocate an allocatable array
Interfaced with reallocate()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r32), | intent(inout), | allocatable | :: | this(:) | 1D array |
|
integer(kind=i32), | intent(in) | :: | n | New allocation size |
Interfaced with reallocate()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r32), | intent(inout), | allocatable | :: | this(:,:) | 2D array |
|
integer(kind=i32), | intent(in) | :: | n(2) | New allocation shape |
Interfaced with reallocate()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r32), | intent(inout), | allocatable | :: | this(:,:,:) | 3D array |
|
integer(kind=i32), | intent(in) | :: | n(3) | New allocation shape |
Interfaced with reallocate()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64), | intent(inout), | allocatable | :: | this(:) | 1D array |
|
integer(kind=i32), | intent(in) | :: | n | New allocation size |
Interfaced with reallocate()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64), | intent(inout), | allocatable | :: | this(:,:) | 2D array |
|
integer(kind=i32), | intent(in) | :: | n(2) | New allocation shape |
Interfaced with reallocate()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64), | intent(inout), | allocatable | :: | this(:,:,:) | 3D array |
|
integer(kind=i32), | intent(in) | :: | n(3) | New allocation shape |
Interfaced with reallocate()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i32), | intent(inout), | allocatable | :: | this(:) | 1D array |
|
integer(kind=i32), | intent(in) | :: | n | New allocation size |
Interfaced with reallocate()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i32), | intent(inout), | allocatable | :: | this(:,:) | 2D array |
|
integer(kind=i32), | intent(in) | :: | n(2) | New allocation shape |
Interfaced with reallocate()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i32), | intent(inout), | allocatable | :: | this(:,:,:) | 3D array |
|
integer(kind=i32), | intent(in) | :: | n(3) | New allocation shape |
Interfaced with reallocate()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i64), | intent(inout), | allocatable | :: | this(:) | 1D array |
|
integer(kind=i32), | intent(in) | :: | n | New allocation size |
Interfaced with reallocate()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i64), | intent(inout), | allocatable | :: | this(:,:) | 2D array |
|
integer(kind=i32), | intent(in) | :: | n(2) | New allocation shape |
Interfaced with reallocate()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i64), | intent(inout), | allocatable | :: | this(:,:,:) | 3D array |
|
integer(kind=i32), | intent(in) | :: | n(3) | New allocation shape |
Interfaced with reallocate()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r32), | intent(inout), | allocatable | :: | this(:) | 1D array |
|
integer(kind=i32), | intent(in) | :: | n | New allocation size |
Interfaced with reallocate()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r32), | intent(inout), | allocatable | :: | this(:,:) | 2D array |
|
integer(kind=i32), | intent(in) | :: | n(2) | New allocation shape |
Interfaced with reallocate()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r32), | intent(inout), | allocatable | :: | this(:,:,:) | 3D array |
|
integer(kind=i32), | intent(in) | :: | n(3) | New allocation shape |
Interfaced with reallocate()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r64), | intent(inout), | allocatable | :: | this(:) | 1D array |
|
integer(kind=i32), | intent(in) | :: | n | New allocation size |
Interfaced with reallocate()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r64), | intent(inout), | allocatable | :: | this(:,:) | 2D array |
|
integer(kind=i32), | intent(in) | :: | n(2) | New allocation shape |
Interfaced with reallocate()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=r64), | intent(inout), | allocatable | :: | this(:,:,:) | 3D array |
|
integer(kind=i32), | intent(in) | :: | n(3) | New allocation shape |
Interfaced with reallocate()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
logical, | intent(inout), | allocatable | :: | this(:) | 1D array |
|
integer(kind=i32), | intent(in) | :: | n | New allocation size |
Interfaced with reallocate()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
logical, | intent(inout), | allocatable | :: | this(:,:) | 2D array |
|
integer(kind=i32), | intent(in) | :: | n(2) | New allocation shape |
Interfaced with reallocate()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
logical, | intent(inout), | allocatable | :: | this(:,:,:) | 3D array |
|
integer(kind=i32), | intent(in) | :: | n(3) | New allocation shape |