]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Ignore complex numbers
authorPeter Munch <peterrmuench@gmail.com>
Sat, 21 Mar 2020 09:26:51 +0000 (10:26 +0100)
committerPeter Munch <peterrmuench@gmail.com>
Sat, 21 Mar 2020 09:26:51 +0000 (10:26 +0100)
source/lac/la_sm_vector.cc
source/lac/la_sm_vector.inst.in

index 28d04e2dc387546621a1bc0f5d750dba5f6e97c8..b4173347817d08ae5271cde14181ada01bef19b7 100644 (file)
@@ -36,10 +36,6 @@ namespace LinearAlgebra
 
     TEMPL_COPY_CONSTRUCTOR(double, float);
     TEMPL_COPY_CONSTRUCTOR(float, double);
-#ifdef DEAL_II_WITH_COMPLEX_VALUES
-    TEMPL_COPY_CONSTRUCTOR(std::complex<double>, std::complex<float>);
-    TEMPL_COPY_CONSTRUCTOR(std::complex<float>, std::complex<double>);
-#endif
 
 #undef TEMPL_COPY_CONSTRUCTOR
   } // namespace SharedMPI
index d58cdb2837acc4106c222fadf6db7797ccdf43fd..bf7bf92c24b4fb69ef3529414ab9d616645f6483 100644 (file)
@@ -15,7 +15,7 @@
 
 
 
-for (SCALAR : REAL_AND_COMPLEX_SCALARS)
+for (SCALAR : REAL_SCALARS)
   {
     namespace LinearAlgebra
     \{
@@ -31,28 +31,7 @@ for (SCALAR : REAL_AND_COMPLEX_SCALARS)
     \}
   }
 
-for (S1 : REAL_AND_COMPLEX_SCALARS; S2 : REAL_SCALARS)
-  {
-    namespace LinearAlgebra
-    \{
-      namespace SharedMPI
-      \{
-        template void
-        Vector<S1, ::dealii::MemorySpace::Host>::reinit<S2>(
-          const Vector<S2, ::dealii::MemorySpace::Host> &,
-          const bool);
-        template S1
-        Vector<S1, ::dealii::MemorySpace::Host>::inner_product_local<S2>(
-          const Vector<S2, ::dealii::MemorySpace::Host> &) const;
-        template void
-        Vector<S1, ::dealii::MemorySpace::Host>::copy_locally_owned_data_from<
-          S2>(const Vector<S2, ::dealii::MemorySpace::Host> &);
-      \}
-    \}
-  }
-
-
-for (S1, S2 : COMPLEX_SCALARS)
+for (S1 : REAL_SCALARS; S2 : REAL_SCALARS)
   {
     namespace LinearAlgebra
     \{

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.