From: Martin Kronbichler Date: Fri, 30 Jun 2023 10:28:25 +0000 (+0200) Subject: MatrixFree: Reduce header inclusions in expensive factory files X-Git-Tag: relicensing~842^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6a64df0766400b86fdb6e02ee2e06ba8d8afa79;p=dealii.git MatrixFree: Reduce header inclusions in expensive factory files --- diff --git a/include/deal.II/matrix_free/dof_info.h b/include/deal.II/matrix_free/dof_info.h index 914b2afcd4..fc20190324 100644 --- a/include/deal.II/matrix_free/dof_info.h +++ b/include/deal.II/matrix_free/dof_info.h @@ -25,7 +25,6 @@ #include #include -#include #include #include @@ -48,6 +47,11 @@ namespace internal template struct ConstraintValues; + + namespace VectorDataExchange + { + class Base; + } } // namespace MatrixFreeFunctions } // namespace internal diff --git a/include/deal.II/matrix_free/matrix_free.h b/include/deal.II/matrix_free/matrix_free.h index b7c305adec..43a836fc41 100644 --- a/include/deal.II/matrix_free/matrix_free.h +++ b/include/deal.II/matrix_free/matrix_free.h @@ -44,6 +44,7 @@ #include #include #include +#include #include #include diff --git a/source/matrix_free/dof_info.cc b/source/matrix_free/dof_info.cc index fd86229c5e..530c670f18 100644 --- a/source/matrix_free/dof_info.cc +++ b/source/matrix_free/dof_info.cc @@ -22,6 +22,7 @@ #include #include +#include #include