]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make sure to fix the signature of those functions that actually take three template...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 9 Dec 2007 22:35:21 +0000 (22:35 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 9 Dec 2007 22:35:21 +0000 (22:35 +0000)
git-svn-id: https://svn.dealii.org/trunk@15585 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/source/precondition_block.inst.in

index d75f6080e26aaf8b1a427079e4b133b21874825b..d955d8f9b52d92bb1663e578da26c389d7b6720c 100644 (file)
 for (S1, S2 : REAL_SCALARS)
   {
     template class PreconditionBlock<SparseMatrix<S1>, S2>;
-
-// ------------ PreconditionBlockJacobi -----------------
     template class PreconditionBlockJacobi<SparseMatrix<S1>, S2>;
+    template class PreconditionBlockSOR<SparseMatrix<S1>, S2>;
+    template class PreconditionBlockSSOR<SparseMatrix<S1>, S2>;
+  }
 
+
+for (S1, S2, S3 : REAL_SCALARS)
+  {
+// ------------ PreconditionBlockJacobi -----------------
     template
-      void PreconditionBlockJacobi<SparseMatrix<S1>, S2>::vmult<S2>
-      (Vector<S2> &, const Vector<S2> &) const;
-    template
-      void PreconditionBlockJacobi<SparseMatrix<S1>, S2>::vmult<S1>
-      (Vector<S1> &, const Vector<S1> &) const;
-    template
-      void PreconditionBlockJacobi<SparseMatrix<S1>, S2>::Tvmult<S2>
-      (Vector<S2> &, const Vector<S2> &) const;
-    template
-      void PreconditionBlockJacobi<SparseMatrix<S1>, S2>::Tvmult<S1>
-      (Vector<S1> &, const Vector<S1> &) const;
-    template
-      void PreconditionBlockJacobi<SparseMatrix<S1>, S2>::vmult_add<S2>
-      (Vector<S2> &, const Vector<S2> &) const;
+      void PreconditionBlockJacobi<SparseMatrix<S1>, S2>::vmult<S3>
+      (Vector<S3> &, const Vector<S3> &) const;
     template
-      void PreconditionBlockJacobi<SparseMatrix<S1>, S2>::vmult_add<S1>
-      (Vector<S1> &, const Vector<S1> &) const;
+      void PreconditionBlockJacobi<SparseMatrix<S1>, S2>::Tvmult<S3>
+      (Vector<S3> &, const Vector<S3> &) const;
     template
-      void PreconditionBlockJacobi<SparseMatrix<S1>, S2>::Tvmult_add<S2>
-      (Vector<S2> &, const Vector<S2> &) const;
+      void PreconditionBlockJacobi<SparseMatrix<S1>, S2>::vmult_add<S3>
+      (Vector<S3> &, const Vector<S3> &) const;
     template
-      void PreconditionBlockJacobi<SparseMatrix<S1>, S2>::Tvmult_add<S1>
-      (Vector<S1> &, const Vector<S1> &) const;
+      void PreconditionBlockJacobi<SparseMatrix<S1>, S2>::Tvmult_add<S3>
+      (Vector<S3> &, const Vector<S3> &) const;
 
 // ------------ PreconditionBlockSOR -----------------
-    template class PreconditionBlockSOR<SparseMatrix<S1>, S2>;
-
-    template
-      void PreconditionBlockSOR<SparseMatrix<S1>, S2>::vmult<S2>
-      (Vector<S2> &, const Vector<S2> &) const;
     template
-      void PreconditionBlockSOR<SparseMatrix<S1>, S2>::vmult<S1>
-      (Vector<S1> &, const Vector<S1> &) const;
+      void PreconditionBlockSOR<SparseMatrix<S1>, S2>::vmult<S3>
+      (Vector<S3> &, const Vector<S3> &) const;
     template
-      void PreconditionBlockSOR<SparseMatrix<S1>, S2>::Tvmult<S2>
-      (Vector<S2> &, const Vector<S2> &) const;
-    template
-      void PreconditionBlockSOR<SparseMatrix<S1>, S2>::Tvmult<S1>
-      (Vector<S1> &, const Vector<S1> &) const;
+      void PreconditionBlockSOR<SparseMatrix<S1>, S2>::Tvmult<S3>
+      (Vector<S3> &, const Vector<S3> &) const;
 
 // ------------ PreconditionBlockSSOR -----------------
-    template class PreconditionBlockSSOR<SparseMatrix<S1>, S2>;
-
-    template
-      void PreconditionBlockSSOR<SparseMatrix<S1>, S2>::vmult<S2>
-      (Vector<S2> &, const Vector<S2> &) const;
-    template
-      void PreconditionBlockSSOR<SparseMatrix<S1>, S2>::vmult<S1>
-      (Vector<S1> &, const Vector<S1> &) const;
     template
-      void PreconditionBlockSSOR<SparseMatrix<S1>, S2>::Tvmult<S2>
-      (Vector<S2> &, const Vector<S2> &) const;
+      void PreconditionBlockSSOR<SparseMatrix<S1>, S2>::vmult<S3>
+      (Vector<S3> &, const Vector<S3> &) const;
     template
-      void PreconditionBlockSSOR<SparseMatrix<S1>, S2>::Tvmult<S1>
-      (Vector<S1> &, const Vector<S1> &) const;
+      void PreconditionBlockSSOR<SparseMatrix<S1>, S2>::Tvmult<S3>
+      (Vector<S3> &, const Vector<S3> &) 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.