append an entry to an allocatable array 1d with integer If the array is too small, reallocate with double size
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(inout), | allocatable | :: | Array(:) | array to resize |
|
integer, | intent(in) | :: | Newsize | new size of the array |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=rk), | private, | allocatable | :: | tempArray(:) | |||
integer, | private | :: | ierr |