Communicate the complete stencil
Currently, this assumes same stencils for all participating elements
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_communication_type), | intent(inout) | :: | send | send and recv communication buffers |
||
type(tem_communication_type), | intent(inout) | :: | recv | send and recv communication buffers |
||
type(tem_element_type), | intent(inout) | :: | elem | levelDesc element list |
||
type(tem_stencilHeader_type), | intent(in) | :: | computeStencil | array of all stencils used in the simulation |
||
type(tem_comm_env_type), | intent(in) | :: | proc | Process description to use. |
||
type(tem_commPattern_type), | intent(in) | :: | commPattern | communication pattern |
||
integer, | intent(in) | :: | iStencil | amount of values to communicate |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | iStencilElem | ||||
integer, | private | :: | iElem | ||||
integer, | private | :: | nElems | ||||
integer(kind=long_k), | private, | allocatable | :: | buffer(:) | |||
type(tem_stencilElement_type), | private | :: | tStencil | ||||
integer, | private | :: | addedPos | ||||
integer, | private | :: | iProc | ||||
integer, | private | :: | elemPos | ||||
integer, | private | :: | neighPos | ||||
integer, | private | :: | stencilPos | ||||
logical, | private | :: | wasAdded |