From: wolf Date: Tue, 21 Aug 2001 16:08:31 +0000 (+0000) Subject: Remove some commented-out functions. Reindent. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=141a0c1f59562fdf059ddd9263b7519588889804;p=dealii-svn.git Remove some commented-out functions. Reindent. git-svn-id: https://svn.dealii.org/trunk@4901 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/full_matrix.h b/deal.II/lac/include/lac/full_matrix.h index 128a0436cb..dc78f223ec 100644 --- a/deal.II/lac/include/lac/full_matrix.h +++ b/deal.II/lac/include/lac/full_matrix.h @@ -109,30 +109,6 @@ class FullMatrix : public vector2d */ bool operator == (const FullMatrix &) const; - /** - * Assignment operator. - * Copy all elements of @p{src} - * into the matrix. The size is - * adjusted if needed. - * - * We can't use the other, templatized - * version since if we don't declare - * this one, the compiler will happily - * generate a predefined copy - * operator which is not what we want. - */ -// FullMatrix& operator = (const FullMatrix& src); - - /** - * Assignment operator. - * Copy all elements of @p{src} - * into the matrix. The size is - * adjusted if needed. - */ -// template -// FullMatrix& operator = (const FullMatrix& src); - - /** * Fill rectangular block. * @@ -157,10 +133,11 @@ class FullMatrix : public vector2d * Make function of base class available. */ template - void fill (const number2*); + void fill (const number2*); /** - * Fill with permutation of another matrix. + * Fill with permutation of + * another matrix. * * The matrix @p{src} is copied * into the target. The two @@ -177,34 +154,9 @@ class FullMatrix : public vector2d * columns by this method. */ template - void fill_permutation (const FullMatrix &src, - const std::vector& p_rows, - const std::vector& p_cols); - - /** - * Set dimension to $m\times n$ and - * allocate memory if necessary. Forget - * the previous content of the matrix. - */ -// void reinit (const unsigned int m, -// const unsigned int n); - - /** - * Set dimension to $n\times n$ and - * allocate memory if necessary. Forget - * the previous content of the matrix. - */ -// void reinit (const unsigned int n); - - /** - * Set dimension to $m(B)\times n(B)$ and - * allocate memory if necessary. Forget - * the previous content of the matrix. - * However, this function does not copy - * the contents of @p{B}. - */ -// template -// void reinit (const FullMatrix &B); + void fill_permutation (const FullMatrix &src, + const std::vector &p_rows, + const std::vector &p_cols); /** * Number of rows of this matrix. @@ -221,11 +173,13 @@ class FullMatrix : public vector2d unsigned int n () const; /** - * Return whether the matrix contains only - * elements with value zero. This function - * is mainly for internal consistency - * checks and should seldomly be used when - * not in debug mode since it uses quite + * Return whether the matrix + * contains only elements with + * value zero. This function is + * mainly for internal + * consistency checks and should + * seldomly be used when not in + * debug mode since it uses quite * some time. */ bool all_zero () const;