tem_halo_append Subroutine

public subroutine tem_halo_append(me, proc, elemPos, wasAdded)

Append an element to the list of halo elements.

Each entry needs to be identified by the process (proc), the halo has to be exchanged with, and the position of the halo element in the local array of elements (elemPos).

Arguments

TypeIntentOptionalAttributesName
type(tem_haloList_type), intent(inout) :: me

List of halo elements, this entry has to be appended to.

integer, intent(in) :: proc

Process this element is exchanged with.

integer, intent(in) :: elemPos

Local position of the halo element.

logical, intent(out), optional :: wasAdded

Flag, wether this halo element was newly added, or already there.


Calls

proc~~tem_halo_append~~CallsGraph proc~tem_halo_append tem_halo_append interface~append~4 append proc~tem_halo_append->interface~append~4 proc~append_ga_dynlong_vec append_ga_dynlong_vec interface~append~4->proc~append_ga_dynlong_vec proc~append_ga_dynlong append_ga_dynlong interface~append~4->proc~append_ga_dynlong interface~expand~2 expand proc~append_ga_dynlong_vec->interface~expand~2 proc~append_ga_dynlong->interface~expand~2 proc~expand_ga_dynlong expand_ga_dynlong interface~expand~2->proc~expand_ga_dynlong

Called by

proc~~tem_halo_append~~CalledByGraph proc~tem_halo_append tem_halo_append proc~identify_lists identify_lists proc~identify_lists->proc~tem_halo_append proc~tem_find_allelements tem_find_allElements proc~tem_find_allelements->proc~identify_lists proc~communicate_elements communicate_elements proc~tem_find_allelements->proc~communicate_elements proc~communicate_elements->proc~identify_lists proc~tem_create_leveldesc tem_create_levelDesc proc~tem_create_leveldesc->proc~tem_find_allelements proc~tem_dimbydim_construction tem_dimByDim_construction proc~tem_dimbydim_construction->proc~tem_create_leveldesc

Contents


Variables

TypeVisibilityAttributesNameInitial
type(dyn_intarray_type), private :: newHalos
integer, private :: partnerPos
integer, private :: haloPos
logical, private :: newProc