sdr_qValByNode Subroutine

public subroutine sdr_qValByNode(proto, geometry, dx, iDir, origin, node_pos, qVal)

This routine computes the minimum distance of a given link and all the geometries in a given node:\n the link is given by a vector and a origin point.\n the node is given by the node position in the protoTree.\n If there is no intersection, qVal returns -1.0

Arguments

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

preliminary tree

type(sdr_geometry_type), intent(in) :: geometry

contains all geometrical objects

real(kind=rk), intent(in) :: dx

dx of current level

integer, intent(in) :: iDir

Direction

real(kind=rk), intent(in) :: origin(3)

current element barycenter

integer :: node_pos

position of node to find the geometries

real(kind=rk), intent(out) :: qVal

distance from boundary for all 26 neighbor directions


Calls

proc~~sdr_qvalbynode~~CallsGraph proc~sdr_qvalbynode sdr_qValByNode fraction_PointLine fraction_PointLine proc~sdr_qvalbynode->fraction_PointLine intersect_RayTriangle intersect_RayTriangle proc~sdr_qvalbynode->intersect_RayTriangle val val proc~sdr_qvalbynode->val

Called by

proc~~sdr_qvalbynode~~CalledByGraph proc~sdr_qvalbynode sdr_qValByNode proc~flood_periphery flood_periphery proc~flood_periphery->proc~sdr_qvalbynode proc~getbcid_and_calcqval getBCID_and_calcQval proc~getbcid_and_calcqval->proc~sdr_qvalbynode proc~sdr_find_periodic_neighbor sdr_find_periodic_neighbor proc~getbcid_and_calcqval->proc~sdr_find_periodic_neighbor proc~sdr_find_periodic_neighbor->proc~sdr_qvalbynode proc~create_target create_target proc~create_target->proc~sdr_find_periodic_neighbor proc~sdr_flood_tree sdr_flood_tree proc~sdr_flood_tree->proc~flood_periphery proc~sdr_identify_boundary sdr_identify_boundary proc~sdr_identify_boundary->proc~getbcid_and_calcqval proc~proto2treelm proto2Treelm proc~proto2treelm->proc~sdr_identify_boundary proc~traverse_tree traverse_tree proc~traverse_tree->proc~create_target proc~traverse_tree->proc~proto2treelm proc~traverse_tree->proc~traverse_tree program~seeder seeder program~seeder->proc~sdr_flood_tree proc~sdr_proto2treelm sdr_proto2treelm proc~sdr_proto2treelm->proc~traverse_tree