]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Instantiate the right templates.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 4 Jun 2004 16:26:55 +0000 (16:26 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 4 Jun 2004 16:26:55 +0000 (16:26 +0000)
git-svn-id: https://svn.dealii.org/trunk@9385 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/source/vector.cc
deal.II/lac/source/vector.long_double.cc

index 015deece3474bc0c97620d49f14a657fd6644ef5..9c57dc77b34d22391434a31f32572ecafbf2aac6 100644 (file)
@@ -16,6 +16,9 @@
 
 // explicit instantiations
 template class Vector<double>;
+
+template Vector<double>::Vector (const Vector<float> &);
+
 template Vector<double>& Vector<double>::DEAL_II_MEMBER_OP_TEMPLATE_INST operator=<float>(const Vector<float>&);
 template bool Vector<double>::DEAL_II_MEMBER_OP_TEMPLATE_INST operator==<double>(const Vector<double>&) const;
 template bool Vector<double>::DEAL_II_MEMBER_OP_TEMPLATE_INST operator==<float>(const Vector<float>&) const;
@@ -29,6 +32,9 @@ template void Vector<double>::scale<double>(const Vector<double>&);
 template void Vector<double>::scale<float>(const Vector<float>&);
 
 template class Vector<float>;
+
+template Vector<float>::Vector (const Vector<double> &);
+
 template Vector<float>& Vector<float>::DEAL_II_MEMBER_OP_TEMPLATE_INST operator=<double>(const Vector<double>&);
 template bool Vector<float>::DEAL_II_MEMBER_OP_TEMPLATE_INST operator==<double>(const Vector<double>&) const;
 template bool Vector<float>::DEAL_II_MEMBER_OP_TEMPLATE_INST operator==<float>(const Vector<float>&) const;
index 6658aa0cee12362b3d200330fd6de65910be08da..494a564ca14061f0e3d6f5ec8c1536aba6a38632 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
 // explicit instantiations
 template class Vector<long double>;
 
+template Vector<long double>::Vector (const Vector<double> &);
+template Vector<long double>::Vector (const Vector<float> &);
+
+template Vector<double>::Vector (const Vector<long double> &);
+template Vector<float>::Vector (const Vector<long double> &);
+
 template Vector<long double>& Vector<long double>::DEAL_II_MEMBER_OP_TEMPLATE_INST operator=<double>(const Vector<double>&);
 template Vector<long double>& Vector<long double>::DEAL_II_MEMBER_OP_TEMPLATE_INST operator=<float>(const Vector<float>&);
 template long double Vector<long double>::DEAL_II_MEMBER_OP_TEMPLATE_INST operator *<long double> (const Vector<long double> &) const;

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.