]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove deprecated function PreconditionBlock::size().
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 24 Jan 2015 01:47:42 +0000 (19:47 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 24 Jan 2015 04:46:55 +0000 (22:46 -0600)
doc/news/changes.h
include/deal.II/lac/precondition_block.h

index 8008516f74207f622a32f262256699d7e85bddf8..adf83f14454eeac8e3ea000c6096ac02ee359a65 100644 (file)
@@ -166,6 +166,7 @@ inconvenience this causes.
     function that takes a scalar as argument.
   - GridTools::create_union_triangulation.
   - GridTools::extract_boundary_mesh.
+  - PreconditionBlock::size.
   <br>
   This release also removes the deprecated class MGDoFHandler. The
   functionality of this class had previously been incorporated into
index 180c96c6ae9a44198bbb8a1dcc58face71555b04..51bee4bf011e089321785a20710991db0717eda1 100644 (file)
@@ -297,13 +297,6 @@ public:
    */
   size_type block_size () const;
 
-  /**
-   * @deprecated Use size() instead.
-   *
-   * The number of blocks of the matrix.
-   */
-  unsigned int n_blocks() const DEAL_II_DEPRECATED;
-
   /**
    * Determine an estimate for the memory consumption (in bytes) of this
    * object.
@@ -522,10 +515,6 @@ public:
   using PreconditionBlockBase<inverse_type>::inverse_householder;
   using PreconditionBlockBase<inverse_type>::inverse_svd;
   using PreconditionBlockBase<inverse_type>::log_statistics;
-  /**
-   * @deprecated Use size() instead
-   */
-  using PreconditionBlock<MATRIX, inverse_type>::n_blocks;
   using PreconditionBlock<MATRIX, inverse_type>::set_permutation;
 
   /**
@@ -888,14 +877,6 @@ PreconditionBlock<MATRIX, inverse_type>::empty () const
 }
 
 
-template<class MATRIX, typename inverse_type>
-inline unsigned int
-PreconditionBlock<MATRIX, inverse_type>::n_blocks () const
-{
-  return this->size();
-}
-
-
 template<class MATRIX, typename inverse_type>
 inline inverse_type
 PreconditionBlock<MATRIX, inverse_type>::el (

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.