From: Wolfgang Bangerth Date: Fri, 20 Oct 2017 22:07:42 +0000 (-0600) Subject: Remove unnecessary #include statements. X-Git-Tag: v9.0.0-rc1~900^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F5288%2Fhead;p=dealii.git Remove unnecessary #include statements. These are all in files that don't actually make use of the classes so #included. --- diff --git a/include/deal.II/lac/read_write_vector.h b/include/deal.II/lac/read_write_vector.h index 85e6bff8f3..05c72f98ee 100644 --- a/include/deal.II/lac/read_write_vector.h +++ b/include/deal.II/lac/read_write_vector.h @@ -24,15 +24,14 @@ #include #include #include -#include #include #include #include #ifdef DEAL_II_WITH_TRILINOS -#include -#include +# include +# include DEAL_II_DISABLE_EXTRA_DIAGNOSTICS # include diff --git a/include/deal.II/lac/trilinos_sparse_matrix.h b/include/deal.II/lac/trilinos_sparse_matrix.h index 9319c1abb5..2b7f22a162 100644 --- a/include/deal.II/lac/trilinos_sparse_matrix.h +++ b/include/deal.II/lac/trilinos_sparse_matrix.h @@ -27,7 +27,6 @@ # include # include # include -# include # include #include diff --git a/include/deal.II/sundials/arkode.h b/include/deal.II/sundials/arkode.h index c8b90f4115..1b23b7e3a6 100644 --- a/include/deal.II/sundials/arkode.h +++ b/include/deal.II/sundials/arkode.h @@ -18,6 +18,7 @@ #include #include + #ifdef DEAL_II_WITH_SUNDIALS #include @@ -26,11 +27,10 @@ #include #include #ifdef DEAL_II_WITH_PETSC -#include -#include +# include +# include #endif #include -#include #include @@ -38,7 +38,7 @@ #include #include #ifdef DEAL_II_WITH_MPI -#include +# include #endif #include #include diff --git a/include/deal.II/sundials/ida.h b/include/deal.II/sundials/ida.h index 1b6ed41ed0..b270ebe0df 100644 --- a/include/deal.II/sundials/ida.h +++ b/include/deal.II/sundials/ida.h @@ -26,11 +26,10 @@ #include #include #ifdef DEAL_II_WITH_PETSC -#include -#include +# include +# include #endif #include -#include #include diff --git a/include/deal.II/sundials/kinsol.h b/include/deal.II/sundials/kinsol.h index 0054d646e3..4a627a519c 100644 --- a/include/deal.II/sundials/kinsol.h +++ b/include/deal.II/sundials/kinsol.h @@ -25,7 +25,6 @@ #include #include #include -#include #include #include