Module to provide simple growing data structures. The dynamic arrays provided by this module are capable of handling lists of values, which might need to grow over time. Removal of entries is not possible directly. The complete module might be put into a CoCo Text template, to create new modules of this object for different types. For now, two different templates are used for the declaration part and the implementation part.
initialize the dynamic array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_logicalarray_type), | intent(out) | :: | me | |||
integer, | intent(in), | optional | :: | length |
truncate the array, meaning cut off the trailing empty entries
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_logicalarray_type) | :: | me |
empty the entries without changing arrays
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_logicalarray_type) | :: | me |
destroy the dynamic array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_logicalarray_type), | intent(inout) | :: | me |
insert an element at a given position
adds the value to a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_logicalarray_type) | :: | me | ||||
logical, | intent(in) | :: | val | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
adds the values starting from a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_logicalarray_type) | :: | me | ||||
logical, | intent(in) | :: | val(:) | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
append a value to the dynamic array and return its position.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_logicalarray_type) | :: | me | ||||
logical, | intent(in) | :: | val | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_logicalarray_type) | :: | me | ||||
logical, | intent(in) | :: | val(:) | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
increase the size of the container for the array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_logicalarray_type) | :: | me | ||||
integer, | intent(in), | optional | :: | pos | ||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
initialize the dynamic array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_longarray_type), | intent(out) | :: | me | |||
integer, | intent(in), | optional | :: | length |
truncate the array, meaning cut off the trailing empty entries
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_longarray_type) | :: | me |
empty the entries without changing arrays
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_longarray_type) | :: | me |
destroy the dynamic array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_longarray_type), | intent(inout) | :: | me |
insert an element at a given position
adds the value to a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_longarray_type) | :: | me | ||||
integer(kind=long_k), | intent(in) | :: | val | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
adds the values starting from a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_longarray_type) | :: | me | ||||
integer(kind=long_k), | intent(in) | :: | val(:) | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
append a value to the dynamic array and return its position.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_longarray_type) | :: | me | ||||
integer(kind=long_k), | intent(in) | :: | val | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_longarray_type) | :: | me | ||||
integer(kind=long_k), | intent(in) | :: | val(:) | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
increase the size of the container for the array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_longarray_type) | :: | me | ||||
integer, | intent(in), | optional | :: | pos | ||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
initialize the dynamic array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_intarray_type), | intent(out) | :: | me | |||
integer, | intent(in), | optional | :: | length |
truncate the array, meaning cut off the trailing empty entries
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_intarray_type) | :: | me |
empty the entries without changing arrays
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_intarray_type) | :: | me |
destroy the dynamic array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_intarray_type), | intent(inout) | :: | me |
insert an element at a given position
adds the value to a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_intarray_type) | :: | me | ||||
integer, | intent(in) | :: | val | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
adds the values starting from a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_intarray_type) | :: | me | ||||
integer, | intent(in) | :: | val(:) | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
append a value to the dynamic array and return its position.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_intarray_type) | :: | me | ||||
integer, | intent(in) | :: | val | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_intarray_type) | :: | me | ||||
integer, | intent(in) | :: | val(:) | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
increase the size of the container for the array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_intarray_type) | :: | me | ||||
integer, | intent(in), | optional | :: | pos | ||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
initialize the dynamic array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_realarray_type), | intent(out) | :: | me | |||
integer, | intent(in), | optional | :: | length |
truncate the array, meaning cut off the trailing empty entries
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_realarray_type) | :: | me |
empty the entries without changing arrays
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_realarray_type) | :: | me |
destroy the dynamic array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_realarray_type), | intent(inout) | :: | me |
insert an element at a given position
adds the value to a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_realarray_type) | :: | me | ||||
real(kind=rk), | intent(in) | :: | val | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
adds the values starting from a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_realarray_type) | :: | me | ||||
real(kind=rk), | intent(in) | :: | val(:) | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
append a value to the dynamic array and return its position.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_realarray_type) | :: | me | ||||
real(kind=rk), | intent(in) | :: | val | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_realarray_type) | :: | me | ||||
real(kind=rk), | intent(in) | :: | val(:) | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
increase the size of the container for the array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_realarray_type) | :: | me | ||||
integer, | intent(in), | optional | :: | pos | ||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
initialize the dynamic array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_dtint2darray_type), | intent(out) | :: | me | |||
integer, | intent(in), | optional | :: | length |
truncate the array, meaning cut off the trailing empty entries
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_dtint2darray_type) | :: | me |
empty the entries without changing arrays
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_dtint2darray_type) | :: | me |
destroy the dynamic array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_dtint2darray_type), | intent(inout) | :: | me |
insert an element at a given position
adds the value to a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_dtint2darray_type) | :: | me | ||||
type(intArray2d_type), | intent(in) | :: | val | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
adds the values starting from a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_dtint2darray_type) | :: | me | ||||
type(intArray2d_type), | intent(in) | :: | val(:) | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
append a value to the dynamic array and return its position.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_dtint2darray_type) | :: | me | ||||
type(intArray2d_type), | intent(in) | :: | val | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_dtint2darray_type) | :: | me | ||||
type(intArray2d_type), | intent(in) | :: | val(:) | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
increase the size of the container for the array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_dtint2darray_type) | :: | me | ||||
integer, | intent(in), | optional | :: | pos | ||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
initialize the dynamic array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_labelarray_type), | intent(out) | :: | me | |||
integer, | intent(in), | optional | :: | length |
truncate the array, meaning cut off the trailing empty entries
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_labelarray_type) | :: | me |
empty the entries without changing arrays
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_labelarray_type) | :: | me |
destroy the dynamic array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_labelarray_type), | intent(inout) | :: | me |
insert an element at a given position
adds the value to a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_labelarray_type) | :: | me | ||||
character(len=labellen), | intent(in) | :: | val | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
adds the values starting from a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_labelarray_type) | :: | me | ||||
character(len=labellen), | intent(in) | :: | val(:) | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
append a value to the dynamic array and return its position.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_labelarray_type) | :: | me | ||||
character(len=labellen), | intent(in) | :: | val | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_labelarray_type) | :: | me | ||||
character(len=labellen), | intent(in) | :: | val(:) | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
increase the size of the container for the array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_labelarray_type) | :: | me | ||||
integer, | intent(in), | optional | :: | pos | ||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
initialize the dynamic array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_chararray_type), | intent(out) | :: | me | |||
integer, | intent(in), | optional | :: | length |
truncate the array, meaning cut off the trailing empty entries
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_chararray_type) | :: | me |
empty the entries without changing arrays
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_chararray_type) | :: | me |
destroy the dynamic array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_chararray_type), | intent(inout) | :: | me |
insert an element at a given position
adds the value to a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_chararray_type) | :: | me | ||||
character, | intent(in) | :: | val | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
adds the values starting from a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_chararray_type) | :: | me | ||||
character, | intent(in) | :: | val(:) | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
append a value to the dynamic array and return its position.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_chararray_type) | :: | me | ||||
character, | intent(in) | :: | val | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_chararray_type) | :: | me | ||||
character, | intent(in) | :: | val(:) | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
increase the size of the container for the array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_chararray_type) | :: | me | ||||
integer, | intent(in), | optional | :: | pos | ||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
initialize the dynamic array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_char2darray_type), | intent(out) | :: | me | dynamic array to init |
||
integer, | intent(in) | :: | width | width of the container |
||
integer, | intent(in), | optional | :: | length | initial length of the container |
destroy the dynamic array
destroy the 2d growing array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_char2darray_type), | intent(inout) | :: | me | dynamic array to init |
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_char2darray_type) | :: | me | array to append the value to |
|||
character, | 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_char2darray_type) | :: | me | array to append the value to |
|||
character, | 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 |
append a single value to the growing 2d array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_char2darray_type) | :: | me | array to append the value to |
|||
character, | intent(in) | :: | val | value to append |
||
integer, | intent(in) | :: | pos1 | position in first dimension (cannot grow) |
||
integer, | intent(in) | :: | pos2 | position in second dimension (can grow) |
||
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_char2darray_type) | :: | me | array to append the value to |
|||
character, | intent(in) | :: | val(:) | array of values to append |
||
integer, | intent(in) | :: | pos2 | position in second dimension (can grow) |
||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
increase the size of the container for the array.
expand the growing 2d array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_char2darray_type) | :: | me | array to resize |
|||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
initialize the dynamic array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_logical2darray_type), | intent(out) | :: | me | dynamic array to init |
||
integer, | intent(in) | :: | width | width of the container |
||
integer, | intent(in), | optional | :: | length | initial length of the container |
destroy the dynamic array
destroy the 2d growing array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_logical2darray_type), | intent(inout) | :: | me | dynamic array to init |
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_logical2darray_type) | :: | me | array to append the value to |
|||
logical, | 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_logical2darray_type) | :: | me | array to append the value to |
|||
logical, | 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 |
append a single value to the growing 2d array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_logical2darray_type) | :: | me | array to append the value to |
|||
logical, | intent(in) | :: | val | value to append |
||
integer, | intent(in) | :: | pos1 | position in first dimension (cannot grow) |
||
integer, | intent(in) | :: | pos2 | position in second dimension (can grow) |
||
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_logical2darray_type) | :: | me | array to append the value to |
|||
logical, | intent(in) | :: | val(:) | array of values to append |
||
integer, | intent(in) | :: | pos2 | position in second dimension (can grow) |
||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
increase the size of the container for the array.
expand the growing 2d array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_logical2darray_type) | :: | me | array to resize |
|||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
initialize the dynamic array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_long2darray_type), | intent(out) | :: | me | dynamic array to init |
||
integer, | intent(in) | :: | width | width of the container |
||
integer, | intent(in), | optional | :: | length | initial length of the container |
destroy the dynamic array
destroy the 2d growing array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_long2darray_type), | intent(inout) | :: | me | dynamic array to init |
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 |
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(in) | :: | pos2 | position in second dimension (can grow) |
||
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) | :: | pos2 | position in second dimension (can grow) |
||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
increase the size of the container for the array.
expand the growing 2d array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_long2darray_type) | :: | me | array to resize |
|||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
initialize the dynamic array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_int2darray_type), | intent(out) | :: | me | dynamic array to init |
||
integer, | intent(in) | :: | width | width of the container |
||
integer, | intent(in), | optional | :: | length | initial length of the container |
destroy the dynamic array
destroy the 2d growing array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_int2darray_type), | intent(inout) | :: | me | dynamic array to init |
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_int2darray_type) | :: | me | array to append the value to |
|||
integer, | 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_int2darray_type) | :: | me | array to append the value to |
|||
integer, | 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 |
append a single value to the growing 2d array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_int2darray_type) | :: | me | array to append the value to |
|||
integer, | intent(in) | :: | val | value to append |
||
integer, | intent(in) | :: | pos1 | position in first dimension (cannot grow) |
||
integer, | intent(in) | :: | pos2 | position in second dimension (can grow) |
||
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_int2darray_type) | :: | me | array to append the value to |
|||
integer, | intent(in) | :: | val(:) | array of values to append |
||
integer, | intent(in) | :: | pos2 | position in second dimension (can grow) |
||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
increase the size of the container for the array.
expand the growing 2d array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_int2darray_type) | :: | me | array to resize |
|||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
initialize the dynamic array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_real2darray_type), | intent(out) | :: | me | dynamic array to init |
||
integer, | intent(in) | :: | width | width of the container |
||
integer, | intent(in), | optional | :: | length | initial length of the container |
destroy the dynamic array
destroy the 2d growing array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_real2darray_type), | intent(inout) | :: | me | dynamic array to init |
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_real2darray_type) | :: | me | array to append the value to |
|||
real(kind=rk), | 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_real2darray_type) | :: | me | array to append the value to |
|||
real(kind=rk), | 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 |
append a single value to the growing 2d array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_real2darray_type) | :: | me | array to append the value to |
|||
real(kind=rk), | intent(in) | :: | val | value to append |
||
integer, | intent(in) | :: | pos1 | position in first dimension (cannot grow) |
||
integer, | intent(in) | :: | pos2 | position in second dimension (can grow) |
||
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_real2darray_type) | :: | me | array to append the value to |
|||
real(kind=rk), | intent(in) | :: | val(:) | array of values to append |
||
integer, | intent(in) | :: | pos2 | position in second dimension (can grow) |
||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
increase the size of the container for the array.
expand the growing 2d array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_real2darray_type) | :: | me | array to resize |
|||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public, | allocatable | :: | val(:,:) |
growing array type for logical
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | nvals | = | 0 | ||
integer, | public | :: | containersize | = | 0 | ||
logical, | public, | allocatable | :: | val(:) |
growing array type for integer(kind=long_k)
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | nvals | = | 0 | ||
integer, | public | :: | containersize | = | 0 | ||
integer(kind=long_k), | public, | allocatable | :: | val(:) |
growing array type for integer
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | nvals | = | 0 | ||
integer, | public | :: | containersize | = | 0 | ||
integer, | public, | allocatable | :: | val(:) |
growing array type for real(kind=rk)
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | nvals | = | 0 | ||
integer, | public | :: | containersize | = | 0 | ||
real(kind=rk), | public, | allocatable | :: | val(:) |
growing array type for type(intarray2d_type)
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | nvals | = | 0 | ||
integer, | public | :: | containersize | = | 0 | ||
type(intArray2d_type), | public, | allocatable | :: | val(:) |
growing array type for character(len=labellen)
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | nvals | = | 0 | ||
integer, | public | :: | containersize | = | 0 | ||
character(len=labellen), | public, | allocatable | :: | val(:) |
growing array type for character
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | nvals | = | 0 | ||
integer, | public | :: | containersize | = | 0 | ||
character, | public, | allocatable | :: | val(:) |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | nvals | = | 0 | ||
integer, | public | :: | containersize | = | 0 | ||
integer, | public | :: | containerwidth | = | 0 | ||
character, | public, | allocatable | :: | val(:,:) |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | nvals | = | 0 | ||
integer, | public | :: | containersize | = | 0 | ||
integer, | public | :: | containerwidth | = | 0 | ||
logical, | public, | allocatable | :: | val(:,:) |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | nvals | = | 0 | ||
integer, | public | :: | containersize | = | 0 | ||
integer, | public | :: | containerwidth | = | 0 | ||
integer(kind=long_k), | public, | allocatable | :: | val(:,:) |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | nvals | = | 0 | ||
integer, | public | :: | containersize | = | 0 | ||
integer, | public | :: | containerwidth | = | 0 | ||
integer, | public, | allocatable | :: | val(:,:) |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | nvals | = | 0 | ||
integer, | public | :: | containersize | = | 0 | ||
integer, | public | :: | containerwidth | = | 0 | ||
real(kind=rk), | public, | allocatable | :: | val(:,:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_logicalarray_type), | intent(out) | :: | me | |||
integer, | intent(in), | optional | :: | length |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_logicalarray_type), | intent(inout) | :: | me |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_logicalarray_type) | :: | me |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_logicalarray_type) | :: | me |
adds the value to a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_logicalarray_type) | :: | me | ||||
logical, | intent(in) | :: | val | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
adds the values starting from a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_logicalarray_type) | :: | me | ||||
logical, | intent(in) | :: | val(:) | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_logicalarray_type) | :: | me | ||||
logical, | intent(in) | :: | val | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_logicalarray_type) | :: | me | ||||
logical, | intent(in) | :: | val(:) | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_logicalarray_type) | :: | me | ||||
integer, | intent(in), | optional | :: | pos | ||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_longarray_type), | intent(out) | :: | me | |||
integer, | intent(in), | optional | :: | length |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_longarray_type), | intent(inout) | :: | me |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_longarray_type) | :: | me |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_longarray_type) | :: | me |
adds the value to a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_longarray_type) | :: | me | ||||
integer(kind=long_k), | intent(in) | :: | val | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
adds the values starting from a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_longarray_type) | :: | me | ||||
integer(kind=long_k), | intent(in) | :: | val(:) | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_longarray_type) | :: | me | ||||
integer(kind=long_k), | intent(in) | :: | val | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_longarray_type) | :: | me | ||||
integer(kind=long_k), | intent(in) | :: | val(:) | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_longarray_type) | :: | me | ||||
integer, | intent(in), | optional | :: | pos | ||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_intarray_type), | intent(out) | :: | me | |||
integer, | intent(in), | optional | :: | length |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_intarray_type), | intent(inout) | :: | me |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_intarray_type) | :: | me |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_intarray_type) | :: | me |
adds the value to a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_intarray_type) | :: | me | ||||
integer, | intent(in) | :: | val | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
adds the values starting from a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_intarray_type) | :: | me | ||||
integer, | intent(in) | :: | val(:) | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_intarray_type) | :: | me | ||||
integer, | intent(in) | :: | val | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_intarray_type) | :: | me | ||||
integer, | intent(in) | :: | val(:) | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_intarray_type) | :: | me | ||||
integer, | intent(in), | optional | :: | pos | ||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_realarray_type), | intent(out) | :: | me | |||
integer, | intent(in), | optional | :: | length |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_realarray_type), | intent(inout) | :: | me |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_realarray_type) | :: | me |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_realarray_type) | :: | me |
adds the value to a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_realarray_type) | :: | me | ||||
real(kind=rk), | intent(in) | :: | val | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
adds the values starting from a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_realarray_type) | :: | me | ||||
real(kind=rk), | intent(in) | :: | val(:) | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_realarray_type) | :: | me | ||||
real(kind=rk), | intent(in) | :: | val | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_realarray_type) | :: | me | ||||
real(kind=rk), | intent(in) | :: | val(:) | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_realarray_type) | :: | me | ||||
integer, | intent(in), | optional | :: | pos | ||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_dtint2darray_type), | intent(out) | :: | me | |||
integer, | intent(in), | optional | :: | length |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_dtint2darray_type), | intent(inout) | :: | me |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_dtint2darray_type) | :: | me |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_dtint2darray_type) | :: | me |
adds the value to a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_dtint2darray_type) | :: | me | ||||
type(intArray2d_type), | intent(in) | :: | val | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
adds the values starting from a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_dtint2darray_type) | :: | me | ||||
type(intArray2d_type), | intent(in) | :: | val(:) | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_dtint2darray_type) | :: | me | ||||
type(intArray2d_type), | intent(in) | :: | val | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_dtint2darray_type) | :: | me | ||||
type(intArray2d_type), | intent(in) | :: | val(:) | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_dtint2darray_type) | :: | me | ||||
integer, | intent(in), | optional | :: | pos | ||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_labelarray_type), | intent(out) | :: | me | |||
integer, | intent(in), | optional | :: | length |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_labelarray_type), | intent(inout) | :: | me |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_labelarray_type) | :: | me |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_labelarray_type) | :: | me |
adds the value to a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_labelarray_type) | :: | me | ||||
character(len=labellen), | intent(in) | :: | val | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
adds the values starting from a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_labelarray_type) | :: | me | ||||
character(len=labellen), | intent(in) | :: | val(:) | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_labelarray_type) | :: | me | ||||
character(len=labellen), | intent(in) | :: | val | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_labelarray_type) | :: | me | ||||
character(len=labellen), | intent(in) | :: | val(:) | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_labelarray_type) | :: | me | ||||
integer, | intent(in), | optional | :: | pos | ||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_chararray_type), | intent(out) | :: | me | |||
integer, | intent(in), | optional | :: | length |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_chararray_type), | intent(inout) | :: | me |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_chararray_type) | :: | me |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_chararray_type) | :: | me |
adds the value to a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_chararray_type) | :: | me | ||||
character, | intent(in) | :: | val | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
adds the values starting from a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_chararray_type) | :: | me | ||||
character, | intent(in) | :: | val(:) | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_chararray_type) | :: | me | ||||
character, | intent(in) | :: | val | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_chararray_type) | :: | me | ||||
character, | intent(in) | :: | val(:) | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_chararray_type) | :: | me | ||||
integer, | intent(in), | optional | :: | pos | ||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_char2darray_type), | intent(out) | :: | me | dynamic array to init |
||
integer, | intent(in) | :: | width | width of the container |
||
integer, | intent(in), | optional | :: | length | initial length of the container |
destroy the 2d growing array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_char2darray_type), | intent(inout) | :: | me | dynamic array to init |
append a single value to the growing 2d array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_char2darray_type) | :: | me | array to append the value to |
|||
character, | 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_char2darray_type) | :: | me | array to append the value to |
|||
character, | 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 |
append a single value to the growing 2d array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_char2darray_type) | :: | me | array to append the value to |
|||
character, | intent(in) | :: | val | value to append |
||
integer, | intent(in) | :: | pos1 | position in first dimension (cannot grow) |
||
integer, | intent(in) | :: | pos2 | position in second dimension (can grow) |
||
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_char2darray_type) | :: | me | array to append the value to |
|||
character, | intent(in) | :: | val(:) | array of values to append |
||
integer, | intent(in) | :: | pos2 | position in second dimension (can grow) |
||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
expand the growing 2d array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_char2darray_type) | :: | me | array to resize |
|||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_logical2darray_type), | intent(out) | :: | me | dynamic array to init |
||
integer, | intent(in) | :: | width | width of the container |
||
integer, | intent(in), | optional | :: | length | initial length of the container |
destroy the 2d growing array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_logical2darray_type), | intent(inout) | :: | me | dynamic array to init |
append a single value to the growing 2d array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_logical2darray_type) | :: | me | array to append the value to |
|||
logical, | 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_logical2darray_type) | :: | me | array to append the value to |
|||
logical, | 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 |
append a single value to the growing 2d array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_logical2darray_type) | :: | me | array to append the value to |
|||
logical, | intent(in) | :: | val | value to append |
||
integer, | intent(in) | :: | pos1 | position in first dimension (cannot grow) |
||
integer, | intent(in) | :: | pos2 | position in second dimension (can grow) |
||
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_logical2darray_type) | :: | me | array to append the value to |
|||
logical, | intent(in) | :: | val(:) | array of values to append |
||
integer, | intent(in) | :: | pos2 | position in second dimension (can grow) |
||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
expand the growing 2d array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_logical2darray_type) | :: | me | array to resize |
|||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_long2darray_type), | intent(out) | :: | me | dynamic array to init |
||
integer, | intent(in) | :: | width | width of the container |
||
integer, | intent(in), | optional | :: | length | initial length of the container |
destroy the 2d growing array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_long2darray_type), | intent(inout) | :: | me | dynamic array to init |
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 |
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(in) | :: | pos2 | position in second dimension (can grow) |
||
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) | :: | pos2 | position in second dimension (can grow) |
||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
expand the growing 2d array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_long2darray_type) | :: | me | array to resize |
|||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_int2darray_type), | intent(out) | :: | me | dynamic array to init |
||
integer, | intent(in) | :: | width | width of the container |
||
integer, | intent(in), | optional | :: | length | initial length of the container |
destroy the 2d growing array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_int2darray_type), | intent(inout) | :: | me | dynamic array to init |
append a single value to the growing 2d array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_int2darray_type) | :: | me | array to append the value to |
|||
integer, | 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_int2darray_type) | :: | me | array to append the value to |
|||
integer, | 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 |
append a single value to the growing 2d array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_int2darray_type) | :: | me | array to append the value to |
|||
integer, | intent(in) | :: | val | value to append |
||
integer, | intent(in) | :: | pos1 | position in first dimension (cannot grow) |
||
integer, | intent(in) | :: | pos2 | position in second dimension (can grow) |
||
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_int2darray_type) | :: | me | array to append the value to |
|||
integer, | intent(in) | :: | val(:) | array of values to append |
||
integer, | intent(in) | :: | pos2 | position in second dimension (can grow) |
||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
expand the growing 2d array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_int2darray_type) | :: | me | array to resize |
|||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_real2darray_type), | intent(out) | :: | me | dynamic array to init |
||
integer, | intent(in) | :: | width | width of the container |
||
integer, | intent(in), | optional | :: | length | initial length of the container |
destroy the 2d growing array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_real2darray_type), | intent(inout) | :: | me | dynamic array to init |
append a single value to the growing 2d array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_real2darray_type) | :: | me | array to append the value to |
|||
real(kind=rk), | 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_real2darray_type) | :: | me | array to append the value to |
|||
real(kind=rk), | 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 |
append a single value to the growing 2d array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_real2darray_type) | :: | me | array to append the value to |
|||
real(kind=rk), | intent(in) | :: | val | value to append |
||
integer, | intent(in) | :: | pos1 | position in first dimension (cannot grow) |
||
integer, | intent(in) | :: | pos2 | position in second dimension (can grow) |
||
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_real2darray_type) | :: | me | array to append the value to |
|||
real(kind=rk), | intent(in) | :: | val(:) | array of values to append |
||
integer, | intent(in) | :: | pos2 | position in second dimension (can grow) |
||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
expand the growing 2d array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_real2darray_type) | :: | me | array to resize |
|||
integer, | intent(in), | optional | :: | length | optional length to expand the array |