From: Wolfgang Bangerth Date: Sun, 30 Apr 2017 14:00:35 +0000 (-0600) Subject: Remove the deprecated member variables 'supports_distributed_data' of vector classes. X-Git-Tag: v9.0.0-rc1~1635^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4055c200826c68ef61d8b0f727e8405468cdaf22;p=dealii.git Remove the deprecated member variables 'supports_distributed_data' of vector classes. --- diff --git a/include/deal.II/lac/block_vector_base.h b/include/deal.II/lac/block_vector_base.h index 6902ce35af..7dc84c1972 100644 --- a/include/deal.II/lac/block_vector_base.h +++ b/include/deal.II/lac/block_vector_base.h @@ -561,20 +561,6 @@ public: */ typedef typename BlockType::real_type real_type; - /** - * A variable that indicates whether this vector supports distributed data - * storage. If true, then this vector also needs an appropriate compress() - * function that allows communicating recent set or add operations to - * individual elements to be communicated to other processors. - * - * For the current class, the variable equals the value declared for the - * type of the individual blocks. - * - * @deprecated instead of using this variable, please use the type trait value - * is_serial_vector< VectorType >::value - */ - static const bool supports_distributed_data DEAL_II_DEPRECATED = !is_serial_vector::value; - /** * Default constructor. */ diff --git a/include/deal.II/lac/la_parallel_vector.h b/include/deal.II/lac/la_parallel_vector.h index 5c135c9119..6a53c1e0b0 100644 --- a/include/deal.II/lac/la_parallel_vector.h +++ b/include/deal.II/lac/la_parallel_vector.h @@ -187,21 +187,6 @@ namespace LinearAlgebra typedef types::global_dof_index size_type; typedef typename numbers::NumberTraits::real_type real_type; - /** - * A variable that indicates whether this vector supports distributed - * data storage. If true, then this vector also needs an appropriate - * compress() function that allows communicating recent set or add - * operations to individual elements to be communicated to other - * processors. - * - * For the current class, the variable equals true, since it does - * support parallel data storage. - * - * @deprecated instead of using this variable, please use the type trait - * value is_serial_vector< VectorType >::value - */ - static const bool supports_distributed_data DEAL_II_DEPRECATED = true; - /** * @name 1: Basic Object-handling */ diff --git a/include/deal.II/lac/petsc_parallel_vector.h b/include/deal.II/lac/petsc_parallel_vector.h index 1ce64fe10a..804bb079ca 100644 --- a/include/deal.II/lac/petsc_parallel_vector.h +++ b/include/deal.II/lac/petsc_parallel_vector.h @@ -162,21 +162,6 @@ namespace PETScWrappers */ typedef types::global_dof_index size_type; - /** - * A variable that indicates whether this vector supports distributed - * data storage. If true, then this vector also needs an appropriate - * compress() function that allows communicating recent set or add - * operations to individual elements to be communicated to other - * processors. - * - * For the current class, the variable equals true, since it does - * support parallel data storage. - * - * @deprecated instead of using this variable, please use the type trait - * value is_serial_vector< VectorType >::value - */ - static const bool supports_distributed_data DEAL_II_DEPRECATED = true; - /** * Default constructor. Initialize the vector as empty. */ diff --git a/include/deal.II/lac/petsc_vector.h b/include/deal.II/lac/petsc_vector.h index fb3016ff9f..28305a8cb0 100644 --- a/include/deal.II/lac/petsc_vector.h +++ b/include/deal.II/lac/petsc_vector.h @@ -59,21 +59,6 @@ namespace PETScWrappers */ typedef types::global_dof_index size_type; - /** - * A variable that indicates whether this vector supports distributed data - * storage. If true, then this vector also needs an appropriate compress() - * function that allows communicating recent set or add operations to - * individual elements to be communicated to other processors. - * - * For the current class, the variable equals false, since it does not - * support parallel data storage. If you do need parallel data storage, - * use PETScWrappers::MPI::Vector. - * - * @deprecated instead of using this variable, please use the type trait - * value is_serial_vector< VectorType >::value - */ - static const bool supports_distributed_data DEAL_II_DEPRECATED = false; - /** * Default constructor. Initialize the vector as empty. */ diff --git a/include/deal.II/lac/trilinos_vector.h b/include/deal.II/lac/trilinos_vector.h index fa99de015a..8aaaf7f608 100644 --- a/include/deal.II/lac/trilinos_vector.h +++ b/include/deal.II/lac/trilinos_vector.h @@ -260,21 +260,6 @@ namespace TrilinosWrappers */ typedef dealii::types::global_dof_index size_type; - /** - * A variable that indicates whether this vector supports distributed - * data storage. If true, then this vector also needs an appropriate - * compress() function that allows communicating recent set or add - * operations to individual elements to be communicated to other - * processors. - * - * For the current class, the variable equals true, since it does - * support parallel data storage. - * - * @deprecated instead of using this variable, please use the type trait - * value is_serial_vector< VectorType >::value - */ - static const bool supports_distributed_data DEAL_II_DEPRECATED = true; - /** * @name Basic constructors and initialization. */ @@ -762,21 +747,6 @@ namespace TrilinosWrappers */ typedef dealii::types::global_dof_index size_type; - /** - * A variable that indicates whether this vector supports distributed data - * storage. If true, then this vector also needs an appropriate compress() - * function that allows communicating recent set or add operations to - * individual elements to be communicated to other processors. - * - * For the current class, the variable equals false, since it does not - * support parallel data storage. If you do need parallel data storage, - * use TrilinosWrappers::MPI::Vector. - * - * @deprecated instead of using this variable, please use the type trait - * value is_serial_vector< VectorType >::value - */ - static const bool supports_distributed_data DEAL_II_DEPRECATED = false; - /** * Default constructor that generates an empty (zero size) vector. The * function reinit() will have to give the vector the correct diff --git a/include/deal.II/lac/vector.h b/include/deal.II/lac/vector.h index 7f6431c34e..617681e30a 100644 --- a/include/deal.II/lac/vector.h +++ b/include/deal.II/lac/vector.h @@ -162,20 +162,6 @@ public: */ typedef typename numbers::NumberTraits::real_type real_type; - /** - * A variable that indicates whether this vector supports distributed data - * storage. If true, then this vector also needs an appropriate compress() - * function that allows communicating recent set or add operations to - * individual elements to be communicated to other processors. - * - * For the current class, the variable equals false, since it does not - * support parallel data storage. - * - * @deprecated instead of using this variable, please use the type trait value - * is_serial_vector< VectorType >::value - */ - static const bool supports_distributed_data DEAL_II_DEPRECATED = false; - public: /**