From: Wolfgang Bangerth Date: Mon, 2 Feb 2015 13:42:46 +0000 (-0600) Subject: Remove deprecated function SparseMatrix::raw_entry. X-Git-Tag: v8.3.0-rc1~503^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e6aee154471be28fa79acce3003ca40282ac6a8;p=dealii.git Remove deprecated function SparseMatrix::raw_entry. --- diff --git a/doc/news/changes.h b/doc/news/changes.h index c2539cacbb..0a3a1b3952 100644 --- a/doc/news/changes.h +++ b/doc/news/changes.h @@ -173,6 +173,7 @@ inconvenience this causes. - PETScVectors::MPI::Vector constructors and reinit() variants. - SparseMatrixIterators::Accessor and SparseMatrixIterators::Iterator constructors. + - SparseMatrix::raw_entry.
With headers in deal.II/deal.II/: diff --git a/include/deal.II/lac/sparse_matrix.h b/include/deal.II/lac/sparse_matrix.h index 1eda677696..38156d2efc 100644 --- a/include/deal.II/lac/sparse_matrix.h +++ b/include/deal.II/lac/sparse_matrix.h @@ -997,17 +997,6 @@ public: */ number &diag_element (const size_type i); - /** - * Access to values in internal mode. Returns the value of the - * indexth entry in row. Here, index refers to - * the internal representation of the matrix, not the column. Be sure to - * understand what you are doing here. - * - * @deprecated Use iterator or const_iterator instead! - */ - number raw_entry (const size_type row, - const size_type index) const DEAL_II_DEPRECATED; - /** * This is for hackers. Get access to the ith element of this matrix. * The elements are stored in a consecutive way, refer to the @@ -1943,22 +1932,6 @@ number &SparseMatrix::diag_element (const size_type i) -template -inline -number -SparseMatrix::raw_entry (const size_type row, - const size_type index) const -{ - Assert(rowrows, ExcIndexRange(row,0,cols->rows)); - Assert(indexrow_length(row), - ExcIndexRange(index,0,cols->row_length(row))); - - // this function will soon go away. - return val[cols->rowstart[row]+index]; -} - - - template inline number SparseMatrix::global_entry (const size_type j) const