]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Define GridTools::Cache::get_covering_rtree also without nanoflann support 7748/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Tue, 26 Feb 2019 10:29:02 +0000 (11:29 +0100)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Tue, 26 Feb 2019 10:29:02 +0000 (11:29 +0100)
source/grid/grid_tools_cache.cc

index 739ea04bda38666856eb8f80d1ef9d82d5b7d3d7..52f664b01aec7eb2ae62a6b69aa4b0555f69ecd0 100644 (file)
@@ -140,6 +140,8 @@ namespace GridTools
     return cell_bounding_boxes_rtree;
   }
 
+
+
 #ifdef DEAL_II_WITH_NANOFLANN
   template <int dim, int spacedim>
   const KDTree<spacedim> &
@@ -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"
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.