Skip to content

Commit

Permalink
Merge pull request #15537 from kronbichler/reduce_header_inclusions2
Browse files Browse the repository at this point in the history
MatrixFree: Reduce header inclusions in expensive factory files
  • Loading branch information
bangerth committed Jun 30, 2023
2 parents b9fca5c + a6a64df commit d0b1814
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion include/deal.II/matrix_free/dof_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -48,6 +47,11 @@ namespace internal

template <typename Number>
struct ConstraintValues;

namespace VectorDataExchange
{
class Base;
}
} // namespace MatrixFreeFunctions
} // namespace internal

Expand Down
1 change: 1 addition & 0 deletions include/deal.II/matrix_free/matrix_free.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions source/matrix_free/dof_info.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit d0b1814

Please sign in to comment.