Find all the virtual children of the sourceID down to the targetLevel and add to the level-wise ghostFromCoarser list in the level descriptor
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=long_k), | intent(in) | :: | sourceID | source treeID (existing founded ID in tree%treeID list or children ID from recursion) |
||
integer(kind=long_k), | intent(in) | :: | sourceProperty | property of source element |
||
integer, | intent(in) | :: | foundPos | position of this sourceID in elem%tID list |
||
type(tem_path_type), | intent(in) | :: | elemPath | element path |
||
integer, | intent(in) | :: | targetLevel | level upto which virtual children must be created |
||
type(tem_levelDesc_type), | intent(inout) | :: | levelDesc(minLevel:) | the level descriptor to be filled |
||
integer, | intent(in) | :: | minLevel | minimum level in the tree |
||
type(treelmesh_type), | intent(in) | :: | tree | tree information |
||
type(tem_stencilHeader_type), | intent(in) | :: | stencil | current stencil definition |
||
integer, | intent(in) | :: | nesting | nesting level |
||
logical, | intent(out) | :: | updated | was the element updated in this call? |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | targetPos | ||||
integer, | private | :: | iChild | ||||
integer, | private | :: | iDir | ||||
integer, | private | :: | nVals | ||||
integer, | private | :: | sourceLevel | ||||
integer, | private | :: | sourcePos | ||||
logical, | private | :: | wasAdded | ||||
logical, | private | :: | childUpdated | ||||
integer(kind=long_k), | private | :: | cTreeID | ||||
integer(kind=long_k), | private | :: | ichildID | ||||
integer(kind=long_k), | private | :: | curNeighborID | ||||
integer(kind=long_k), | private, | allocatable | :: | tNeighID(:) | |||
type(tem_stencilElement_type), | private | :: | tStencil(1) | ||||
integer, | private | :: | iChildCoord(4) | ||||
integer, | private | :: | curLevel | ||||
integer, | private | :: | offset(4) | ||||
integer, | private | :: | xc(4) | ||||
integer, | private | :: | childCoord(4) | ||||
integer, | private | :: | addedPos |