]> https://gitweb.dealii.org/ - dealii.git/commitdiff
deprecates static support_distributed_data member of vector declarations
authorUwe Köcher <koecher@hsu-hamburg.de>
Fri, 3 Feb 2017 11:52:30 +0000 (12:52 +0100)
committerUwe Köcher <koecher@hsu-hamburg.de>
Sat, 4 Feb 2017 10:24:35 +0000 (11:24 +0100)
include/deal.II/lac/block_vector_base.h
include/deal.II/lac/la_parallel_vector.h
include/deal.II/lac/petsc_parallel_vector.h
include/deal.II/lac/petsc_vector.h
include/deal.II/lac/trilinos_vector.h
include/deal.II/lac/vector.h

index 01d47e2257242cee7af067a89d59436eda0ad30d..a598fbf437ca930a68059a7d7455a2b9785d86f9 100644 (file)
@@ -569,8 +569,11 @@ public:
    *
    * 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
+   * <code>is_serial_vector< VectorType >::value</code>
    */
-  static const bool supports_distributed_data = BlockType::supports_distributed_data;
+  static const bool supports_distributed_data DEAL_II_DEPRECATED = BlockType::supports_distributed_data;
 
   /**
    * Default constructor.
index 1dce986a1167697e3deaeb99cda7aa212f364d99..3eade6c15922469669318d5ff2d94cfdd242099a 100644 (file)
@@ -196,8 +196,11 @@ namespace LinearAlgebra
        *
        * 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 <code>is_serial_vector< VectorType >::value</code>
        */
-      static const bool supports_distributed_data = true;
+      static const bool supports_distributed_data DEAL_II_DEPRECATED = true;
 
       /**
        * @name 1: Basic Object-handling
index df36bb05d793d8e282241b32aa868e766ab155de..ab83b387bcefaadb7e2501cf5efcab7c94476905 100644 (file)
@@ -172,8 +172,11 @@ namespace PETScWrappers
        *
        * 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 <code>is_serial_vector< VectorType >::value</code>
        */
-      static const bool supports_distributed_data = true;
+      static const bool supports_distributed_data DEAL_II_DEPRECATED = true;
 
       /**
        * Default constructor. Initialize the vector as empty.
index c17688a56aee59653af735f59f648efa87f060d0..3686905b5bb6a43090221fdd031449a587c13917 100644 (file)
@@ -68,8 +68,11 @@ namespace PETScWrappers
      * 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 <code>is_serial_vector< VectorType >::value</code>
      */
-    static const bool supports_distributed_data = false;
+    static const bool supports_distributed_data DEAL_II_DEPRECATED = false;
 
     /**
      * Default constructor. Initialize the vector as empty.
index dff8b6c9d635e0fc710255deb5a93c348664b1a4..1c6a99bd5cf0d551bbd3738d90c8883469b5596d 100644 (file)
@@ -268,8 +268,11 @@ namespace TrilinosWrappers
        *
        * 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 <code>is_serial_vector< VectorType >::value</code>
        */
-      static const bool supports_distributed_data = true;
+      static const bool supports_distributed_data DEAL_II_DEPRECATED = true;
 
       /**
        * @name Basic constructors and initialization.
@@ -767,8 +770,11 @@ namespace TrilinosWrappers
      * 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 <code>is_serial_vector< VectorType >::value</code>
      */
-    static const bool supports_distributed_data = false;
+    static const bool supports_distributed_data DEAL_II_DEPRECATED = false;
 
     /**
      * Default constructor that generates an empty (zero size) vector. The
index 9abbd6da3f0ef38dedba1a65faf2f2e769e5c8c4..6aa7a25da6ef0bf959097e03da65ecd0781a095a 100644 (file)
@@ -161,8 +161,11 @@ public:
    *
    * 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
+   * <code>is_serial_vector< VectorType >::value</code>
    */
-  static const bool supports_distributed_data = false;
+  static const bool supports_distributed_data DEAL_II_DEPRECATED = false;
 
 public:
 

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.