append_da_projection Subroutine

private subroutine append_da_projection(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

Type IntentOptional Attributes Name
type(dyn_projectionarray_type) :: me
type(ply_prj_init_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


Calls

proc~~append_da_projection~~CallsGraph proc~append_da_projection append_da_projection interface~expand expand proc~append_da_projection->interface~expand interface~sortedposofval sortedposofval proc~append_da_projection->interface~sortedposofval proc~expand_da_projection expand_da_projection interface~expand->proc~expand_da_projection proc~sortposofval_projection sortposofval_projection interface~sortedposofval->proc~sortposofval_projection

Called by

proc~~append_da_projection~~CalledByGraph proc~append_da_projection append_da_projection interface~append append interface~append->proc~append_da_projection proc~atl_load_projection atl_load_projection proc~atl_load_projection->interface~append proc~atl_load_general_projection atl_load_general_projection proc~atl_load_projection->proc~atl_load_general_projection proc~atl_load_subprojection atl_load_subprojection proc~atl_load_projection->proc~atl_load_subprojection proc~ply_fill_dynprojectarray ply_fill_dynProjectArray proc~ply_fill_dynprojectarray->interface~append proc~sorttruncate_da_projection sorttruncate_da_projection proc~sorttruncate_da_projection->interface~append interface~sorttruncate sorttruncate interface~sorttruncate->proc~sorttruncate_da_projection proc~atl_initialize atl_initialize proc~atl_initialize->proc~atl_load_projection proc~atl_load_general_projection->proc~ply_fill_dynprojectarray proc~atl_load_subprojection->proc~ply_fill_dynprojectarray proc~atl_initialize_program atl_initialize_program proc~atl_initialize_program->proc~atl_initialize program~atl_harvesting atl_harvesting program~atl_harvesting->proc~atl_initialize