]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove unused local typedefs along with lengthy documentation that is no longer accurate.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 8 Sep 2012 11:55:48 +0000 (11:55 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 8 Sep 2012 11:55:48 +0000 (11:55 +0000)
git-svn-id: https://svn.dealii.org/trunk@26255 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/precondition_block.templates.h

index 3e2771741c7ac6e122201e5435feda7b74a913ee..a4c97a8bc1b28459f4ff8f1fe5143b0bd928a867 100644 (file)
@@ -561,23 +561,6 @@ void PreconditionBlockJacobi<MATRIX,inverse_type>
             const Vector<number2> &src,
             bool adding) const
 {
-                                   // introduce the following typedef
-                                   // since in the use of exceptions,
-                                   // strict C++ requires us to
-                                   // specify them fully as they are
-                                   // from a template dependent base
-                                   // class. thus, we'd have to write
-                                   // PreconditionBlock<number,inverse_type>::ExcNoMatrixGivenToUse,
-                                   // which is lengthy, but also poses
-                                   // some problems to the
-                                   // preprocessor due to the comma in
-                                   // the template arg list. we could
-                                   // then wrap the whole thing into
-                                   // parentheses, but that creates a
-                                   // parse error for gcc for the
-                                   // exceptions that do not take
-                                   // args...
-  typedef PreconditionBlock<MATRIX,inverse_type> BaseClass;
   Assert(this->A!=0, ExcNotInitialized());
 
   const MATRIX &M=*this->A;
@@ -741,24 +724,6 @@ void PreconditionBlockSOR<MATRIX,inverse_type>::forward (
   const bool transpose_diagonal,
   const bool) const
 {
-                                   // introduce the following typedef
-                                   // since in the use of exceptions,
-                                   // strict C++ requires us to
-                                   // specify them fully as they are
-                                   // from a template dependent base
-                                   // class. thus, we'd have to write
-                                   // PreconditionBlock<number,inverse_type>::ExcNoMatrixGivenToUse,
-                                   // which is lengthy, but also poses
-                                   // some problems to the
-                                   // preprocessor due to the comma in
-                                   // the template arg list. we could
-                                   // then wrap the whole thing into
-                                   // parentheses, but that creates a
-                                   // parse error for gcc for the
-                                   // exceptions that do not take
-                                   // args...
-  typedef PreconditionBlock<MATRIX,inverse_type> BaseClass;
-
   Assert (this->A!=0, ExcNotInitialized());
 
   const MATRIX &M=*this->A;
@@ -849,24 +814,6 @@ void PreconditionBlockSOR<MATRIX,inverse_type>::backward (
   const bool transpose_diagonal,
   const bool) const
 {
-                                   // introduce the following typedef
-                                   // since in the use of exceptions,
-                                   // strict C++ requires us to
-                                   // specify them fully as they are
-                                   // from a template dependent base
-                                   // class. thus, we'd have to write
-                                   // PreconditionBlock<number,inverse_type>::ExcNoMatrixGivenToUse,
-                                   // which is lengthy, but also poses
-                                   // some problems to the
-                                   // preprocessor due to the comma in
-                                   // the template arg list. we could
-                                   // then wrap the whole thing into
-                                   // parentheses, but that creates a
-                                   // parse error for gcc for the
-                                   // exceptions that do not take
-                                   // args...
-  typedef PreconditionBlock<MATRIX,inverse_type> BaseClass;
-
   Assert (this->A!=0, ExcNotInitialized());
 
   const MATRIX &M=*this->A;

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.