From: Peter Munch Date: Sat, 21 Mar 2020 09:26:51 +0000 (+0100) Subject: Ignore complex numbers X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e83f3c5ae01b758991206140d35814e1b99e3e9;p=dealii.git Ignore complex numbers --- diff --git a/source/lac/la_sm_vector.cc b/source/lac/la_sm_vector.cc index 28d04e2dc3..b417334781 100644 --- a/source/lac/la_sm_vector.cc +++ b/source/lac/la_sm_vector.cc @@ -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, std::complex); - TEMPL_COPY_CONSTRUCTOR(std::complex, std::complex); -#endif #undef TEMPL_COPY_CONSTRUCTOR } // namespace SharedMPI diff --git a/source/lac/la_sm_vector.inst.in b/source/lac/la_sm_vector.inst.in index d58cdb2837..bf7bf92c24 100644 --- a/source/lac/la_sm_vector.inst.in +++ b/source/lac/la_sm_vector.inst.in @@ -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::reinit( - const Vector &, - const bool); - template S1 - Vector::inner_product_local( - const Vector &) const; - template void - Vector::copy_locally_owned_data_from< - S2>(const Vector &); - \} - \} - } - - -for (S1, S2 : COMPLEX_SCALARS) +for (S1 : REAL_SCALARS; S2 : REAL_SCALARS) { namespace LinearAlgebra \{