From cc0a93f5a58a530a167ff226e290ef182d7befa4 Mon Sep 17 00:00:00 2001 From: Guido Kanschat Date: Tue, 11 Jan 2000 04:38:07 +0000 Subject: [PATCH] local index exceptions removed git-svn-id: https://svn.dealii.org/trunk@2186 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/include/base/tensor.h | 6 ------ deal.II/lac/include/lac/vector.h | 18 +++++++----------- 2 files changed, 7 insertions(+), 17 deletions(-) diff --git a/deal.II/base/include/base/tensor.h b/deal.II/base/include/base/tensor.h index 52bb60722f..8651b84b76 100644 --- a/deal.II/base/include/base/tensor.h +++ b/deal.II/base/include/base/tensor.h @@ -154,12 +154,6 @@ class Tensor // DeclException2(ExcWrongVectorSize, unsigned, int, << "Tensor has " << arg1 // << " entries, but vector has size " << arg2); -// /** -// * Exception -// */ -// DeclException1 (ExcInvalidIndex, -// int, -// << "Invalid index " << arg1); private: /** * Array of tensors holding the diff --git a/deal.II/lac/include/lac/vector.h b/deal.II/lac/include/lac/vector.h index bf80c73775..e571b3dffb 100644 --- a/deal.II/lac/include/lac/vector.h +++ b/deal.II/lac/include/lac/vector.h @@ -15,9 +15,12 @@ /** - * Vector of data. + * Numerical Vector of data. * - * @author Roland Becker, Guido Kanschat, Franz-Theo Suttmeier, revised and extended by Wolfgang Bangerth, documented by Klaus Mampel and Wolfgang Bangerth + * As opposed to the array of the C++ standard library called #vector#, this class implements + * an element of a vector space suitable for numerical computations. + * + * @author Guido Kanschat, Franz-Theo Suttmeier, Wolfgang Bangerth */ template class Vector { @@ -413,13 +416,6 @@ class Vector { /** * Exception */ - DeclException2 (ExcInvalidIndex, - int, int, - << "The given index " << arg1 - << " should be less than " << arg2 << "."); - /** - * Exception - */ DeclException1 (ExcInvalidNumber, int, << "The provided number is invalid here: " << arg1); @@ -515,7 +511,7 @@ template inline Number Vector::operator() (const unsigned int i) const { - Assert (i inline Number& Vector::operator() (const unsigned int i) { - Assert (i