append Interface

public interface append

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

Calls

interface~~append~20~~CallsGraph interface~append~20 append proc~append_da_real append_da_real interface~append~20->proc~append_da_real proc~append_da_vecreal append_da_vecreal interface~append~20->proc~append_da_vecreal interface~expand~19 expand proc~append_da_real->interface~expand~19 interface~sortedposofval~4 sortedposofval proc~append_da_real->interface~sortedposofval~4 proc~append_da_vecreal->interface~expand~19 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

Contents


Module Procedures

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

appending a value to the dynamic array

Read more…

Arguments

TypeIntentOptionalAttributesName
type(dyn_realarray_type) :: me
real(kind=rk), 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_vecreal(me, val, length, pos, wasadded)

appending a sorted list of values to the dynamic array

Read more…

Arguments

TypeIntentOptionalAttributesName
type(dyn_realarray_type) :: me
real(kind=rk), 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