getTreeIDPosOfCoord Function

private function getTreeIDPosOfCoord(coordReal, mesh, minLevel, maxLevel, leafLevel, leafTreeID, proto) result(pos)

This function returns the position of treeID of given coordReal in the the given mesh Start from minLevel which is the level of neighbor and find the treeID which is a leaf in protoTree

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in) :: coordReal(3)
type(treelmesh_type), intent(in) :: mesh

Mesh contain geometry universe (bounding cube) info

integer, intent(in) :: minLevel

minlevel

integer, intent(in) :: maxLevel

maxlevel

integer, intent(out) :: leafLevel

level in which leaf node is found

integer(kind=long_k), intent(inout) :: leafTreeID
type(sdr_protoTree_type), intent(in) :: proto

preliminary tree

Return Value integer

position of treeID in proto tree


Calls

proc~~gettreeidposofcoord~~CallsGraph proc~gettreeidposofcoord getTreeIDPosOfCoord positionofval positionofval proc~gettreeidposofcoord->positionofval sdr_nodeprop_btest sdr_nodeprop_btest proc~gettreeidposofcoord->sdr_nodeprop_btest tem_CoordOfReal tem_CoordOfReal proc~gettreeidposofcoord->tem_CoordOfReal tem_IdOfCoord tem_IdOfCoord proc~gettreeidposofcoord->tem_IdOfCoord

Called by

proc~~gettreeidposofcoord~~CalledByGraph proc~gettreeidposofcoord getTreeIDPosOfCoord proc~sdr_find_periodic_neighbor sdr_find_periodic_neighbor proc~sdr_find_periodic_neighbor->proc~gettreeidposofcoord proc~create_target create_target proc~create_target->proc~sdr_find_periodic_neighbor proc~getbcid_and_calcqval getBCID_and_calcQval proc~getbcid_and_calcqval->proc~sdr_find_periodic_neighbor proc~sdr_identify_boundary sdr_identify_boundary proc~sdr_identify_boundary->proc~getbcid_and_calcqval proc~traverse_tree traverse_tree proc~traverse_tree->proc~create_target proc~traverse_tree->proc~traverse_tree proc~proto2treelm proto2Treelm proc~proto2treelm->proc~sdr_identify_boundary proc~sdr_proto2treelm sdr_proto2treelm proc~sdr_proto2treelm->proc~traverse_tree