]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Instantiate DoFTools::make_boundary_sparsity_pattern for complex types 10675/head
authorDaniel Arndt <arndtd@ornl.gov>
Wed, 8 Jul 2020 23:26:19 +0000 (19:26 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Wed, 8 Jul 2020 23:26:19 +0000 (19:26 -0400)
source/dofs/dof_tools_sparsity.inst.in

index 235223deca53d2e6bea38622ea1efcc39b4ee107..a5c3ec8a1eda9380bd3215392c5821847a98970a 100644 (file)
@@ -13,7 +13,7 @@
 //
 // ---------------------------------------------------------------------
 
-for (scalar : REAL_SCALARS; SP : SPARSITY_PATTERNS;
+for (scalar : REAL_AND_COMPLEX_SCALARS; SP : SPARSITY_PATTERNS;
      deal_II_dimension : DIMENSIONS)
   {
     template void DoFTools::make_boundary_sparsity_pattern<deal_II_dimension,
@@ -57,35 +57,6 @@ for (scalar : REAL_SCALARS; SP : SPARSITY_PATTERNS;
 #endif
   }
 
-for (scalar : COMPLEX_SCALARS; SP : SPARSITY_PATTERNS;
-     deal_II_dimension : DIMENSIONS)
-  {
-    template void DoFTools::make_boundary_sparsity_pattern<deal_II_dimension,
-                                                           deal_II_dimension,
-                                                           SP,
-                                                           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,
-      SP &                                        sparsity);
-
-#if deal_II_dimension < 3
-    template void
-    DoFTools::make_boundary_sparsity_pattern<deal_II_dimension,
-                                             deal_II_dimension + 1,
-                                             SP,
-                                             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,
-      SP &                                        sparsity);
-
-#endif
-  }
-
 for (SP : SPARSITY_PATTERNS; deal_II_dimension : DIMENSIONS;
      S : REAL_AND_COMPLEX_SCALARS)
   {

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.