* 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
* 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.
* 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.