From: David Wells Date: Wed, 24 Aug 2022 20:20:43 +0000 (-0400) Subject: Forward declare a usage of LA::d::V. X-Git-Tag: v9.5.0-rc1~979^2~4 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d480fd717a7cf13eb4b7782e186098f5cbfbb945;p=dealii.git Forward declare a usage of LA::d::V. --- diff --git a/include/deal.II/grid/tria_description.h b/include/deal.II/grid/tria_description.h index 888353316b..9214fcf449 100644 --- a/include/deal.II/grid/tria_description.h +++ b/include/deal.II/grid/tria_description.h @@ -18,16 +18,25 @@ #include +#include #include #include #include #include -#include - DEAL_II_NAMESPACE_OPEN +#ifndef DOXYGEN +namespace LinearAlgebra +{ + namespace distributed + { + template + class Vector; + } +} // namespace LinearAlgebra +#endif /*------------------------------------------------------------------------*/ @@ -547,9 +556,10 @@ namespace TriangulationDescription template Description create_description_from_triangulation( - const Triangulation & tria, - const LinearAlgebra::distributed::Vector &partition, - const TriangulationDescription::Settings settings = + const Triangulation &tria, + const LinearAlgebra::distributed::Vector + & partition, + const TriangulationDescription::Settings settings = TriangulationDescription::Settings::default_setting); /** @@ -559,9 +569,11 @@ namespace TriangulationDescription template Description create_description_from_triangulation( - const Triangulation & tria, - const LinearAlgebra::distributed::Vector &partition, - const std::vector> + const Triangulation &tria, + const LinearAlgebra::distributed::Vector + &partition, + const std::vector< + LinearAlgebra::distributed::Vector> & mg_partitions, const TriangulationDescription::Settings settings = TriangulationDescription::Settings::default_setting); diff --git a/include/deal.II/numerics/data_out_dof_data.templates.h b/include/deal.II/numerics/data_out_dof_data.templates.h index 0952f02ba9..71d069885a 100644 --- a/include/deal.II/numerics/data_out_dof_data.templates.h +++ b/include/deal.II/numerics/data_out_dof_data.templates.h @@ -44,6 +44,7 @@ #include #include +#include #include #include diff --git a/include/deal.II/numerics/vector_tools_evaluate.h b/include/deal.II/numerics/vector_tools_evaluate.h index fbb44a6ed7..f647d40671 100644 --- a/include/deal.II/numerics/vector_tools_evaluate.h +++ b/include/deal.II/numerics/vector_tools_evaluate.h @@ -25,6 +25,9 @@ #include +#include +#include + #include #include diff --git a/tests/distributed_grids/solution_transfer_05.cc b/tests/distributed_grids/solution_transfer_05.cc index e021b80574..50988329ca 100644 --- a/tests/distributed_grids/solution_transfer_05.cc +++ b/tests/distributed_grids/solution_transfer_05.cc @@ -30,6 +30,8 @@ #include +#include + #include "../tests.h" using namespace dealii;