]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fix linking problem
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 30 Nov 2011 21:09:04 +0000 (21:09 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 30 Nov 2011 21:09:04 +0000 (21:09 +0000)
git-svn-id: https://svn.dealii.org/trunk@24783 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/lac/constraint_matrix.cc
deal.II/source/multigrid/mg_transfer_prebuilt.inst.in

index e0db3731b7b8a7b0b0c608d440fcac012b8615e0..3a7d1f30d883f15a7048fa2d3388438e13fdc13e 100644 (file)
@@ -2279,8 +2279,10 @@ ConstraintMatrix::memory_consumption () const
 
 VECTOR_FUNCTIONS(Vector<float>);
 VECTOR_FUNCTIONS(Vector<double>);
-VECTOR_FUNCTIONS(BlockVector<double>);
+VECTOR_FUNCTIONS(Vector<long double>);
 VECTOR_FUNCTIONS(BlockVector<float>);
+VECTOR_FUNCTIONS(BlockVector<double>);
+VECTOR_FUNCTIONS(BlockVector<long double>);
 
 // TODO: Can PETSc really do all the operations required by the above
 // condense/distribute function etc also on distributed vectors? Trilinos
index 3fb5cdb8432c8d23fbda1852f3b9f5b347b644e4..f2bd460769f0d410b4d0cfd91887f8f7ada84e77 100644 (file)
 //---------------------------------------------------------------------------
 
 
-for (deal_II_dimension : DIMENSIONS; V1 : SERIAL_VECTORS)
+for (deal_II_dimension : DIMENSIONS; V1 : DEAL_II_VEC_TEMPLATES; S1 : REAL_SCALARS)
   {
     template
-      void MGTransferPrebuilt<V1 >::build_matrices<deal_II_dimension>(
+      void MGTransferPrebuilt<V1<S1> >::build_matrices<deal_II_dimension>(
        const MGDoFHandler<deal_II_dimension> &mg_dof);
   }
 
-for (deal_II_dimension : DIMENSIONS; V1,V2 : SERIAL_VECTORS)
+for (deal_II_dimension : DIMENSIONS; V1,V2 : DEAL_II_VEC_TEMPLATES; S1, S2 : REAL_SCALARS)
   {    
     template void
-      MGTransferPrebuilt<V1 >::copy_to_mg (
-       const MGDoFHandler<deal_II_dimension>&, MGLevelObject<V1 >&, const V2&) const;
+      MGTransferPrebuilt<V1<S1> >::copy_to_mg (
+       const MGDoFHandler<deal_II_dimension>&, MGLevelObject<V1<S1> >&, const V2<S2>&) const;
     template void
-      MGTransferPrebuilt<V1 >::copy_from_mg (const MGDoFHandler<deal_II_dimension>&, V2&,
-                                            const MGLevelObject<V1 >&) const;
+      MGTransferPrebuilt<V1<S1> >::copy_from_mg (const MGDoFHandler<deal_II_dimension>&, V2<S2>&,
+                                            const MGLevelObject<V1<S1> >&) const;
     template void
-      MGTransferPrebuilt<V1 >::copy_from_mg_add (const MGDoFHandler<deal_II_dimension>&, V2&,
-                                                const MGLevelObject<V1 >&) const;
+      MGTransferPrebuilt<V1<S1> >::copy_from_mg_add (const MGDoFHandler<deal_II_dimension>&, V2<S2>&,
+                                                const MGLevelObject<V1<S1> >&) 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.