Allocates, reallocates or deallocates a generic array.
More...
|
subroutine | reallocateint (label, array, nw, ierr, preserveContent) |
| Allocate, reallocate or deallocate a one-dimensional integer array. More...
|
|
subroutine | reallocatefloat1d (label, array, nw, ierr) |
| Allocate, reallocate or deallocate a one-dimensional real array. More...
|
|
subroutine | reallocatefloat2d (label, array, n1, n2, ierr) |
| Allocate, reallocate or deallocate a two-dimensional real array. More...
|
|
subroutine | reallocatedouble1d (label, array, nw, ierr, preserveContent) |
| Allocate, reallocate or deallocate a one-dimensional real array. More...
|
|
subroutine | reallocatedouble2d (label, array, n1, n2, ierr) |
| Allocate, reallocate or deallocate a two-dimensional real array. More...
|
|
subroutine | reallocateint8 (label, array, nw, ierr, preserveContent) |
| Allocate, reallocate or deallocate a one-dimensional integer array. More...
|
|
subroutine | reallocatebigdouble1d (label, array, nw, ierr) |
| Allocate, reallocate or deallocate a big one-dimensional real array. More...
|
|
Allocates, reallocates or deallocates a generic array.
◆ reallocatebigdouble1d()
subroutine allocationmodule::reallocate::reallocatebigdouble1d |
( |
character(len=*), intent(in) |
label, |
|
|
real(dp), dimension(:), pointer |
array, |
|
|
integer(i8), intent(in) |
nw, |
|
|
integer, intent(inout) |
ierr |
|
) |
| |
|
private |
Allocate, reallocate or deallocate a big one-dimensional real array.
- Parameters
-
[in] | label | Name of calling subroutine (for memory logging) |
| array | The double precision real array to (re)allocate |
[in] | nw | Number of words in array after reallocation |
[out] | ierr | Error flag |
This subroutine is used for arrays that may contain more than 2^31 words, which is the largest number that can be represented by normal 4-byte integer variables.
- Author
- Knut Morten Okstad
- Date
- 12 May 2017
◆ reallocatedouble1d()
subroutine allocationmodule::reallocate::reallocatedouble1d |
( |
character(len=*), intent(in) |
label, |
|
|
real(dp), dimension(:), pointer |
array, |
|
|
integer, intent(in), optional |
nw, |
|
|
integer, intent(inout), optional |
ierr, |
|
|
logical, intent(in), optional |
preserveContent |
|
) |
| |
|
private |
Allocate, reallocate or deallocate a one-dimensional real array.
- Parameters
-
[in] | label | Name of calling subroutine (for memory logging) |
| array | The double precision real array to (re)allocate |
[in] | nw | Number of words in array after reallocation |
[out] | ierr | Error flag |
[in] | preserveContent | If .true., the existing contents is preserved when the array is reallocated |
◆ reallocatedouble2d()
subroutine allocationmodule::reallocate::reallocatedouble2d |
( |
character(len=*), intent(in) |
label, |
|
|
real(dp), dimension(:,:), pointer |
array, |
|
|
integer, intent(in), optional |
n1, |
|
|
integer, intent(in), optional |
n2, |
|
|
integer, intent(inout), optional |
ierr |
|
) |
| |
|
private |
Allocate, reallocate or deallocate a two-dimensional real array.
- Parameters
-
[in] | label | Name of calling subroutine (for memory logging) |
| array | The double precision real array to (re)allocate |
[in] | n1 | Number of rows in array after reallocation |
[in] | n2 | Number of columns in array after reallocation |
[out] | ierr | Error flag |
◆ reallocatefloat1d()
subroutine allocationmodule::reallocate::reallocatefloat1d |
( |
character(len=*), intent(in) |
label, |
|
|
real(sp), dimension(:), pointer |
array, |
|
|
integer, intent(in), optional |
nw, |
|
|
integer, intent(inout), optional |
ierr |
|
) |
| |
|
private |
Allocate, reallocate or deallocate a one-dimensional real array.
- Parameters
-
[in] | label | Name of calling subroutine (for memory logging) |
| array | The single precision real array to (re)allocate |
[in] | nw | Number of words in array after reallocation |
[out] | ierr | Error flag |
- Author
- Knut Morten Okstad
- Date
- 30 Dec 2004
◆ reallocatefloat2d()
subroutine allocationmodule::reallocate::reallocatefloat2d |
( |
character(len=*), intent(in) |
label, |
|
|
real(sp), dimension(:,:), pointer |
array, |
|
|
integer, intent(in), optional |
n1, |
|
|
integer, intent(in), optional |
n2, |
|
|
integer, intent(inout), optional |
ierr |
|
) |
| |
|
private |
Allocate, reallocate or deallocate a two-dimensional real array.
- Parameters
-
[in] | label | Name of calling subroutine (for memory logging) |
| array | The single precision real array to (re)allocate |
[in] | n1 | Number of rows in array after reallocation |
[in] | n2 | Number of columns in array after reallocation |
[out] | ierr | Error flag |
◆ reallocateint()
subroutine allocationmodule::reallocate::reallocateint |
( |
character(len=*), intent(in) |
label, |
|
|
integer, dimension(:), pointer |
array, |
|
|
integer, intent(in), optional |
nw, |
|
|
integer, intent(inout), optional |
ierr, |
|
|
logical, intent(in), optional |
preserveContent |
|
) |
| |
|
private |
Allocate, reallocate or deallocate a one-dimensional integer array.
- Parameters
-
[in] | label | Name of calling subroutine (for memory logging) |
| array | The integer array to (re)allocate |
[in] | nw | Number of words in array after reallocation |
[out] | ierr | Error flag |
[in] | preserveContent | If .true., the existing contents is preserved when the array is reallocated |
◆ reallocateint8()
subroutine allocationmodule::reallocate::reallocateint8 |
( |
character(len=*), intent(in) |
label, |
|
|
integer(i8), dimension(:), pointer |
array, |
|
|
integer, intent(in), optional |
nw, |
|
|
integer, intent(inout), optional |
ierr, |
|
|
logical, intent(in), optional |
preserveContent |
|
) |
| |
|
private |
Allocate, reallocate or deallocate a one-dimensional integer array.
- Parameters
-
[in] | label | Name of calling subroutine (for memory logging) |
| array | The integer*8 array to (re)allocate |
[in] | nw | Number of words in array after reallocation |
[out] | ierr | Error flag |
[in] | preserveContent | If .true., the existing contents is preserved when the array is reallocated |
The documentation for this interface was generated from the following file: