From: David Wells Date: Wed, 24 Aug 2022 20:21:55 +0000 (-0400) Subject: Forward declare ParameterHandler. X-Git-Tag: v9.5.0-rc1~979^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e07beb1000a4d1375eeda9745baab4d2262936f3;p=dealii.git Forward declare ParameterHandler. --- diff --git a/examples/step-34/step-34.cc b/examples/step-34/step-34.cc index 4332ff5c4b..9f14326848 100644 --- a/examples/step-34/step-34.cc +++ b/examples/step-34/step-34.cc @@ -27,6 +27,7 @@ #include #include #include +#include #include #include diff --git a/include/deal.II/base/parsed_convergence_table.h b/include/deal.II/base/parsed_convergence_table.h index c79805758b..3147e596eb 100644 --- a/include/deal.II/base/parsed_convergence_table.h +++ b/include/deal.II/base/parsed_convergence_table.h @@ -21,7 +21,6 @@ #include #include #include -#include #include #include @@ -36,6 +35,10 @@ DEAL_II_NAMESPACE_OPEN +#ifndef DOXYGEN +class ParameterHandler; +#endif + /** * @brief The ParsedConvergenceTable class * diff --git a/include/deal.II/base/parsed_function.h b/include/deal.II/base/parsed_function.h index 092aa2650b..8df356c1dd 100644 --- a/include/deal.II/base/parsed_function.h +++ b/include/deal.II/base/parsed_function.h @@ -21,10 +21,13 @@ #include #include -#include DEAL_II_NAMESPACE_OPEN +#ifndef DOXYGEN +class ParameterHandler; +#endif + namespace Functions { /** diff --git a/include/deal.II/gmsh/utilities.h b/include/deal.II/gmsh/utilities.h index 466bf0ff3b..40519c97fd 100644 --- a/include/deal.II/gmsh/utilities.h +++ b/include/deal.II/gmsh/utilities.h @@ -30,12 +30,14 @@ # include # endif -# include - # include DEAL_II_NAMESPACE_OPEN +# ifndef DOXYGEN +class ParameterHandler; +# endif + /** * A collection of %Gmsh related utilities and classes. */ diff --git a/include/deal.II/grid/grid_generator.h b/include/deal.II/grid/grid_generator.h index 59bc5a25d9..0647536143 100644 --- a/include/deal.II/grid/grid_generator.h +++ b/include/deal.II/grid/grid_generator.h @@ -21,7 +21,6 @@ #include #include -#include #include #include @@ -35,6 +34,10 @@ DEAL_II_NAMESPACE_OPEN +#ifndef DOXYGEN +class ParameterHandler; +#endif + /** * This namespace provides a collection of functions for generating * triangulations for some basic geometries. diff --git a/include/deal.II/numerics/dof_output_operator.h b/include/deal.II/numerics/dof_output_operator.h index 152afd7f75..6293fe7f01 100644 --- a/include/deal.II/numerics/dof_output_operator.h +++ b/include/deal.II/numerics/dof_output_operator.h @@ -23,7 +23,6 @@ #include #include -#include #include @@ -33,6 +32,10 @@ DEAL_II_NAMESPACE_OPEN +#ifndef DOXYGEN +class ParameterHandler; +#endif + namespace Algorithms { /** diff --git a/include/deal.II/numerics/dof_output_operator.templates.h b/include/deal.II/numerics/dof_output_operator.templates.h index f41bce7152..53c2daf4ec 100644 --- a/include/deal.II/numerics/dof_output_operator.templates.h +++ b/include/deal.II/numerics/dof_output_operator.templates.h @@ -19,6 +19,8 @@ #include +#include + #include DEAL_II_NAMESPACE_OPEN diff --git a/source/algorithms/operator.cc b/source/algorithms/operator.cc index 056556e1d1..bfff74799b 100644 --- a/source/algorithms/operator.cc +++ b/source/algorithms/operator.cc @@ -19,7 +19,6 @@ #include #include -#include #include #include diff --git a/source/base/parsed_function.cc b/source/base/parsed_function.cc index c751c702b2..e5692f6c4e 100644 --- a/source/base/parsed_function.cc +++ b/source/base/parsed_function.cc @@ -13,11 +13,10 @@ // // --------------------------------------------------------------------- +#include #include #include -#include - DEAL_II_NAMESPACE_OPEN namespace Functions diff --git a/source/gmsh/utilities.cc b/source/gmsh/utilities.cc index 7609abfcf0..fedc13e86d 100644 --- a/source/gmsh/utilities.cc +++ b/source/gmsh/utilities.cc @@ -13,6 +13,8 @@ // // --------------------------------------------------------------------- +#include + #include #include diff --git a/source/grid/grid_generator.cc b/source/grid/grid_generator.cc index ac3307101b..bcd356c50b 100644 --- a/source/grid/grid_generator.cc +++ b/source/grid/grid_generator.cc @@ -14,6 +14,7 @@ // --------------------------------------------------------------------- #include +#include #include #include diff --git a/tests/base/parsed_convergence_table_01.cc b/tests/base/parsed_convergence_table_01.cc index a26cf331b6..18ed5d8ac3 100644 --- a/tests/base/parsed_convergence_table_01.cc +++ b/tests/base/parsed_convergence_table_01.cc @@ -16,6 +16,7 @@ // Test the functionality of the ParsedConvergenceTable class #include +#include #include #include diff --git a/tests/base/parsed_convergence_table_02.cc b/tests/base/parsed_convergence_table_02.cc index e0d8c61e17..467c2dff47 100644 --- a/tests/base/parsed_convergence_table_02.cc +++ b/tests/base/parsed_convergence_table_02.cc @@ -15,6 +15,7 @@ // Output standard parameters for ParsedConvergenceTable class +#include #include #include "../tests.h" diff --git a/tests/base/parsed_convergence_table_03.cc b/tests/base/parsed_convergence_table_03.cc index 9bbecf63e3..73db77a786 100644 --- a/tests/base/parsed_convergence_table_03.cc +++ b/tests/base/parsed_convergence_table_03.cc @@ -17,6 +17,7 @@ // non scalar functions. #include +#include #include #include diff --git a/tests/base/parsed_convergence_table_04.cc b/tests/base/parsed_convergence_table_04.cc index ddf690b162..2404d5c9d8 100644 --- a/tests/base/parsed_convergence_table_04.cc +++ b/tests/base/parsed_convergence_table_04.cc @@ -17,6 +17,7 @@ // vector functions, single component #include +#include #include #include diff --git a/tests/base/parsed_convergence_table_05.cc b/tests/base/parsed_convergence_table_05.cc index d356111b06..f5acdedd2f 100644 --- a/tests/base/parsed_convergence_table_05.cc +++ b/tests/base/parsed_convergence_table_05.cc @@ -17,6 +17,7 @@ // vector function + scalar function #include +#include #include #include diff --git a/tests/base/parsed_convergence_table_06.cc b/tests/base/parsed_convergence_table_06.cc index b4af189c1f..3d70783fcd 100644 --- a/tests/base/parsed_convergence_table_06.cc +++ b/tests/base/parsed_convergence_table_06.cc @@ -17,6 +17,7 @@ // vector function + scalar function, ignore second component #include +#include #include #include diff --git a/tests/base/parsed_convergence_table_07.cc b/tests/base/parsed_convergence_table_07.cc index a8194fc145..16de03a4c9 100644 --- a/tests/base/parsed_convergence_table_07.cc +++ b/tests/base/parsed_convergence_table_07.cc @@ -17,6 +17,7 @@ // custom error computations #include +#include #include #include diff --git a/tests/base/parsed_convergence_table_08.cc b/tests/base/parsed_convergence_table_08.cc index 2d0be867b6..e0cc8becab 100644 --- a/tests/base/parsed_convergence_table_08.cc +++ b/tests/base/parsed_convergence_table_08.cc @@ -17,6 +17,7 @@ // custom error computations, with no extra columns. #include +#include #include #include diff --git a/tests/base/parsed_convergence_table_09.cc b/tests/base/parsed_convergence_table_09.cc index db0c0aad23..338773425a 100644 --- a/tests/base/parsed_convergence_table_09.cc +++ b/tests/base/parsed_convergence_table_09.cc @@ -17,6 +17,7 @@ // custom error computations, time rates #include +#include #include #include diff --git a/tests/base/parsed_convergence_table_10.cc b/tests/base/parsed_convergence_table_10.cc index d217a138df..3b3ae0b895 100644 --- a/tests/base/parsed_convergence_table_10.cc +++ b/tests/base/parsed_convergence_table_10.cc @@ -17,6 +17,7 @@ // custom error computations, writing to files #include +#include #include #include diff --git a/tests/base/parsed_convergence_table_11.cc b/tests/base/parsed_convergence_table_11.cc index 1ce9182ddd..99d5942ea6 100644 --- a/tests/base/parsed_convergence_table_11.cc +++ b/tests/base/parsed_convergence_table_11.cc @@ -17,6 +17,7 @@ // between finite element solutions #include +#include #include #include