]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Clean up many explicit instantiations. 16881/head
authorMarc Fehling <mafehling.git@gmail.com>
Fri, 12 Apr 2024 13:35:13 +0000 (15:35 +0200)
committerMarc Fehling <mafehling.git@gmail.com>
Fri, 12 Apr 2024 14:14:49 +0000 (16:14 +0200)
19 files changed:
source/distributed/fully_distributed_tria.inst.in
source/distributed/tria_base.inst.in
source/dofs/block_info.inst.in
source/dofs/dof_accessor.inst.in
source/dofs/dof_handler.inst.in
source/dofs/dof_tools.inst.in
source/dofs/dof_tools_sparsity.inst.in
source/fe/fe_pyramid_p.inst.in
source/fe/fe_simplex_p.inst.in
source/fe/fe_simplex_p_bubbles.inst.in
source/fe/fe_wedge_p.inst.in
source/grid/grid_generator.inst.in
source/grid/tria_accessor.inst.in
source/grid/tria_description.inst.in
source/matrix_free/shape_info.inst.in
source/non_matching/quadrature_generator.inst.in
source/numerics/data_out.inst.in
source/numerics/data_out_dof_data_codim.inst.in
source/numerics/data_out_resample.inst.in

index 1883f1edd6464e211d26f74445cf54b3d057b637..d2ec56a6be05a0b35f1006db37a1345cde603ce9 100644 (file)
 
 
 
-for (deal_II_dimension : DIMENSIONS)
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
   {
     namespace parallel
     \{
       namespace fullydistributed
       \{
-        template class Triangulation<deal_II_dimension>;
-#if deal_II_dimension < 3
-        template class Triangulation<deal_II_dimension, deal_II_dimension + 1>;
-#endif
-#if deal_II_dimension < 2
-        template class Triangulation<deal_II_dimension, deal_II_dimension + 2>;
+#if deal_II_dimension <= deal_II_space_dimension
+        template class Triangulation<deal_II_dimension,
+                                     deal_II_space_dimension>;
 #endif
       \}
     \}
index 311ee754fd305e22fe14d723151c9385e12a0a28..a9136c157db61d7843350a0c262bb9f23509c8b4 100644 (file)
 
 
 
-for (deal_II_dimension : DIMENSIONS)
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
   {
     namespace parallel
     \{
-      template class TriangulationBase<deal_II_dimension>;
-#if deal_II_dimension < 3
+#if deal_II_dimension <= deal_II_space_dimension
       template class TriangulationBase<deal_II_dimension,
-                                       deal_II_dimension + 1>;
-#endif
-#if deal_II_dimension < 2
-      template class TriangulationBase<deal_II_dimension,
-                                       deal_II_dimension + 2>;
-#endif
+                                       deal_II_space_dimension>;
 
-      template class DistributedTriangulationBase<deal_II_dimension>;
-#if deal_II_dimension < 3
-      template class DistributedTriangulationBase<deal_II_dimension,
-                                                  deal_II_dimension + 1>;
-#endif
-#if deal_II_dimension < 2
       template class DistributedTriangulationBase<deal_II_dimension,
-                                                  deal_II_dimension + 2>;
+                                                  deal_II_space_dimension>;
 #endif
     \}
   }
index 4000d35b820498165126a975ade7089941480f1e..33e1aa859fb7b3c826b9d39e655f5a04061fac95 100644 (file)
 // ------------------------------------------------------------------------
 
 
-for (deal_II_dimension : DIMENSIONS)
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
   {
+#if deal_II_dimension <= deal_II_space_dimension
     template void BlockInfo::initialize(
-      const DoFHandler<deal_II_dimension, deal_II_dimension> &, bool, bool);
+      const DoFHandler<deal_II_dimension, deal_II_space_dimension> &,
+      bool,
+      bool);
     template void BlockInfo::initialize_local(
-      const DoFHandler<deal_II_dimension, deal_II_dimension> &);
-
-#if deal_II_dimension < 3
-    template void BlockInfo::initialize(
-      const DoFHandler<deal_II_dimension, deal_II_dimension + 1> &, bool, bool);
-    template void BlockInfo::initialize_local(
-      const DoFHandler<deal_II_dimension, deal_II_dimension + 1> &);
-#endif
-
-#if deal_II_dimension == 3
-    template void BlockInfo::initialize(const DoFHandler<1, 3> &, bool, bool);
-    template void BlockInfo::initialize_local(const DoFHandler<1, 3> &);
+      const DoFHandler<deal_II_dimension, deal_II_space_dimension> &);
 #endif
   }
index db31f92f6c8b39da3a8d9def0a37004a627203d2..b880006cf6909ff61657c6deb798a0da855722da 100644 (file)
@@ -15,7 +15,7 @@
 
 
 for (deal_II_struct_dimension : DIMENSIONS; deal_II_dimension : DIMENSIONS;
-     deal_II_space_dimension : DIMENSIONS;
+     deal_II_space_dimension : SPACE_DIMENSIONS;
      lda : BOOL)
   {
 #if deal_II_struct_dimension <= deal_II_dimension && \
@@ -40,7 +40,7 @@ for (deal_II_struct_dimension : DIMENSIONS; deal_II_dimension : DIMENSIONS;
   }
 
 
-for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS;
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS;
      lda : BOOL)
   {
 #if deal_II_dimension <= deal_II_space_dimension
@@ -65,7 +65,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS;
 
 
 for (deal_II_struct_dimension : DIMENSIONS; deal_II_dimension : DIMENSIONS;
-     deal_II_space_dimension : DIMENSIONS)
+     deal_II_space_dimension : SPACE_DIMENSIONS)
   {
     template class DoFInvalidAccessor<deal_II_struct_dimension,
                                       deal_II_dimension,
index f2319586857c53ec056dd5450351d4914345829c..dacab2ef94151f0ff523d5ccfbc4034977f54d94 100644 (file)
@@ -13,7 +13,7 @@
 // ------------------------------------------------------------------------
 
 
-for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS)
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
   {
 #if deal_II_dimension <= deal_II_space_dimension
     template class DoFHandler<deal_II_dimension, deal_II_space_dimension>;
index 864e81037a85f2136a3deb48595df9a729703941..b891f1f3a1a0de56bc4d4d4e7fc6a5f19338c04e 100644 (file)
@@ -389,7 +389,7 @@ for (deal_II_dimension : DIMENSIONS; S : REAL_AND_COMPLEX_SCALARS)
   }
 
 
-for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS)
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
   {
 #if deal_II_dimension <= deal_II_space_dimension
     namespace DoFTools
@@ -443,7 +443,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS)
   }
 
 
-for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS)
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
   {
 #if deal_II_dimension <= deal_II_space_dimension
     namespace DoFTools
@@ -490,7 +490,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS)
 #endif
   }
 
-for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS)
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
   {
 #if deal_II_dimension >= 2 && (deal_II_dimension <= deal_II_space_dimension)
     namespace DoFTools
index c1778af6d71d50e3d285cf29571750491a8b146d..ae16225ec88fe3157480874ce9e5d6c1001247ad 100644 (file)
 //
 // ------------------------------------------------------------------------
 
-for (scalar : REAL_AND_COMPLEX_SCALARS; deal_II_dimension : DIMENSIONS)
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS;
+     scalar : REAL_AND_COMPLEX_SCALARS)
   {
-    template void DoFTools::make_boundary_sparsity_pattern<deal_II_dimension,
-                                                           deal_II_dimension,
-                                                           scalar>(
-      const DoFHandler<deal_II_dimension>                         &dof,
-      const std::map<types::boundary_id,
-                     const Function<deal_II_dimension, scalar> *> &boundary_ids,
-      const std::vector<types::global_dof_index> &dof_to_boundary_mapping,
-      SparsityPatternBase                        &sparsity);
-
-#if deal_II_dimension < 3
-
-    template void
-    DoFTools::make_boundary_sparsity_pattern<deal_II_dimension,
-                                             deal_II_dimension + 1,
-                                             scalar>(
-      const DoFHandler<deal_II_dimension, deal_II_dimension + 1> &dof,
-      const std::map<types::boundary_id,
-                     const Function<deal_II_dimension + 1, scalar> *>
-                                                 &boundary_ids,
-      const std::vector<types::global_dof_index> &dof_to_boundary_mapping,
-      SparsityPatternBase                        &sparsity);
-
-#endif
-
-#if deal_II_dimension == 1
+#if deal_II_dimension <= deal_II_space_dimension
     template void
     DoFTools::make_boundary_sparsity_pattern<deal_II_dimension,
-                                             deal_II_dimension + 2,
+                                             deal_II_space_dimension,
                                              scalar>(
-      const DoFHandler<deal_II_dimension, deal_II_dimension + 2> &dof,
+      const DoFHandler<deal_II_dimension, deal_II_space_dimension> &,
       const std::map<types::boundary_id,
-                     const Function<deal_II_dimension + 2, scalar> *>
-                                                 &boundary_ids,
-      const std::vector<types::global_dof_index> &dof_to_boundary_mapping,
-      SparsityPatternBase                        &sparsity);
-#endif
-  }
-
-for (deal_II_dimension : DIMENSIONS; S : REAL_AND_COMPLEX_SCALARS)
-  {
-    template void
-    DoFTools::make_sparsity_pattern<deal_II_dimension, deal_II_dimension>(
-      const DoFHandler<deal_II_dimension, deal_II_dimension> &dof,
-      SparsityPatternBase                                    &sparsity,
-      const AffineConstraints<S> &,
-      const bool,
-      const types::subdomain_id);
+                     const Function<deal_II_space_dimension, scalar> *> &,
+      const std::vector<types::global_dof_index> &,
+      SparsityPatternBase &);
 
     template void
-    DoFTools::make_sparsity_pattern<deal_II_dimension, deal_II_dimension>(
-      const DoFHandler<deal_II_dimension, deal_II_dimension> &,
-      const Table<2, Coupling> &,
+    DoFTools::make_sparsity_pattern<deal_II_dimension, deal_II_space_dimension>(
+      const DoFHandler<deal_II_dimension, deal_II_space_dimension> &,
       SparsityPatternBase &,
-      const AffineConstraints<S> &,
-      const bool,
-      const types::subdomain_id);
-
-    template void
-    DoFTools::make_flux_sparsity_pattern<deal_II_dimension, deal_II_dimension>(
-      const DoFHandler<deal_II_dimension> &dof,
-      SparsityPatternBase                 &sparsity,
-      const AffineConstraints<S> &,
-      const bool,
-      const Table<2, Coupling> &,
-      const Table<2, Coupling> &,
-      const types::subdomain_id,
-      const std::function<bool(
-        const typename DoFHandler<deal_II_dimension>::active_cell_iterator &,
-        const unsigned int)> &);
-
-    template void
-    DoFTools::make_flux_sparsity_pattern<deal_II_dimension, deal_II_dimension>(
-      const DoFHandler<deal_II_dimension> &dof,
-      SparsityPatternBase                 &sparsity,
-      const AffineConstraints<S> &,
-      const bool,
-      const types::subdomain_id);
-
-#if deal_II_dimension < 3
-
-    template void
-    DoFTools::make_sparsity_pattern<deal_II_dimension, deal_II_dimension + 1>(
-      const DoFHandler<deal_II_dimension, deal_II_dimension + 1> &dof,
-      SparsityPatternBase                                        &sparsity,
-      const AffineConstraints<S> &,
+      const AffineConstraints<scalar> &,
       const bool,
       const types::subdomain_id);
 
     template void
-    DoFTools::make_sparsity_pattern<deal_II_dimension, deal_II_dimension + 1>(
-      const DoFHandler<deal_II_dimension, deal_II_dimension + 1> &,
+    DoFTools::make_sparsity_pattern<deal_II_dimension, deal_II_space_dimension>(
+      const DoFHandler<deal_II_dimension, deal_II_space_dimension> &,
       const Table<2, Coupling> &,
       SparsityPatternBase &,
-      const AffineConstraints<S> &,
+      const AffineConstraints<scalar> &,
       const bool,
       const types::subdomain_id);
 
     template void DoFTools::make_flux_sparsity_pattern<deal_II_dimension,
-                                                       deal_II_dimension + 1>(
-      const DoFHandler<deal_II_dimension, deal_II_dimension + 1> &dof,
-      SparsityPatternBase                                        &sparsity,
-      const AffineConstraints<S> &,
+                                                       deal_II_space_dimension>(
+      const DoFHandler<deal_II_dimension, deal_II_space_dimension> &,
+      SparsityPatternBase &,
+      const AffineConstraints<scalar> &,
       const bool,
       const Table<2, Coupling> &,
       const Table<2, Coupling> &,
       const types::subdomain_id,
       const std::function<bool(
-        const typename DoFHandler<deal_II_dimension, deal_II_dimension + 1>::
+        const typename DoFHandler<deal_II_dimension, deal_II_space_dimension>::
           active_cell_iterator &,
         const unsigned int)> &);
 
     template void DoFTools::make_flux_sparsity_pattern<deal_II_dimension,
-                                                       deal_II_dimension + 1>(
-      const DoFHandler<deal_II_dimension, deal_II_dimension + 1> &dof,
-      SparsityPatternBase                                        &sparsity,
-      const AffineConstraints<S> &,
-      const bool,
-      const types::subdomain_id);
-
-#endif
-
-#if deal_II_dimension == 3
-
-    template void DoFTools::make_sparsity_pattern<1, 3>(
-      const DoFHandler<1, 3> &dof,
-      SparsityPatternBase    &sparsity,
-      const AffineConstraints<S> &,
-      const bool,
-      const types::subdomain_id);
-
-    template void DoFTools::make_sparsity_pattern<1, 3>(
-      const DoFHandler<1, 3> &,
-      const Table<2, Coupling> &,
+                                                       deal_II_space_dimension>(
+      const DoFHandler<deal_II_dimension, deal_II_space_dimension> &,
       SparsityPatternBase &,
-      const AffineConstraints<S> &,
-      const bool,
-      const types::subdomain_id);
-
-    template void DoFTools::make_flux_sparsity_pattern<1, 3>(
-      const DoFHandler<1, 3> &dof,
-      SparsityPatternBase    &sparsity,
-      const AffineConstraints<S> &,
-      const bool,
-      const Table<2, Coupling> &,
-      const Table<2, Coupling> &,
-      const types::subdomain_id,
-      const std::function<
-        bool(const typename DoFHandler<1, 3>::active_cell_iterator &,
-             const unsigned int)> &);
-
-    template void DoFTools::make_flux_sparsity_pattern<1, 3>(
-      const DoFHandler<1, 3> &dof,
-      SparsityPatternBase    &sparsity,
-      const AffineConstraints<S> &,
+      const AffineConstraints<scalar> &,
       const bool,
       const types::subdomain_id);
-
 #endif
   }
 
-for (deal_II_dimension : DIMENSIONS)
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
   {
+#if deal_II_dimension <= deal_II_space_dimension
     template void
-    DoFTools::make_sparsity_pattern<deal_II_dimension, deal_II_dimension>(
-      const DoFHandler<deal_II_dimension, deal_II_dimension> &dof_row,
-      const DoFHandler<deal_II_dimension, deal_II_dimension> &dof_col,
-      SparsityPatternBase                                    &sparsity);
-
-    template void DoFTools::make_boundary_sparsity_pattern<deal_II_dimension,
-                                                           deal_II_dimension>(
-      const DoFHandler<deal_II_dimension> &dof,
-      const std::vector<types::global_dof_index> &,
+    DoFTools::make_sparsity_pattern<deal_II_dimension, deal_II_space_dimension>(
+      const DoFHandler<deal_II_dimension, deal_II_space_dimension> &,
+      const DoFHandler<deal_II_dimension, deal_II_space_dimension> &,
       SparsityPatternBase &);
 
-    template void
-    DoFTools::make_flux_sparsity_pattern<deal_II_dimension, deal_II_dimension>(
-      const DoFHandler<deal_II_dimension> &dof, SparsityPatternBase &sparsity);
-
-    template void
-    DoFTools::make_flux_sparsity_pattern<deal_II_dimension, deal_II_dimension>(
-      const DoFHandler<deal_II_dimension> &dof,
-      SparsityPatternBase                 &sparsity,
-      const Table<2, Coupling> &,
-      const Table<2, Coupling> &,
-      const types::subdomain_id);
-
-#if deal_II_dimension < 3
-
-    template void DoFTools::make_flux_sparsity_pattern<deal_II_dimension,
-                                                       deal_II_dimension + 1>(
-      const DoFHandler<deal_II_dimension, deal_II_dimension + 1> &dof,
-      SparsityPatternBase                                        &sparsity);
-
-    template void DoFTools::make_flux_sparsity_pattern<deal_II_dimension,
-                                                       deal_II_dimension + 1>(
-      const DoFHandler<deal_II_dimension, deal_II_dimension + 1> &dof,
-      SparsityPatternBase                                        &sparsity,
-      const Table<2, Coupling> &,
-      const Table<2, Coupling> &,
-      const types::subdomain_id);
-
-    template void
-    DoFTools::make_sparsity_pattern<deal_II_dimension, deal_II_dimension + 1>(
-      const DoFHandler<deal_II_dimension, deal_II_dimension + 1> &dof_row,
-      const DoFHandler<deal_II_dimension, deal_II_dimension + 1> &dof_col,
-      SparsityPatternBase                                        &sparsity);
-
     template void
     DoFTools::make_boundary_sparsity_pattern<deal_II_dimension,
-                                             deal_II_dimension + 1>(
-      const DoFHandler<deal_II_dimension, deal_II_dimension + 1> &dof,
+                                             deal_II_space_dimension>(
+      const DoFHandler<deal_II_dimension, deal_II_space_dimension> &,
       const std::vector<types::global_dof_index> &,
       SparsityPatternBase &);
 
-#endif
-
-
-#if deal_II_dimension == 3
-
-    template void DoFTools::make_sparsity_pattern<1, 3>(
-      const DoFHandler<1, 3> &dof_row,
-      const DoFHandler<1, 3> &dof_col,
-      SparsityPatternBase    &sparsity);
-
-    template void DoFTools::make_boundary_sparsity_pattern<1, 3>(
-      const DoFHandler<1, 3> &dof,
-      const std::vector<types::global_dof_index> &,
+    template void DoFTools::make_flux_sparsity_pattern<deal_II_dimension,
+                                                       deal_II_space_dimension>(
+      const DoFHandler<deal_II_dimension, deal_II_space_dimension> &,
       SparsityPatternBase &);
 
-    template void DoFTools::make_flux_sparsity_pattern<1, 3>(
-      const DoFHandler<1, 3> &dof, SparsityPatternBase &sparsity);
-
-    template void DoFTools::make_flux_sparsity_pattern<1, 3>(
-      const DoFHandler<1, 3> &dof,
-      SparsityPatternBase    &sparsity,
+    template void DoFTools::make_flux_sparsity_pattern<deal_II_dimension,
+                                                       deal_II_space_dimension>(
+      const DoFHandler<deal_II_dimension, deal_II_space_dimension> &,
+      SparsityPatternBase &,
       const Table<2, Coupling> &,
       const Table<2, Coupling> &,
       const types::subdomain_id);
-#endif
-  }
-
 
-for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
-  {
-#if deal_II_dimension <= deal_II_space_dimension
     template Table<2, DoFTools::Coupling>
     DoFTools::dof_couplings_from_component_couplings(
       const FiniteElement<deal_II_dimension, deal_II_space_dimension> &fe,
index a39cb7456179f863831c6181a2e0d649b6c9c362..1c154a6a3b440c52fbb1d464289aa5314eda9b77 100644 (file)
@@ -14,7 +14,7 @@
 
 
 
-for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS)
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
   {
 #if deal_II_dimension <= deal_II_space_dimension
     template class FE_PyramidPoly<deal_II_dimension, deal_II_space_dimension>;
index fc06967957a11b4d08427b7bc8803ee75917dbcf..673118e853be8e4632cbfaf53546516816983f1a 100644 (file)
@@ -14,7 +14,7 @@
 
 
 
-for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS)
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
   {
 #if deal_II_dimension <= deal_II_space_dimension
     template class FE_SimplexPoly<deal_II_dimension, deal_II_space_dimension>;
index 3191a06e9339859af6d056c9d3f0633e6e2693bb..7304d8ef946fb5ab7e19a34ecbc8c68d6118d810 100644 (file)
@@ -14,7 +14,7 @@
 
 
 
-for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS)
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
   {
 #if deal_II_dimension <= deal_II_space_dimension
     template class FE_SimplexP_Bubbles<deal_II_dimension,
index f8caa11e91e9c51d3f7cc76594506e81fe6d4cc4..d948a3cbc0c9b6228bd98e611929857ba998a29a 100644 (file)
@@ -14,7 +14,7 @@
 
 
 
-for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS)
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
   {
 #if deal_II_dimension <= deal_II_space_dimension
     template class FE_WedgePoly<deal_II_dimension, deal_II_space_dimension>;
index 1ecd90309dd02a61c903d9785c6f4ef3f91526dc..afebbdea9a5a02ce8ebab455500398f871ba0e77 100644 (file)
@@ -235,7 +235,7 @@ for (deal_II_dimension : DIMENSIONS)
 
 
 
-for (deal_II_space_dimension : DIMENSIONS)
+for (deal_II_space_dimension : SPACE_DIMENSIONS)
   {
     namespace GridGenerator
     \{
index 53f41038f4dcfbf08b87581ee3f8f9b67bac7c44..f5ac2be95cdce12a1dfbb497fc4d4fe30310d571 100644 (file)
@@ -15,7 +15,7 @@
 
 
 for (deal_II_struct_dimension : DIMENSIONS; deal_II_dimension : DIMENSIONS;
-     deal_II_space_dimension : DIMENSIONS)
+     deal_II_space_dimension : SPACE_DIMENSIONS)
   {
 #if deal_II_struct_dimension <= deal_II_dimension && \
   deal_II_dimension <= deal_II_space_dimension
@@ -38,7 +38,7 @@ for (deal_II_struct_dimension : DIMENSIONS; deal_II_dimension : DIMENSIONS;
   }
 
 
-for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS)
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
   {
 #if deal_II_dimension <= deal_II_space_dimension
     template class CellAccessor<deal_II_dimension, deal_II_space_dimension>;
@@ -51,14 +51,14 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS)
 #endif
   }
 
-for (deal_II_space_dimension : DIMENSIONS)
+for (deal_II_space_dimension : SPACE_DIMENSIONS)
   {
     template class TriaAccessor<0, 1, deal_II_space_dimension>;
     template class TriaIterator<TriaAccessor<0, 1, deal_II_space_dimension>>;
   }
 
 for (deal_II_struct_dimension : DIMENSIONS; deal_II_dimension : DIMENSIONS;
-     deal_II_space_dimension : DIMENSIONS)
+     deal_II_space_dimension : SPACE_DIMENSIONS)
   {
     template class InvalidAccessor<deal_II_struct_dimension,
                                    deal_II_dimension,
index f53a4fefabacc4de9e51f0ad70c7319c2b84d516..62c2c28f08e67b55e6e2820b9e9556394bf50569 100644 (file)
@@ -14,7 +14,7 @@
 
 
 
-for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS)
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
   {
     namespace TriangulationDescription
     \{
index d013a949e0abaf90e0445396c8c0f0841ff7ffd1..2e083723f690596dba07bb1b791e60c0d0810a94 100644 (file)
@@ -13,7 +13,7 @@
 // ------------------------------------------------------------------------
 
 
-for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS;
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS;
      deal_II_scalar : REAL_SCALARS)
   {
 #if deal_II_dimension <= deal_II_space_dimension
@@ -56,7 +56,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
 
 
 
-for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS;
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS;
      deal_II_scalar_vectorized : REAL_SCALARS_VECTORIZED)
   {
 #if deal_II_dimension <= deal_II_space_dimension
index 4ea3e594c2114560476ca7940a892c4b641b8036..8e67b72d228f311cd10ad7709d432e70692839f6 100644 (file)
@@ -76,7 +76,7 @@ for (deal_II_dimension : DIMENSIONS)
     \}
   }
 
-for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS)
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
   {
 #if 1 < deal_II_dimension
     template class NonMatching::internal::QuadratureGeneratorImplementation::
index 5af9f13d6bf0b1e1bead5f0a30309d8f4aa4dfe6..2e259b8d4f09aa8c1dc3cc48487ce3fdd9984200 100644 (file)
 
 
 
-for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS)
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
   {
+#if deal_II_dimension <= deal_II_space_dimension
     namespace internal
     \{
       namespace DataOutImplementation
       \{
-#if deal_II_dimension <= deal_II_space_dimension
+
         template struct ParallelData<deal_II_dimension,
                                      deal_II_space_dimension>;
-#endif
       \}
     \}
-  }
-
-
-for (deal_II_dimension : DIMENSIONS)
-  {
-    template class DataOut<deal_II_dimension>;
-#if deal_II_dimension < 3
-    template class DataOut<deal_II_dimension, deal_II_dimension + 1>;
-#endif
 
-#if deal_II_dimension == 3
-    template class DataOut<1, 3>;
+    template class DataOut<deal_II_dimension, deal_II_space_dimension>;
 #endif
   }
index 0259aec89eb68d85e088e5f3284575ac8f56ec3e..bdbc815837173d87a6e8a9b4d21125c3be5a6ac4 100644 (file)
@@ -14,7 +14,7 @@
 
 
 for (VEC : REAL_VECTOR_TYPES; deal_II_dimension : DIMENSIONS;
-     deal_II_space_dimension : DIMENSIONS)
+     deal_II_space_dimension : SPACE_DIMENSIONS)
   {
 #if deal_II_dimension < deal_II_space_dimension
     template void DataOut_DoFData<deal_II_dimension,
@@ -70,7 +70,7 @@ for (deal_II_dimension : DIMENSIONS)
   }
 
 
-for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS)
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
   {
     namespace internal
     \{
index 3cdb865af9cd49f9e006cf3ec338a2028210f9a1..2d0a4fd4eb18c0eee201d21f31bba72cc94298f7 100644 (file)
@@ -14,7 +14,7 @@
 
 
 for (deal_II_dimension : DIMENSIONS; deal_II_patch_dimension : DIMENSIONS;
-     deal_II_space_dimension : DIMENSIONS)
+     deal_II_space_dimension : SPACE_DIMENSIONS)
   {
 #if deal_II_dimension == deal_II_space_dimension && \
   deal_II_patch_dimension <= deal_II_space_dimension

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.