From: Daniel Arndt Date: Tue, 26 Feb 2019 10:29:02 +0000 (+0100) Subject: Define GridTools::Cache::get_covering_rtree also without nanoflann support X-Git-Tag: v9.1.0-rc1~320^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=244aa95d7f04e61318825d5fa3215ad9964c485b;p=dealii.git Define GridTools::Cache::get_covering_rtree also without nanoflann support --- diff --git a/source/grid/grid_tools_cache.cc b/source/grid/grid_tools_cache.cc index 739ea04bda..52f664b01a 100644 --- a/source/grid/grid_tools_cache.cc +++ b/source/grid/grid_tools_cache.cc @@ -140,6 +140,8 @@ namespace GridTools return cell_bounding_boxes_rtree; } + + #ifdef DEAL_II_WITH_NANOFLANN template const KDTree & @@ -152,6 +154,7 @@ namespace GridTools } return vertex_kdtree; } +#endif @@ -187,7 +190,6 @@ namespace GridTools return covering_rtree; } -#endif #include "grid_tools_cache.inst"