From 38f67c8a997b0a65a357cb6199fab64040ac14bf Mon Sep 17 00:00:00 2001 From: bangerth Date: Sat, 8 Sep 2012 11:55:48 +0000 Subject: [PATCH] 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 --- .../lac/precondition_block.templates.h | 53 ------------------- 1 file changed, 53 deletions(-) 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; -- 2.39.5