]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Minimize boost/geometry.h includes 9800/head
authorDaniel Arndt <arndtd@ornl.gov>
Thu, 2 Apr 2020 17:55:33 +0000 (13:55 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Fri, 3 Apr 2020 02:31:29 +0000 (22:31 -0400)
include/deal.II/boost_adaptors/bounding_box.h
include/deal.II/boost_adaptors/point.h
include/deal.II/boost_adaptors/segment.h
include/deal.II/numerics/rtree.h
source/grid/grid_tools_cache.cc
tests/base/point_04.cc
tests/boost/bounding_box_adaptor_01.cc
tests/boost/point_adaptor_01.cc
tests/boost/rtree_01.cc

index 45876c52df1cbd2c9160e0ac664b8e1eab33bf56..68b29cf93ff605260a08454e3d2b812226ab0ffc 100644 (file)
@@ -22,8 +22,6 @@
 
 #include <deal.II/boost_adaptors/point.h>
 
-#include <boost/geometry.hpp>
-#include <boost/geometry/geometries/geometries.hpp>
 
 namespace boost
 {
index b0691ca9436258db1fdbed16c62cbc3c13374dbe..f60bb62c1e783e0fe3c110e328e813212559c4d2 100644 (file)
@@ -20,9 +20,6 @@
 
 #include <deal.II/base/point.h>
 
-#include <boost/geometry.hpp>
-
-
 namespace boost
 {
   namespace geometry
index f61f9769b25f249fe3ff6efc1d5c1e1f3a840ef1..97ad3201f7706da5bf0a0b08ecd3b2fc2066d1a0 100644 (file)
@@ -22,7 +22,7 @@
 
 #include <deal.II/boost_adaptors/point.h>
 
-#include <boost/geometry.hpp>
+#include <boost/geometry/geometries/segment.hpp>
 
 DEAL_II_NAMESPACE_OPEN
 
index 5f8d80cb841c34cb67dc2f41727e4d2ab5dacf79..3a90eedd3d9d3a7f1af6710f510a9213af5764e7 100644 (file)
 #include <deal.II/boost_adaptors/point.h>
 #include <deal.II/boost_adaptors/segment.h>
 
-#include <boost/geometry.hpp>
+DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
+#include <boost/geometry/index/rtree.hpp>
+#include <boost/geometry/strategies/strategies.hpp>
+DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
 
 #include <memory>
 
index 938ca9d725226a017e50a746584e1a8867dd2f5e..6b3d842a878d7b03eb42596653f48d5606c93006 100644 (file)
@@ -20,8 +20,6 @@
 #include <deal.II/grid/grid_tools.h>
 #include <deal.II/grid/grid_tools_cache.h>
 
-#include <boost/geometry.hpp>
-
 DEAL_II_NAMESPACE_OPEN
 
 namespace GridTools
index 7a7c8eaae43ae3c930a26aa681475f72d0f3b8fe..91d3b207cc875d9bde746d74ec5a6ef1975eb7d5 100644 (file)
@@ -20,8 +20,6 @@
 
 #include <deal.II/lac/vector.h>
 
-#include <boost/geometry.hpp>
-
 #include "../tests.h"
 
 namespace bg = boost::geometry;
index 6d25b7a1983386ff67c6a29d221784c6c48f7200..5a866328bb20a0791262495a53f531e5222235d0 100644 (file)
@@ -17,6 +17,8 @@
 
 #include <deal.II/boost_adaptors/bounding_box.h>
 
+#include <boost/geometry/algorithms/equals.hpp>
+
 #include "../tests.h"
 
 namespace bg = boost::geometry;
index ebb17e0c6f4e6e53341826bda550e6566c7ca698..4eec9fbf2339cd3e30ae441c42446d19f7f6f77a 100644 (file)
@@ -17,6 +17,9 @@
 
 #include <deal.II/boost_adaptors/point.h>
 
+#include <boost/geometry/algorithms/equals.hpp>
+#include <boost/geometry/algorithms/make.hpp>
+
 #include "../tests.h"
 
 namespace bg = boost::geometry;
index 56b2711fe87cb0a6edc7d9c1a0670fef59523bfc..4acfd6a64df13ca9e109899c473782a474ab6ceb 100644 (file)
@@ -19,6 +19,9 @@
 
 #include <deal.II/boost_adaptors/point.h>
 
+#include <boost/geometry/index/rtree.hpp>
+#include <boost/geometry/strategies/strategies.hpp>
+
 #include <algorithm>
 
 #include "../tests.h"

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.