create_children Subroutine

private subroutine create_children(proto, parent, child_nodePos, grwTreeID)

This routine append 8 children to protoTree and inherit property bits from parent. leaf bit is removed from parent.

Arguments

Type IntentOptional Attributes Name
type(sdr_protoTree_type), intent(inout) :: proto

preliminary tree on which childern are created

integer, intent(in) :: parent

Position of parent node on the dynamic array of node%treeID and node_data in preliminary tree

integer, intent(out) :: child_nodePos(8)

8 children node position in protoTree

type(grw_longarray_type), intent(inout) :: grwTreeID

Temporary growing array of TreeID contains new leaf nodes in current level


Calls

proc~~create_children~~CallsGraph proc~create_children create_children append append proc~create_children->append sdr_clear_nodeprop_bit sdr_clear_nodeprop_bit proc~create_children->sdr_clear_nodeprop_bit sdr_inheritbnd_eligiblechildren sdr_inheritbnd_eligiblechildren proc~create_children->sdr_inheritbnd_eligiblechildren sdr_set_nodeprop_bit sdr_set_nodeprop_bit proc~create_children->sdr_set_nodeprop_bit tem_directChildren tem_directChildren proc~create_children->tem_directChildren val val proc~create_children->val

Called by

proc~~create_children~~CalledByGraph proc~create_children create_children proc~sdr_refine_leaf sdr_refine_leaf proc~sdr_refine_leaf->proc~create_children proc~sdr_smooth_leaf sdr_smooth_leaf proc~sdr_smooth_leaf->proc~create_children program~seeder seeder program~seeder->proc~sdr_refine_leaf program~seeder->proc~sdr_smooth_leaf