append a value to the dynamic array and return its position.
append a single value to the growing 2d array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_long2darray_type) | :: | me | array to append the value to |
|||
integer(kind=long_k), | intent(in) | :: | val | value to append |
||
integer, | intent(in) | :: | pos1 | position in first dimension (cannot grow) |
||
integer, | intent(out), | optional | :: | pos2 | the position in second dimension the element were added to |
|
integer, | intent(in), | optional | :: | length | optional length to expand the array |
append an array of values to the growing 2d array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_long2darray_type) | :: | me | array to append the value to |
|||
integer(kind=long_k), | intent(in) | :: | val(:) | array of values to append |
||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
|
integer, | intent(out), | optional | :: | pos | the position in second dimension the elements were added to |