]> https://gitweb.dealii.org/ - dealii.git/commitdiff
instantiate Vector<int>
authorDenis Davydov <davydden@gmail.com>
Sun, 1 Mar 2015 17:14:10 +0000 (18:14 +0100)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 8 May 2015 16:23:51 +0000 (11:23 -0500)
source/lac/vector.cc

index 42fb1af5bc9c184c725a44f9ccb1a900de6f8e58..18dee6b06d657115cd64187fa7c341bb120e954d 100644 (file)
@@ -19,6 +19,21 @@ DEAL_II_NAMESPACE_OPEN
 
 #include "vector.inst"
 
+// instantiate for integers:
+template class Vector<int>;
+namespace internal
+{
+  namespace Vector
+  {
+    template void copy_vector<int,double> (const dealii::Vector<int>&,
+                                           dealii::Vector<double>&);
+  }
+}
+
+template
+void Vector<int>::reinit<double>(const Vector<double>&, const bool);
+
+
 // 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.