append_da_veclabel Subroutine

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

appending a sorted list of values to the dynamic array

with this subroutine, a given list of sorted values can be added to the dynamic array. the actual positions of these values 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_labelarray_type) :: me
character(len=*), 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


Calls

proc~~append_da_veclabel~~CallsGraph proc~append_da_veclabel append_da_veclabel interface~expand~19 expand proc~append_da_veclabel->interface~expand~19 proc~expand_da_label expand_da_label interface~expand~19->proc~expand_da_label

Called by

proc~~append_da_veclabel~~CalledByGraph proc~append_da_veclabel append_da_veclabel interface~append~21 append interface~append~21->proc~append_da_veclabel proc~setup_indices_spacetime setup_indices_spacetime proc~setup_indices_spacetime->interface~append~21 proc~append_vectorpnt2grwpoints append_vectorPnt2grwPoints proc~append_vectorpnt2grwpoints->interface~append~21 proc~tem_varsys_append_stfunvar tem_varSys_append_stFunVar proc~tem_varsys_append_stfunvar->interface~append~21 proc~tem_varsys_append_dervar tem_varSys_append_derVar proc~tem_varsys_append_dervar->interface~append~21 proc~tem_commbuf_long_gatherindexed tem_commbuf_long_gatherindexed proc~tem_commbuf_long_gatherindexed->interface~append~21 program~bin_search_test bin_search_test program~bin_search_test->interface~append~21 proc~sorttruncate_da_label sorttruncate_da_label proc~sorttruncate_da_label->interface~append~21 proc~tem_commbuf_int_gatherindexed tem_commbuf_int_gatherindexed proc~tem_commbuf_int_gatherindexed->interface~append~21 proc~append_singlepnt2grwpoints append_singlePnt2grwPoints proc~append_singlepnt2grwpoints->interface~append~21 proc~tem_addtimer tem_addTimer proc~tem_addtimer->interface~append~21 proc~tem_cano_storepntsinsubtree tem_cano_storePntsInSubTree proc~tem_cano_storepntsinsubtree->interface~append~21 proc~tem_commbuf_real_gatherindexed tem_commbuf_real_gatherindexed proc~tem_commbuf_real_gatherindexed->interface~append~21 proc~tem_varsys_append_auxfieldvar tem_varSys_append_auxFieldVar proc~tem_varsys_append_auxfieldvar->interface~append~21 proc~tem_appendtimers tem_appendTimers proc~tem_appendtimers->interface~append~21 proc~tem_shape_subtreefromgeominters tem_shape_subTreeFromGeomInters proc~tem_shape_subtreefromgeominters->interface~append~21 proc~sorttruncate_da_long sorttruncate_da_long proc~sorttruncate_da_long->interface~append~21 proc~append_pointdata append_pointData proc~append_pointdata->interface~append~21 proc~tem_comm_createbuffer tem_comm_createBuffer proc~tem_comm_createbuffer->interface~append~21 proc~sorttruncate_da_real sorttruncate_da_real proc~sorttruncate_da_real->interface~append~21 proc~tem_varsys_append_stfun_raw tem_varSys_append_stFun_raw proc~tem_varsys_append_stfun_raw->interface~append~21 proc~tem_varsys_append_statevar tem_varSys_append_stateVar proc~tem_varsys_append_statevar->interface~append~21 proc~tem_varsys_load_single tem_varSys_load_single proc~tem_varsys_load_single->interface~append~21 proc~tem_cano_initsubtree tem_cano_initSubTree proc~tem_cano_initsubtree->interface~append~21 proc~tem_timer_loadconfig tem_timer_loadconfig proc~tem_timer_loadconfig->interface~append~21 proc~check_dyn_array check_dyn_array proc~check_dyn_array->interface~append~21 proc~sorttruncate_da_int sorttruncate_da_int proc~sorttruncate_da_int->interface~append~21

Contents


Variables

TypeVisibilityAttributesNameInitial
character(len=labellen), public :: lastval
logical, public :: addedval(size(val))
integer, public :: i
integer, public :: veclen
integer, public :: maxlen
integer, public :: nappend
integer, public :: rem_app
integer, public :: curval
integer, public :: ival
integer, public :: iold
integer, public :: iadd
integer, public, allocatable:: newsorted(:)