From: Wolfgang Bangerth Date: Mon, 3 Jul 2023 14:47:51 +0000 (-0600) Subject: Merge pull request #15534 from masterleinad/remove_deprecated_local_size X-Git-Tag: relicensing~791 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd1bf2cea3bc4c521a0117415800ad5fc94b263c;p=dealii.git Merge pull request #15534 from masterleinad/remove_deprecated_local_size Remove deprecated Vector member functions --- bd1bf2cea3bc4c521a0117415800ad5fc94b263c diff --cc include/deal.II/lac/petsc_vector_base.h index 3c768589d2,66b2cc4f8b..8dea7f8826 --- a/include/deal.II/lac/petsc_vector_base.h +++ b/include/deal.II/lac/petsc_vector_base.h @@@ -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 diff --cc include/deal.II/lac/read_write_vector.h index f25ddb3761,d4746d3d46..f1862b90d9 --- a/include/deal.II/lac/read_write_vector.h +++ b/include/deal.II/lac/read_write_vector.h @@@ -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. diff --cc include/deal.II/lac/trilinos_vector.h index a27f0857ed,9f25d3d175..34348cd22b --- a/include/deal.II/lac/trilinos_vector.h +++ b/include/deal.II/lac/trilinos_vector.h @@@ -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.