]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add instantiations of project_boundary_values() with complex arguments 6914/head
authorDaniel Garcia-Sanchez <daniel.garcia-sanchez@insp.upmc.fr>
Wed, 11 Jul 2018 15:01:20 +0000 (17:01 +0200)
committerDaniel Garcia-Sanchez <daniel.garcia-sanchez@insp.upmc.fr>
Wed, 11 Jul 2018 15:01:20 +0000 (17:01 +0200)
source/numerics/vector_tools_boundary.inst.in

index e93bb763883a291be35464bf4da6bb23e45edb5e..bce9f79ed588ad8019f30216e0d90e7b44c91d4e 100644 (file)
@@ -189,7 +189,8 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS;
 #endif
   }
 
-for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS;
+     number : REAL_AND_COMPLEX_SCALARS)
   {
     namespace VectorTools
     \{
@@ -201,19 +202,29 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
         const Mapping<deal_II_dimension> &,
         const DoFHandler<deal_II_dimension> &,
         const std::map<types::boundary_id,
-                       const Function<deal_II_dimension, double> *> &,
+                       const Function<deal_II_dimension, number> *> &,
         const Quadrature<deal_II_dimension - 1> &,
-        AffineConstraints<double> &,
+        AffineConstraints<number> &,
         std::vector<unsigned int>);
 
       template void
       project_boundary_values<deal_II_dimension>(
         const DoFHandler<deal_II_dimension> &,
         const std::map<types::boundary_id,
-                       const Function<deal_II_dimension, double> *> &,
+                       const Function<deal_II_dimension, number> *> &,
         const Quadrature<deal_II_dimension - 1> &,
-        AffineConstraints<double> &,
+        AffineConstraints<number> &,
         std::vector<unsigned int>);
+#endif
+    \}
+  }
+
+
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
+  {
+    namespace VectorTools
+    \{
+#if deal_II_dimension == deal_II_space_dimension
 
 #  if deal_II_dimension != 1
       template void

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.