]> https://gitweb.dealii.org/ - dealii.git/commitdiff
MatrixFree: Reduce header inclusions in expensive factory files 15537/head
authorMartin Kronbichler <martin.kronbichler@uni-a.de>
Fri, 30 Jun 2023 10:28:25 +0000 (12:28 +0200)
committerMartin Kronbichler <martin.kronbichler@uni-a.de>
Fri, 30 Jun 2023 10:29:20 +0000 (12:29 +0200)
include/deal.II/matrix_free/dof_info.h
include/deal.II/matrix_free/matrix_free.h
source/matrix_free/dof_info.cc

index 914b2afcd493f2a97846afe1f96966d22a661483..fc201903246128f69dbb013ce4c235750ed045b3 100644 (file)
@@ -25,7 +25,6 @@
 
 #include <deal.II/matrix_free/face_info.h>
 #include <deal.II/matrix_free/shape_info.h>
-#include <deal.II/matrix_free/vector_data_exchange.h>
 
 #include <array>
 #include <memory>
@@ -48,6 +47,11 @@ namespace internal
 
     template <typename Number>
     struct ConstraintValues;
+
+    namespace VectorDataExchange
+    {
+      class Base;
+    }
   } // namespace MatrixFreeFunctions
 } // namespace internal
 
index b7c305adec103f12047f4b865d6dfdea10de7775..43a836fc41634a8153ad73191a5dd8efd5604ba6 100644 (file)
@@ -44,6 +44,7 @@
 #include <deal.II/matrix_free/shape_info.h>
 #include <deal.II/matrix_free/task_info.h>
 #include <deal.II/matrix_free/type_traits.h>
+#include <deal.II/matrix_free/vector_data_exchange.h>
 
 #include <cstdlib>
 #include <limits>
index fd86229c5ea57b2e9c2ab61bf9267d66ee685d21..530c670f1821fa5405f059b4f041ef0320fdaf8f 100644 (file)
@@ -22,6 +22,7 @@
 #include <deal.II/lac/sparsity_pattern.h>
 
 #include <deal.II/matrix_free/dof_info.templates.h>
+#include <deal.II/matrix_free/vector_data_exchange.h>
 
 #include <iostream>
 

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.