]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove deprecated function Table::data.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 3 Feb 2015 12:32:29 +0000 (06:32 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 3 Feb 2015 12:32:29 +0000 (06:32 -0600)
doc/news/changes.h
include/deal.II/base/table.h

index 7a1a89e60e6a7ac2aeffad4149b0059b5cf2de8b..b6cdc6b457c6d1be46d41fca4015270a2ec23172 100644 (file)
@@ -141,6 +141,7 @@ inconvenience this causes.
   - Deprecated members of namespace types.
   - Namespace deal_II_numbers.
   - MultithreadInfo::n_default_threads.
+  - Table::data.
 
   <br>
   <em>With headers in <code>deal.II/lac/</code>:</em>
index d877ee9e1bf8d02ff6b6b2186f7c7f8b59721183..749808989316b7a1f2a219be85b5b0e5c608307c 100644 (file)
@@ -1,6 +1,6 @@
 // ---------------------------------------------------------------------
 //
-// Copyright (C) 2002 - 2014 by the deal.II authors
+// Copyright (C) 2002 - 2015 by the deal.II authors
 //
 // This file is part of the deal.II library.
 //
@@ -615,14 +615,6 @@ protected:
    */
   typename AlignedVector<T>::const_reference el (const TableIndices<N> &indices) const;
 
-  /**
-   * @deprecated This function accesses data directly and should not be used!
-   *
-   * Direct read-only access to data field. Used by <tt>FullMatrix</tt> of the
-   * LAC sublibrary (there even with a cast from const), otherwise, keep away!
-   */
-  typename AlignedVector<T>::const_pointer data () const DEAL_II_DEPRECATED;
-
 protected:
   /**
    * Component-array.
@@ -2072,20 +2064,6 @@ TableBase<N,T>::el (const TableIndices<N> &indices)
 
 
 
-template <int N, typename T>
-inline
-typename AlignedVector<T>::const_pointer
-TableBase<N,T>::data () const
-{
-  if (values.size() == 0)
-    return typename AlignedVector<T>::const_pointer();
-  else
-    return &values[0];
-}
-
-
-
-
 template <typename T>
 inline
 Table<1,T>::Table ()

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.