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).
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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. |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(dyn_intarray_type), | private | :: | newHalos | ||||
integer, | private | :: | partnerPos | ||||
integer, | private | :: | haloPos | ||||
logical, | private | :: | newProc |