tem_eligibleChildren Subroutine

public pure subroutine tem_eligibleChildren(eligible_child, direction)

Identify all possible children local ids for each of the 27 direct neighbors results are saved in the ElemList

How to use this information: There are two main ways of doing so.

1.) Use eligibleChildren array as a subset array of directChildren Let's say, you have a neighbor on the right border (=East border), which is on a coarser level. But you need the treeIDs of the neighbor on the same level. You then call tem_directChildren( coarseNEighborTreeID ) to get all the children. Then, you can access the treeIDs on the east border (that is the treeIDs of the children on the West!! border of the coarser neighbor) by using the eligibleChildren as a subset to access the tem_directChildren childrenIDs( eligible_child( iChild ))

2.) Use elgibleChildren as an offset from the lower, left, bottom child tree ID of the parent.

This is routine is Morton curve specific HK: and solver specific?

Arguments

TypeIntentOptionalAttributesName
integer, intent(out), allocatable:: eligible_child(:)

Candidate children, which might be considered as neighbors

integer, intent(in) :: direction

In which direction to search for neighbors


Called by

proc~~tem_eligiblechildren~~CalledByGraph proc~tem_eligiblechildren tem_eligibleChildren proc~tem_refine_global_subtree tem_refine_global_subtree proc~tem_refine_global_subtree->proc~tem_eligiblechildren proc~tem_adddep_down tem_addDep_down proc~tem_adddep_down->proc~tem_eligiblechildren proc~tem_facedep_verticaldown tem_faceDep_verticalDown proc~tem_facedep_verticaldown->proc~tem_adddep_down proc~tem_facedep_vertical tem_faceDep_vertical proc~tem_facedep_vertical->proc~tem_facedep_verticaldown proc~tem_build_face_info tem_build_face_info proc~tem_build_face_info->proc~tem_facedep_vertical

Contents

None