From: Wolfgang Bangerth Date: Wed, 8 Apr 2015 15:56:25 +0000 (-0500) Subject: Deprecate the n_rows() and n_cols() member functions. The SparseMatrixEZ class X-Git-Tag: v8.3.0-rc1~307^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f1c471914abe70db2dafe91178fb7e174ceffe7;p=dealii.git Deprecate the n_rows() and n_cols() member functions. The SparseMatrixEZ class is the only matrix class that has these functions, and it has m() and n() like all other matrix classes. --- diff --git a/include/deal.II/lac/block_sparse_matrix_ez.h b/include/deal.II/lac/block_sparse_matrix_ez.h index 4e9551eeb9..4062b074aa 100644 --- a/include/deal.II/lac/block_sparse_matrix_ez.h +++ b/include/deal.II/lac/block_sparse_matrix_ez.h @@ -153,15 +153,19 @@ public: * Return number of rows of this matrix, which equals the dimension of * the codomain (or range) space. It is the sum of the number of rows over the * sub-matrix blocks of this matrix. + * + * @deprecated Use m() instead. */ - size_type n_rows () const; + size_type n_rows () const DEAL_II_DEPRECATED; /** * Return number of columns of this matrix, which equals the dimension of * the domain space. It is the sum of the number of columns over the * sub-matrix blocks of this matrix. + * + * @deprecated Use n() instead. */ - size_type n_cols () const; + size_type n_cols () const DEAL_II_DEPRECATED; /** * Return the dimension of the codomain (or range) space. To remember: