From: Daniel Arndt Date: Sun, 14 May 2017 13:30:12 +0000 (+0200) Subject: Remove deprecated BlockSparseMatrixEZ::n_rows/n_cols X-Git-Tag: v9.0.0-rc1~1592^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50c164eecfa25d50cdff70bcb918810ce42be10e;p=dealii.git Remove deprecated BlockSparseMatrixEZ::n_rows/n_cols --- diff --git a/doc/news/changes/incompatibilities/20170514DanielArndt-1 b/doc/news/changes/incompatibilities/20170514DanielArndt-1 new file mode 100644 index 0000000000..71dbabcc58 --- /dev/null +++ b/doc/news/changes/incompatibilities/20170514DanielArndt-1 @@ -0,0 +1,5 @@ +Changed: The deprecated functions BlockSparseMatrixEZ::n_rows() +and BlockSparseMatrixEZ::n_cols() have been removed. +Use BlockSparseMatrixEZ::m() and BlockSparseMatrixEZ::n() instead. +
+(Daniel Arndt, 2017/05/14) diff --git a/include/deal.II/lac/block_sparse_matrix_ez.h b/include/deal.II/lac/block_sparse_matrix_ez.h index 6c2b2b2941..8e4bf52fe3 100644 --- a/include/deal.II/lac/block_sparse_matrix_ez.h +++ b/include/deal.II/lac/block_sparse_matrix_ez.h @@ -149,24 +149,6 @@ public: */ bool empty () const; - /** - * 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 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 DEAL_II_DEPRECATED; - /** * 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 @@ -277,16 +259,6 @@ BlockSparseMatrixEZ::n_block_rows () const -template -inline -typename BlockSparseMatrixEZ::size_type -BlockSparseMatrixEZ::n_rows () const -{ - return row_indices.total_size(); -} - - - template inline unsigned int @@ -297,16 +269,6 @@ BlockSparseMatrixEZ::n_block_cols () const -template -inline -typename BlockSparseMatrixEZ::size_type -BlockSparseMatrixEZ::n_cols () const -{ - return column_indices.total_size(); -} - - - template inline SparseMatrixEZ &