]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Merge pull request #15534 from masterleinad/remove_deprecated_local_size 14918/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 3 Jul 2023 14:47:51 +0000 (08:47 -0600)
committerGitHub <noreply@github.com>
Mon, 3 Jul 2023 14:47:51 +0000 (08:47 -0600)
Remove deprecated Vector member functions

1  2 
include/deal.II/base/partitioner.h
include/deal.II/lac/la_parallel_vector.h
include/deal.II/lac/la_parallel_vector.templates.h
include/deal.II/lac/petsc_vector_base.h
include/deal.II/lac/read_write_vector.h
include/deal.II/lac/trilinos_vector.h

Simple merge
index 3c768589d2399f9e2b608d42da65c83d33272758,66b2cc4f8be1105ca83726be2fbed72dae07e236..8dea7f88261db7cf58badf63208affea6586ddb3
@@@ -355,22 -355,8 +355,8 @@@ namespace PETScWrapper
       * Return the global dimension of the vector.
       */
      size_type
 -    size() const;
 +    size() const override;
  
-     /**
-      * Return the local dimension of the vector, i.e. the number of elements
-      * stored on the present MPI process. For sequential vectors, this number
-      * is the same as size(), but for parallel vectors it may be smaller.
-      *
-      * To figure out which elements exactly are stored locally, use
-      * local_range() or locally_owned_elements().
-      *
-      * @deprecated use locally_owned_size() instead.
-      */
-     DEAL_II_DEPRECATED
-     size_type
-     local_size() const;
      /**
       * Return the local dimension of the vector, i.e. the number of elements
       * stored on the present MPI process. For sequential vectors, this number
index f25ddb3761dec57c5ba42172aa6cb931b884f627,d4746d3d464ceee543b00cb2ebd33a92a57ed8a5..f1862b90d9645b8b75550ec9a31e2533ddb47266
@@@ -538,19 -537,8 +538,8 @@@ namespace LinearAlgebr
       * number returned by the current function.
       */
      size_type
 -    size() const;
 +    size() const override;
  
-     /**
-      * This function returns the number of elements stored. It is smaller or
-      * equal to the dimension of the vector space that is modeled by an object
-      * of this kind. This dimension is return by size().
-      *
-      * @deprecated use locally_owned_size() instead.
-      */
-     DEAL_II_DEPRECATED
-     size_type
-     n_elements() const;
      /**
       * Return the local size of the vector, i.e., the number of indices
       * owned locally.
index a27f0857edc5a3712fad8b7566b3d43586e487bf,9f25d3d1750bae235aac0109b3107755bf7b508a..34348cd22b19a63bc3f2acde79554397da2e7038
@@@ -761,25 -760,8 +761,8 @@@ namespace TrilinosWrapper
         * Return the global dimension of the vector.
         */
        size_type
 -      size() const;
 +      size() const override;
  
-       /**
-        * Return the local dimension of the vector, i.e. the number of elements
-        * stored on the present MPI process. For sequential vectors, this number
-        * is the same as size(), but for parallel vectors it may be smaller.
-        *
-        * To figure out which elements exactly are stored locally, use
-        * local_range().
-        *
-        * If the vector contains ghost elements, they are included in this
-        * number.
-        *
-        * @deprecated This function is deprecated.
-        */
-       DEAL_II_DEPRECATED
-       size_type
-       local_size() const;
        /**
         * Return the local size of the vector, i.e., the number of indices
         * owned locally.

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.