Lines Matching refs:rd
363 …, PetscCount node_handle, char is_node_leaf, PetscReal offset[], PetscReal rd, PetscReal tol_sqr, … in PetscKDTreeQuery_Recurse() argument
384 …l_handle, PetscBTLookup(&stem.are_handles_leaves, LESS_EQUAL_BIT), offset, rd, tol_sqr, index, dis… in PetscKDTreeQuery_Recurse()
385 rd += -PetscSqr(old_offset) + PetscSqr(new_offset); in PetscKDTreeQuery_Recurse()
386 if (rd < *dist_sqr) { in PetscKDTreeQuery_Recurse()
388 …ater_handle, PetscBTLookup(&stem.are_handles_leaves, GREATER_BIT), offset, rd, tol_sqr, index, dis… in PetscKDTreeQuery_Recurse()
392 …ater_handle, PetscBTLookup(&stem.are_handles_leaves, GREATER_BIT), offset, rd, tol_sqr, index, dis… in PetscKDTreeQuery_Recurse()
393 rd += -PetscSqr(old_offset) + PetscSqr(new_offset); in PetscKDTreeQuery_Recurse()
394 if (rd < *dist_sqr) { in PetscKDTreeQuery_Recurse()
396 …l_handle, PetscBTLookup(&stem.are_handles_leaves, LESS_EQUAL_BIT), offset, rd, tol_sqr, index, dis… in PetscKDTreeQuery_Recurse()
429 PetscReal *offsets, rd; in PetscKDTreeQueryPointsNearestNeighbor() local
443 rd = 0.; in PetscKDTreeQueryPointsNearestNeighbor()
446 …ints[p * tree->dim], tree->root_handle, (char)tree->is_root_leaf, offsets, rd, PetscSqr(tolerance)… in PetscKDTreeQueryPointsNearestNeighbor()