]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make the syntax for explicit instantiations of member templates C++ standard conforming.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 25 Mar 2002 14:07:46 +0000 (14:07 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 25 Mar 2002 14:07:46 +0000 (14:07 +0000)
git-svn-id: https://svn.dealii.org/trunk@5613 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/sparse_matrix.2.templates

index f2f37dfb7ffbe53b20269f752fc9aa1443b27522..e1b053c4fcd264e3d4f3b62f9c4aa30ea2445412 100644 (file)
 // TYPEMAT and TYPE2 are defined in sparsematrix?.cc
 
 template SparseMatrix<TYPEMAT> &
-SparseMatrix<TYPEMAT>::copy_from (const SparseMatrix<TYPE2> &);
+SparseMatrix<TYPEMAT>::copy_from<> (const SparseMatrix<TYPE2> &);
 
 template 
-void SparseMatrix<TYPEMAT>::copy_from (const FullMatrix<TYPE2> &);
+void SparseMatrix<TYPEMAT>::copy_from<> (const FullMatrix<TYPE2> &);
 
-template void SparseMatrix<TYPEMAT>::add_scaled (const TYPEMAT,
-                                                const SparseMatrix<TYPE2> &);
+template void SparseMatrix<TYPEMAT>::add_scaled<> (const TYPEMAT,
+                                                  const SparseMatrix<TYPE2> &);
 
-template void SparseMatrix<TYPEMAT>::vmult (Vector<TYPE2> &,
-                                           const Vector<TYPE2> &) const;
-template void SparseMatrix<TYPEMAT>::Tvmult (Vector<TYPE2> &,
-                                            const Vector<TYPE2> &) const;
-template void SparseMatrix<TYPEMAT>::vmult_add (Vector<TYPE2> &,
-                                               const Vector<TYPE2> &) const;
-template void SparseMatrix<TYPEMAT>::Tvmult_add (Vector<TYPE2> &,
-                                               const Vector<TYPE2> &) const;
-
-template TYPE2
-SparseMatrix<TYPEMAT>::matrix_norm_square (const Vector<TYPE2> &) const;
-
-template TYPE2
-SparseMatrix<TYPEMAT>::matrix_scalar_product (const Vector<TYPE2> &,
+template void SparseMatrix<TYPEMAT>::vmult<> (Vector<TYPE2> &,
                                              const Vector<TYPE2> &) const;
-
-template TYPE2 SparseMatrix<TYPEMAT>::residual (Vector<TYPE2> &,
-                                              const Vector<TYPE2> &,
+template void SparseMatrix<TYPEMAT>::Tvmult<> (Vector<TYPE2> &,
                                               const Vector<TYPE2> &) const;
+template void SparseMatrix<TYPEMAT>::vmult_add<> (Vector<TYPE2> &,
+                                                 const Vector<TYPE2> &) const;
+template void SparseMatrix<TYPEMAT>::Tvmult_add<> (Vector<TYPE2> &,
+                                                  const Vector<TYPE2> &) const;
 
-template void SparseMatrix<TYPEMAT>::precondition_SSOR (Vector<TYPE2> &,
-                                                     const Vector<TYPE2> &,
-                                                     const TYPEMAT) const;
-
-template void SparseMatrix<TYPEMAT>::precondition_SOR (Vector<TYPE2> &,
-                                                    const Vector<TYPE2> &,
-                                                    const TYPEMAT) const;
-
-template void SparseMatrix<TYPEMAT>::precondition_TSOR (Vector<TYPE2> &,
-                                                    const Vector<TYPE2> &,
-                                                    const TYPEMAT) const;
-
-template void SparseMatrix<TYPEMAT>::precondition_Jacobi (Vector<TYPE2> &,
-                                                       const Vector<TYPE2> &,
-                                                       const TYPEMAT) const;
+template TYPE2
+SparseMatrix<TYPEMAT>::matrix_norm_square<> (const Vector<TYPE2> &) const;
 
-template void SparseMatrix<TYPEMAT>::SOR (Vector<TYPE2> &, const TYPEMAT) const;
-template void SparseMatrix<TYPEMAT>::TSOR (Vector<TYPE2> &, const TYPEMAT) const;
-template void SparseMatrix<TYPEMAT>::SSOR (Vector<TYPE2> &, const TYPEMAT) const;
-template void SparseMatrix<TYPEMAT>::SOR_step (Vector<TYPE2> &, const Vector<TYPE2> &, const TYPEMAT) const;
-template void SparseMatrix<TYPEMAT>::TSOR_step (Vector<TYPE2> &, const Vector<TYPE2> &, const TYPEMAT) const;
-template void SparseMatrix<TYPEMAT>::SSOR_step (Vector<TYPE2> &, const Vector<TYPE2> &, const TYPEMAT) const;
+template TYPE2
+SparseMatrix<TYPEMAT>::matrix_scalar_product<> (const Vector<TYPE2> &,
+                                               const Vector<TYPE2> &) const;
+
+template TYPE2 SparseMatrix<TYPEMAT>::residual<> (Vector<TYPE2> &,
+                                                 const Vector<TYPE2> &,
+                                                 const Vector<TYPE2> &) const;
+
+template void SparseMatrix<TYPEMAT>::precondition_SSOR<> (Vector<TYPE2> &,
+                                                         const Vector<TYPE2> &,
+                                                         const TYPEMAT) const;
+
+template void SparseMatrix<TYPEMAT>::precondition_SOR<> (Vector<TYPE2> &,
+                                                        const Vector<TYPE2> &,
+                                                        const TYPEMAT) const;
+
+template void SparseMatrix<TYPEMAT>::precondition_TSOR<> (Vector<TYPE2> &,
+                                                         const Vector<TYPE2> &,
+                                                         const TYPEMAT) const;
+
+template void SparseMatrix<TYPEMAT>::precondition_Jacobi<> (Vector<TYPE2> &,
+                                                           const Vector<TYPE2> &,
+                                                           const TYPEMAT) const;
+
+template void SparseMatrix<TYPEMAT>::SOR<> (Vector<TYPE2> &, const TYPEMAT) const;
+template void SparseMatrix<TYPEMAT>::TSOR<> (Vector<TYPE2> &, const TYPEMAT) const;
+template void SparseMatrix<TYPEMAT>::SSOR<> (Vector<TYPE2> &, const TYPEMAT) const;
+template void SparseMatrix<TYPEMAT>::SOR_step<> (Vector<TYPE2> &, const Vector<TYPE2> &, const TYPEMAT) const;
+template void SparseMatrix<TYPEMAT>::TSOR_step<> (Vector<TYPE2> &, const Vector<TYPE2> &, const TYPEMAT) const;
+template void SparseMatrix<TYPEMAT>::SSOR_step<> (Vector<TYPE2> &, const Vector<TYPE2> &, const TYPEMAT) 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.