]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove deprecated function SparseMatrix::raw_entry.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 2 Feb 2015 13:42:46 +0000 (07:42 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 2 Feb 2015 13:42:46 +0000 (07:42 -0600)
doc/news/changes.h
include/deal.II/lac/sparse_matrix.h

index c2539cacbb1b08f7151a2b5d2d53b558cbd00849..0a3a1b3952e44717b70529e6fa9a1083e7e6a3e9 100644 (file)
@@ -173,6 +173,7 @@ inconvenience this causes.
   - PETScVectors::MPI::Vector constructors and reinit() variants.
   - SparseMatrixIterators::Accessor and SparseMatrixIterators::Iterator
     constructors.
+  - SparseMatrix::raw_entry.
 
   <br>
   <em>With headers in <code>deal.II/deal.II/</code>:</em>
index 1eda6776967f4b773a9689315f50a62bbd6a41c1..38156d2efc871a26a6c005644ee33b4452dabb67 100644 (file)
@@ -997,17 +997,6 @@ public:
    */
   number &diag_element (const size_type i);
 
-  /**
-   * Access to values in internal mode.  Returns the value of the
-   * <tt>index</tt>th entry in <tt>row</tt>. Here, <tt>index</tt> 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 <i>i</i>th element of this matrix.
    * The elements are stored in a consecutive way, refer to the
@@ -1943,22 +1932,6 @@ number &SparseMatrix<number>::diag_element (const size_type i)
 
 
 
-template <typename number>
-inline
-number
-SparseMatrix<number>::raw_entry (const size_type row,
-                                 const size_type index) const
-{
-  Assert(row<cols->rows, ExcIndexRange(row,0,cols->rows));
-  Assert(index<cols->row_length(row),
-         ExcIndexRange(index,0,cols->row_length(row)));
-
-  // this function will soon go away.
-  return val[cols->rowstart[row]+index];
-}
-
-
-
 template <typename number>
 inline
 number SparseMatrix<number>::global_entry (const size_type j) const

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.