sdr_neighbor_in_proto Function

public function sdr_neighbor_in_proto(proto, coord, iDir, neighbor_level) result(pos)

Find the neighbor position in protoTree for iDir on the same level or on any one above.

Arguments

TypeIntentOptionalAttributesName
type(sdr_protoTree_type), intent(in) :: proto

preliminary tree

integer, intent(in) :: coord(4)
integer, intent(in) :: iDir
integer, intent(out) :: neighbor_level

Return Value integer


Calls

proc~~sdr_neighbor_in_proto~~CallsGraph proc~sdr_neighbor_in_proto sdr_neighbor_in_proto interface~positionofval~3 positionofval proc~sdr_neighbor_in_proto->interface~positionofval~3 proc~tem_idofcoord tem_IdOfCoord proc~sdr_neighbor_in_proto->proc~tem_idofcoord interface~tem_parentof tem_ParentOf proc~sdr_neighbor_in_proto->interface~tem_parentof

Called by

proc~~sdr_neighbor_in_proto~~CalledByGraph proc~sdr_neighbor_in_proto sdr_neighbor_in_proto proc~flood_periphery_diagonal flood_periphery_diagonal proc~flood_periphery_diagonal->proc~sdr_neighbor_in_proto proc~sdr_identify_boundary sdr_identify_boundary proc~sdr_identify_boundary->proc~sdr_neighbor_in_proto proc~check_bndlevel check_bndLevel proc~check_bndlevel->proc~sdr_neighbor_in_proto proc~create_target create_target proc~create_target->proc~sdr_neighbor_in_proto proc~sdr_mark_neighborhasbnd sdr_mark_neighborHasBnd proc~sdr_mark_neighborhasbnd->proc~sdr_neighbor_in_proto proc~sdr_refine_leaf sdr_refine_leaf proc~sdr_refine_leaf->proc~check_bndlevel proc~flood_periphery flood_periphery proc~flood_periphery->proc~flood_periphery_diagonal proc~traverse_tree traverse_tree proc~traverse_tree->proc~create_target proc~traverse_tree->proc~traverse_tree proc~proto2treelm proto2Treelm proc~traverse_tree->proc~proto2treelm proc~proto2treelm->proc~sdr_identify_boundary proc~sdr_build_prototree sdr_build_protoTree proc~sdr_build_prototree->proc~sdr_mark_neighborhasbnd program~seeder seeder program~seeder->proc~sdr_refine_leaf program~seeder->proc~sdr_build_prototree proc~sdr_proto2treelm sdr_proto2treelm program~seeder->proc~sdr_proto2treelm proc~sdr_flood_tree sdr_flood_tree program~seeder->proc~sdr_flood_tree proc~sdr_proto2treelm->proc~traverse_tree proc~sdr_flood_tree->proc~flood_periphery

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: myLevel
integer, private :: iLevel
integer, private :: offset(4)
integer, private :: neighbor_coord(4)
integer(kind=long_k), private :: neighbor_tID