]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Deprecate the n_rows() and n_cols() member functions. The SparseMatrixEZ class
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 8 Apr 2015 15:56:25 +0000 (10:56 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 8 Apr 2015 15:56:25 +0000 (10:56 -0500)
is the only matrix class that has these functions, and it has m() and n() like
all other matrix classes.

include/deal.II/lac/block_sparse_matrix_ez.h

index 4e9551eeb9cc69bca7436567831be9c5dff76cc8..4062b074aa7814d6da49965483b03a9d8f54b854 100644 (file)
@@ -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:

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.