From 73359a2eba656a7d9ab068bbf279d0d338bfe080 Mon Sep 17 00:00:00 2001 From: Daniel Garcia-Sanchez Date: Wed, 11 Jul 2018 17:01:20 +0200 Subject: [PATCH] Add instantiations of project_boundary_values() with complex arguments --- source/numerics/vector_tools_boundary.inst.in | 21 ++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/source/numerics/vector_tools_boundary.inst.in b/source/numerics/vector_tools_boundary.inst.in index e93bb76388..bce9f79ed5 100644 --- a/source/numerics/vector_tools_boundary.inst.in +++ b/source/numerics/vector_tools_boundary.inst.in @@ -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 &, const DoFHandler &, const std::map *> &, + const Function *> &, const Quadrature &, - AffineConstraints &, + AffineConstraints &, std::vector); template void project_boundary_values( const DoFHandler &, const std::map *> &, + const Function *> &, const Quadrature &, - AffineConstraints &, + AffineConstraints &, std::vector); +#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 -- 2.39.5