From e778ebe4418af5121ddac24900f9e2c0bb88eadb Mon Sep 17 00:00:00 2001 From: David Wells Date: Fri, 10 May 2019 13:22:49 -0400 Subject: [PATCH] Deprecate nanoflann. We have reached a consensus that boost's rtree is superior. --- doc/news/changes/major/20190510DavidWells | 4 ++++ include/deal.II/numerics/kdtree.h | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 doc/news/changes/major/20190510DavidWells diff --git a/doc/news/changes/major/20190510DavidWells b/doc/news/changes/major/20190510DavidWells new file mode 100644 index 0000000000..eb44b43d8e --- /dev/null +++ b/doc/news/changes/major/20190510DavidWells @@ -0,0 +1,4 @@ +Deprecated: deal.II's nanoflann bindings (i.e., the KDTree class) have been +deprecated in favor of using boost::geometry::index::rtree. +
+(2019/05/10, David Wells) diff --git a/include/deal.II/numerics/kdtree.h b/include/deal.II/numerics/kdtree.h index c5959b7016..7d3b35acce 100644 --- a/include/deal.II/numerics/kdtree.h +++ b/include/deal.II/numerics/kdtree.h @@ -56,10 +56,13 @@ DEAL_II_NAMESPACE_OPEN * > case, the hyperplane would be set by the $x$-value of the point, and its * > normal would be the unit $x$-axis. * + * @deprecated This class has been deprecated in favor of RTree, which is + * based on boost::geometry::index::rtree. + * * @author Luca Heltai, 2017. */ template -class KDTree +class DEAL_II_DEPRECATED KDTree { public: /** -- 2.39.5