]> https://gitweb.dealii.org/ - dealii.git/commitdiff
DofTools: add missing codimension-one instantiation 16539/head
authorMatthias Maier <tamiko@43-1.org>
Thu, 18 Jan 2024 18:50:00 +0000 (12:50 -0600)
committerMatthias Maier <tamiko@43-1.org>
Thu, 25 Jan 2024 16:48:32 +0000 (10:48 -0600)
source/dofs/dof_tools_sparsity.inst.in

index 0a7430be4e7a7f41bf429b625ceca6ceef51d2f2..144f1ffd4a023aea798b65abaaba5899110c3e81 100644 (file)
@@ -257,15 +257,17 @@ for (deal_II_dimension : DIMENSIONS)
   }
 
 
-for (deal_II_dimension : DIMENSIONS)
+for (deal_II_dimension, deal_II_space_dimension : 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> &fe,
-      const Table<2, DoFTools::Coupling> &    component_couplings);
+      const FiniteElement<deal_II_dimension, deal_II_space_dimension> &fe,
+      const Table<2, DoFTools::Coupling> &component_couplings);
 
     template std::vector<Table<2, DoFTools::Coupling>>
     DoFTools::dof_couplings_from_component_couplings(
-      const hp::FECollection<deal_II_dimension> &fe,
-      const Table<2, DoFTools::Coupling> &       component_couplings);
+      const hp::FECollection<deal_II_dimension, deal_II_space_dimension> &fe,
+      const Table<2, DoFTools::Coupling> &component_couplings);
+#endif
   }

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.