This module provides descriptions for elements
Data structure to store the halo elements according to the partner process with which they need to be exchanged.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(dyn_intarray_type), | private | :: | partnerProc | Process numbers (rank+1) of partner processes |
|||
type(grw_dynintarray_type), | private | :: | halos | List of my halo elements, which I request from partnerProc. |
Initialize the list of halo elements.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_haloList_type), | intent(out) | :: | me | The list of halo elements to initialize |
Destroy the list of halo elements.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_haloList_type), | intent(inout) | :: | me | The list of halo elements to destroy. |
Append an element to the list of halo elements.
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. |