Select the halo elements which require all links
Determine which pdfs to communicate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(mus_scheme_type), | intent(in) | :: | scheme | scheme information including fluid, boundary and flow information |
||
integer, | intent(in) | :: | minLevel | Global information |
||
integer, | intent(in) | :: | maxLevel | Global information |
||
integer, | intent(in) | :: | nBCs | Global information |
||
logical, | intent(in) | :: | comm_reduced | reduced communication |
||
type(logical_array_type), | intent(inout), | allocatable | :: | haloRequired(:) |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | iElem | ||||
integer, | private | :: | iLevel | ||||
integer, | private | :: | iSourceElem | ||||
integer, | private | :: | iBnd | ||||
integer, | private | :: | iField | ||||
integer, | private | :: | iNeigh | ||||
integer, | private | :: | iProc | ||||
integer, | private | :: | targetElem | ||||
integer, | private | :: | sourceElem | ||||
integer, | private | :: | targetLevel | ||||
integer, | private | :: | sourceLevel | ||||
integer, | private | :: | nSourceElems | ||||
integer, | private | :: | elemPos | ||||
integer, | private | :: | haloOffset |
set haloRequired link to true
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | haloElem | halo element position in the state array |
||
integer, | intent(in) | :: | offset | halo element offset in the state array nr. of elements in state array before halo elements |
||
logical, | intent(inout) | :: | linkField(:) | halo required array used in init_recvBuffers to reduce communication links |