append an entry to an allocatable array 1d with long integer If the array is too small, reallocate with double size
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=long_k), | intent(inout), | allocatable | :: | Array(:,:) | array to append value to |
|
integer(kind=long_k), | intent(in) | :: | Position1 | |||
integer(kind=long_k), | intent(in) | :: | Position2 | |||
integer(kind=long_k), | intent(in) | :: | Value | value to append |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer(kind=long_k), | private, | allocatable | :: | tempArray(:,:) | |||
integer(kind=long_k), | private | :: | ArraySize1 | ||||
integer(kind=long_k), | private | :: | ArraySize2 | ||||
integer(kind=long_k), | private | :: | ierr | ||||
integer(kind=long_k), | private | :: | NewSize1 | ||||
integer(kind=long_k), | private | :: | NewSize2 | ||||
logical, | private | :: | changeSize | ||||
logical, | private | :: | sizeZero |