append Interface

public interface append

append a value to the dynamic array and return its position.

Calls

interface~~append~6~~CallsGraph interface~append~6 append proc~append_da_long append_da_long interface~append~6->proc~append_da_long proc~append_da_veclong append_da_veclong interface~append~6->proc~append_da_veclong interface~sortedposofval~5 sortedposofval proc~append_da_long->interface~sortedposofval~5 interface~expand~9 expand proc~append_da_long->interface~expand~9 proc~append_da_veclong->interface~expand~9 proc~sortposofval_label sortposofval_label interface~sortedposofval~5->proc~sortposofval_label proc~expand_da_label expand_da_label interface~expand~9->proc~expand_da_label

Contents


Module Procedures

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

appending a value to the dynamic array

Read more…

Arguments

Type IntentOptional Attributes Name
type(dyn_longarray_type) :: me
integer(kind=long_k), 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

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

appending a sorted list of values to the dynamic array

Read more…

Arguments

Type IntentOptional Attributes Name
type(dyn_longarray_type) :: me
integer(kind=long_k), intent(in) :: val(:)
integer, intent(in), optional :: length

optional length to expand the array

integer, intent(out), optional :: pos(:)

position in the array, the values are found at.

logical, intent(out), optional :: wasadded(:)

flag to indicate, if val was newly added