append Interface

private interface append

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

Calls

interface~~append~7~~CallsGraph interface~append~7 append proc~append_da_vecattribute append_da_vecattribute interface~append~7->proc~append_da_vecattribute proc~append_da_attribute append_da_attribute interface~append~7->proc~append_da_attribute interface~expand~7 expand proc~append_da_vecattribute->interface~expand~7 interface~sortedposofval sortedposofval proc~append_da_attribute->interface~sortedposofval proc~append_da_attribute->interface~expand~7 proc~sortposofval_attribute sortposofval_attribute interface~sortedposofval->proc~sortposofval_attribute proc~expand_da_attribute expand_da_attribute interface~expand~7->proc~expand_da_attribute

Contents


Module Procedures

private subroutine append_da_attribute(me, val, length, pos, wasadded)

appending a value to the dynamic array

Read more…

Arguments

TypeIntentOptionalAttributesName
type(dyn_attributearray_type) :: me
type(sdr_attribute_type), 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

private subroutine append_da_vecattribute(me, val, length, pos, wasadded)

appending a sorted list of values to the dynamic array

Read more…

Arguments

TypeIntentOptionalAttributesName
type(dyn_attributearray_type) :: me
type(sdr_attribute_type), 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