Update the neighor arrays depending on what is given in the element stencil
The array levelDesc( iLevel )%neigh( iStenci )%nghElems( 1:QQN, 1:nElems ) is being filled up here
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | iStencil | Index of your neighbor list. |
||
type(tem_levelDesc_type), | intent(inout) | :: | levelDesc | Level descriptor for each level of your mesh (starting from min level). |
||
type(tem_stencilHeader_type), | intent(in) | :: | computeStencil | The stencil you build the horizontal dependencies for. |
||
integer, | intent(in) | :: | list(:) | stencil elemLvl points to sorted original treeID list |
||
integer, | intent(in) | :: | nElems | number of elements |
||
type(treelmesh_type), | intent(in) | :: | tree | tree information |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | iElem | ||||
integer, | private | :: | iStencilElem | ||||
integer, | private | :: | elemPos | ||||
integer, | private | :: | stencilPos | ||||
integer, | private | :: | levelPos | ||||
integer, | private | :: | totalPos | ||||
integer(kind=long_k), | private | :: | tID | ||||
logical, | private | :: | missingNeigh | ||||
real(kind=rk), | private | :: | bary(3) |