From: Wolfgang Bangerth Date: Sat, 8 Sep 2012 11:55:48 +0000 (+0000) Subject: Remove unused local typedefs along with lengthy documentation that is no longer accurate. X-Git-Tag: v8.0.0~2155 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25ecc655038eda0b5fc9044333cc8bfb24dea6ae;p=dealii.git Remove unused local typedefs along with lengthy documentation that is no longer accurate. git-svn-id: https://svn.dealii.org/trunk@26255 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/lac/precondition_block.templates.h b/deal.II/include/deal.II/lac/precondition_block.templates.h index 3e2771741c..a4c97a8bc1 100644 --- a/deal.II/include/deal.II/lac/precondition_block.templates.h +++ b/deal.II/include/deal.II/lac/precondition_block.templates.h @@ -561,23 +561,6 @@ void PreconditionBlockJacobi const Vector &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::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 BaseClass; Assert(this->A!=0, ExcNotInitialized()); const MATRIX &M=*this->A; @@ -741,24 +724,6 @@ void PreconditionBlockSOR::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::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 BaseClass; - Assert (this->A!=0, ExcNotInitialized()); const MATRIX &M=*this->A; @@ -849,24 +814,6 @@ void PreconditionBlockSOR::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::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 BaseClass; - Assert (this->A!=0, ExcNotInitialized()); const MATRIX &M=*this->A;