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) | :: | Position | position the value is appended to |
||
| integer(kind=int_k), | intent(in) | :: | Value | value to append |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | private, | allocatable | :: | tempArray(:) | |||
| integer, | private | :: | ArraySize | ||||
| integer, | private | :: | ierr | ||||
| integer, | private | :: | NewSize | ||||
| logical, | private | :: | sizeZero |