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

TypeIntentOptionalAttributesName
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 interface~positionofval~3 positionofval proc~gettreeidposofcoord->interface~positionofval~3 proc~tem_idofcoord tem_IdOfCoord proc~gettreeidposofcoord->proc~tem_idofcoord proc~tem_coordofreal tem_CoordOfReal proc~gettreeidposofcoord->proc~tem_coordofreal proc~sdr_nodeprop_btest sdr_nodeProp_btest proc~gettreeidposofcoord->proc~sdr_nodeprop_btest

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~traverse_tree traverse_tree proc~traverse_tree->proc~create_target proc~traverse_tree->proc~traverse_tree proc~sdr_identify_boundary sdr_identify_boundary proc~sdr_identify_boundary->proc~getbcid_and_calcqval proc~sdr_proto2treelm sdr_proto2treelm proc~sdr_proto2treelm->proc~traverse_tree proc~proto2treelm proto2Treelm proc~proto2treelm->proc~sdr_identify_boundary

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: iLevel