We are including point.h in large parts of deal.II and the
boost/geometry/ header is a shortcut to include all of boost geometry.
Instead, only selectively include the parts we actually need. This
should speed up compilation of deal.II.
#include <deal.II/base/point.h>
#include <deal.II/base/utilities.h>
+DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
+#include <boost/geometry/algorithms/envelope.hpp>
+#include <boost/geometry/geometries/multi_point.hpp>
+DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
+
DEAL_II_NAMESPACE_OPEN
/**
#include <deal.II/base/tensor.h>
DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
-#include <boost/geometry.hpp>
+#include <boost/geometry/core/cs.hpp>
+#include <boost/geometry/geometries/point.hpp>
DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
#include <cmath>
DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#include <boost/iostreams/copy.hpp>
+#include <boost/lexical_cast.hpp>
#include <boost/random.hpp>
DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
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