]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Instantiate MatrixTools::apply_boundary_values also for complex values
authorDaniel Arndt <arndtd@ornl.gov>
Wed, 15 Sep 2021 16:16:28 +0000 (12:16 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Wed, 15 Sep 2021 16:19:50 +0000 (12:19 -0400)
source/numerics/matrix_tools.inst.in

index e95ffe6291c314b36b2a1e593579ba4900880cc5..58d28822030e26867ad7951e6f191a10474fae27 100644 (file)
@@ -13,7 +13,7 @@
 //
 // ---------------------------------------------------------------------
 
-for (number : REAL_SCALARS)
+for (number : REAL_AND_COMPLEX_SCALARS)
   {
     template void MatrixTools::local_apply_boundary_values(
       const std::map<types::global_dof_index, number> &boundary_values,
@@ -36,13 +36,3 @@ for (number : REAL_SCALARS)
       BlockVector<number> &                            right_hand_side,
       const bool                                       eliminate_columns);
   }
-
-for (number : COMPLEX_SCALARS)
-  {
-    template void MatrixTools::apply_boundary_values(
-      const std::map<types::global_dof_index, number> &boundary_values,
-      SparseMatrix<number> &                           matrix,
-      Vector<number> &                                 solution,
-      Vector<number> &                                 right_hand_side,
-      const bool                                       eliminate_columns);
-  }

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.