44 std::vector<nanoflann::ResultItem<std::size_t, Real>> ret_matches;
52 for (
auto && local_qp : qpdata_range)
56 if (it == end_it || it->first != local_qp._elem_id)
60 mooseAssert(it != end_it,
"Current element id not found in result set.");
61 auto & sum = it->second[local_qp._qp];
65 std::size_t n_result =
66 kd_tree->radiusSearch(&(local_qp._q_point(0)),
radius *
radius, ret_matches, search_params);
69 for (std::size_t j = 0; j < n_result; ++j)
71 const auto & other_qp = qp_data[ret_matches[j].first];
78 weight =
radius - std::sqrt(ret_matches[j].second);
86 sum += other_qp._value * other_qp._volume * weight;
87 total_vol += other_qp._volume * weight;