append_da_int Subroutine

public subroutine append_da_int(me, val, length, pos, wasadded)

appending a value to the dynamic array

with this subroutine, a given value can be added to the dynamic array. the actual position of this value in the dynamic array will be returned, so it can be found again easily later. with the wasadded flag, it is indicated,\n wasadded = true, if this entry had to be added,\n wasadded = false, if this was already found in the array.

Arguments

TypeIntentOptionalAttributesName
type(dyn_intarray_type) :: me
integer, intent(in) :: val
integer, intent(in), optional :: length

optional length to expand the array

integer, intent(out), optional :: pos

position in the array, if the value is found

logical, intent(out), optional :: wasadded

flag to indicate, if val was newly added


Calls

proc~~append_da_int~~CallsGraph proc~append_da_int append_da_int interface~expand~19 expand proc~append_da_int->interface~expand~19 interface~sortedposofval~4 sortedposofval proc~append_da_int->interface~sortedposofval~4 proc~expand_da_label expand_da_label interface~expand~19->proc~expand_da_label proc~sortposofval_label sortposofval_label interface~sortedposofval~4->proc~sortposofval_label

Called by

proc~~append_da_int~~CalledByGraph proc~append_da_int append_da_int interface~append~19 append interface~append~19->proc~append_da_int

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, public :: foundpos
integer, public :: i