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