From 9c82312dbf441b1b60d8363d86a273d52ed4790d Mon Sep 17 00:00:00 2001
From: Daniel Garcia-Sanchez <daniel.garcia-sanchez@insp.upmc.fr>
Date: Wed, 11 Jul 2018 12:19:21 +0200
Subject: [PATCH] Add instantiations for complex arguments

---
 source/numerics/vector_tools_boundary.inst.in | 44 +++++--------------
 1 file changed, 10 insertions(+), 34 deletions(-)

diff --git a/source/numerics/vector_tools_boundary.inst.in b/source/numerics/vector_tools_boundary.inst.in
index e93bb76388..657a891af3 100644
--- a/source/numerics/vector_tools_boundary.inst.in
+++ b/source/numerics/vector_tools_boundary.inst.in
@@ -81,7 +81,8 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS;
 
 
 for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS;
-     DH : DOFHANDLER_TEMPLATES)
+     DH : DOFHANDLER_TEMPLATES;
+     number : REAL_AND_COMPLEX_SCALARS)
   {
 #if deal_II_dimension <= deal_II_space_dimension
     namespace VectorTools
@@ -92,17 +93,8 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS;
         const Mapping<deal_II_dimension, deal_II_space_dimension> &,
         const DH<deal_II_dimension, deal_II_space_dimension> &,
         const std::map<types::boundary_id,
-                       const Function<deal_II_space_dimension, double> *> &,
-        AffineConstraints<double> &,
-        const ComponentMask &);
-
-      template void
-      interpolate_boundary_values(
-        const Mapping<deal_II_dimension, deal_II_space_dimension> &,
-        const DH<deal_II_dimension, deal_II_space_dimension> &,
-        const types::boundary_id,
-        const Function<deal_II_space_dimension> &,
-        AffineConstraints<double> &,
+                       const Function<deal_II_space_dimension, number> *> &,
+        AffineConstraints<number> &,
         const ComponentMask &);
 
       template void
@@ -110,40 +102,24 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS;
         const Mapping<deal_II_dimension, deal_II_space_dimension> &,
         const DH<deal_II_dimension, deal_II_space_dimension> &,
         const types::boundary_id,
-        const Function<deal_II_space_dimension, float> &,
-        AffineConstraints<float> &,
-        const ComponentMask &);
-
-      template void
-      interpolate_boundary_values(
-        const DH<deal_II_dimension, deal_II_space_dimension> &,
-        const types::boundary_id,
-        const Function<deal_II_space_dimension> &,
-        AffineConstraints<double> &,
+        const Function<deal_II_space_dimension, number> &,
+        AffineConstraints<number> &,
         const ComponentMask &);
 
       template void
       interpolate_boundary_values(
         const DH<deal_II_dimension, deal_II_space_dimension> &,
         const types::boundary_id,
-        const Function<deal_II_space_dimension, float> &,
-        AffineConstraints<float> &,
-        const ComponentMask &);
-
-      template void
-      interpolate_boundary_values(
-        const DH<deal_II_dimension, deal_II_space_dimension> &,
-        const std::map<types::boundary_id,
-                       const Function<deal_II_space_dimension, double> *> &,
-        AffineConstraints<double> &,
+        const Function<deal_II_space_dimension, number> &,
+        AffineConstraints<number> &,
         const ComponentMask &);
 
       template void
       interpolate_boundary_values(
         const DH<deal_II_dimension, deal_II_space_dimension> &,
         const std::map<types::boundary_id,
-                       const Function<deal_II_space_dimension, float> *> &,
-        AffineConstraints<float> &,
+                       const Function<deal_II_space_dimension, number> *> &,
+        AffineConstraints<number> &,
         const ComponentMask &);
 
     \}
-- 
2.39.5