From ffe6e89891b10c180023cf18ad8616a0c29467b8 Mon Sep 17 00:00:00 2001 From: David Wells Date: Sat, 5 Nov 2022 14:17:05 -0400 Subject: [PATCH] Clean up some sparsity-related header inclusions. --- include/deal.II/matrix_free/dof_info.templates.h | 2 -- include/deal.II/multigrid/mg_transfer_block.h | 1 - include/deal.II/multigrid/mg_transfer_component.h | 1 - include/deal.II/multigrid/sparse_matrix_collection.h | 1 + source/distributed/tria.cc | 3 --- source/distributed/tria_base.cc | 2 -- source/dofs/dof_tools.cc | 1 + source/dofs/dof_tools_sparsity.cc | 5 +---- source/fe/fe_enriched.cc | 1 + source/lac/trilinos_sparse_matrix.cc | 1 - source/matrix_free/dof_info.cc | 3 +++ source/multigrid/mg_tools.cc | 4 +--- source/non_matching/coupling.cc | 3 +-- 13 files changed, 9 insertions(+), 19 deletions(-) diff --git a/include/deal.II/matrix_free/dof_info.templates.h b/include/deal.II/matrix_free/dof_info.templates.h index 7a036ea670..3c054a3769 100644 --- a/include/deal.II/matrix_free/dof_info.templates.h +++ b/include/deal.II/matrix_free/dof_info.templates.h @@ -24,8 +24,6 @@ #include #include -#include -#include #include #include diff --git a/include/deal.II/multigrid/mg_transfer_block.h b/include/deal.II/multigrid/mg_transfer_block.h index 16843b1caf..3d23ecc8d6 100644 --- a/include/deal.II/multigrid/mg_transfer_block.h +++ b/include/deal.II/multigrid/mg_transfer_block.h @@ -24,7 +24,6 @@ #include #include -#include #include #include diff --git a/include/deal.II/multigrid/mg_transfer_component.h b/include/deal.II/multigrid/mg_transfer_component.h index 0f82d52fec..8139049ccc 100644 --- a/include/deal.II/multigrid/mg_transfer_component.h +++ b/include/deal.II/multigrid/mg_transfer_component.h @@ -27,7 +27,6 @@ #include #include #include -#include #include #include diff --git a/include/deal.II/multigrid/sparse_matrix_collection.h b/include/deal.II/multigrid/sparse_matrix_collection.h index 4ef45fd655..861eb6134f 100644 --- a/include/deal.II/multigrid/sparse_matrix_collection.h +++ b/include/deal.II/multigrid/sparse_matrix_collection.h @@ -22,6 +22,7 @@ #include #include +#include #include #include diff --git a/source/distributed/tria.cc b/source/distributed/tria.cc index b5af14046c..d06cbdcd63 100644 --- a/source/distributed/tria.cc +++ b/source/distributed/tria.cc @@ -27,9 +27,6 @@ #include #include -#include -#include - #include #include #include diff --git a/source/distributed/tria_base.cc b/source/distributed/tria_base.cc index 2918231002..9da27f9752 100644 --- a/source/distributed/tria_base.cc +++ b/source/distributed/tria_base.cc @@ -29,8 +29,6 @@ #include #include -#include -#include #include #include diff --git a/source/dofs/dof_tools.cc b/source/dofs/dof_tools.cc index 4bf32a5bb8..252705cced 100644 --- a/source/dofs/dof_tools.cc +++ b/source/dofs/dof_tools.cc @@ -41,6 +41,7 @@ #include #include +#include #include #include diff --git a/source/dofs/dof_tools_sparsity.cc b/source/dofs/dof_tools_sparsity.cc index 310ee84492..df1f909bee 100644 --- a/source/dofs/dof_tools_sparsity.cc +++ b/source/dofs/dof_tools_sparsity.cc @@ -39,10 +39,7 @@ #include #include -#include -#include -#include -#include +#include #include #include diff --git a/source/fe/fe_enriched.cc b/source/fe/fe_enriched.cc index abdddd658e..da78657657 100644 --- a/source/fe/fe_enriched.cc +++ b/source/fe/fe_enriched.cc @@ -17,6 +17,7 @@ #include #include +#include #include #include diff --git a/source/lac/trilinos_sparse_matrix.cc b/source/lac/trilinos_sparse_matrix.cc index 5b4c520b04..5cdc79a38a 100644 --- a/source/lac/trilinos_sparse_matrix.cc +++ b/source/lac/trilinos_sparse_matrix.cc @@ -25,7 +25,6 @@ # include # include # include -# include # include # include diff --git a/source/matrix_free/dof_info.cc b/source/matrix_free/dof_info.cc index 7ba077ef9e..eb3e1edaeb 100644 --- a/source/matrix_free/dof_info.cc +++ b/source/matrix_free/dof_info.cc @@ -18,6 +18,9 @@ #include #include +#include +#include + #include #include diff --git a/source/multigrid/mg_tools.cc b/source/multigrid/mg_tools.cc index 568fb029ab..4fe1d3a533 100644 --- a/source/multigrid/mg_tools.cc +++ b/source/multigrid/mg_tools.cc @@ -32,11 +32,9 @@ #include #include -#include #include -#include #include -#include +#include #include #include diff --git a/source/non_matching/coupling.cc b/source/non_matching/coupling.cc index e90811c1b8..54480f7abe 100644 --- a/source/non_matching/coupling.cc +++ b/source/non_matching/coupling.cc @@ -31,10 +31,9 @@ #include #include #include -#include +#include #include #include -#include #include -- 2.39.5