]> https://gitweb.dealii.org/ - dealii.git/commitdiff
FullMatirx.vmult for vectors based on std::complex<double>
authorDenis Davydov <davydden@gmail.com>
Tue, 16 Jun 2015 21:13:36 +0000 (23:13 +0200)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 17 Jun 2015 19:33:34 +0000 (14:33 -0500)
source/lac/full_matrix.cc

index 84425d80e046f7df9eb26bd1ab748cbd516ac06a..b7d468bca9aba36f5e5940926402d948a10cccd8 100644 (file)
@@ -20,6 +20,10 @@ DEAL_II_NAMESPACE_OPEN
 
 #include "full_matrix.inst"
 
+// This is needed if PETSc was compiled with complex, though, it may
+// be used elsewhere too.
+template void dealii::FullMatrix<double>::vmult<std::complex<double> >(dealii::Vector<std::complex<double> > &, dealii::Vector<std::complex<double> > const &, bool) const;
+
 // do a few functions that currently don't fit the scheme because they have
 // two template arguments that need to be different (the case of same
 // arguments is covered by the default copy constructor and copy operator that

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.