]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
make compress() without arguments deprecated for vectors.
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 13 Feb 2013 15:30:16 +0000 (15:30 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 13 Feb 2013 15:30:16 +0000 (15:30 +0000)
git-svn-id: https://svn.dealii.org/trunk@28379 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/block_vector_base.h
deal.II/include/deal.II/lac/petsc_vector_base.h
deal.II/include/deal.II/lac/trilinos_vector_base.h

index 3d50e964fde89cad6896869415ff4965c4ee554f..07e0a2e265dab3a85a1f5bc9b20034450b8806b0 100644 (file)
@@ -789,9 +789,12 @@ public:
   * distributed objects" for more
   * information.
    */
-  void compress (::dealii::VectorOperation::values operation
-                 =::dealii::VectorOperation::unknown);
+  void compress (::dealii::VectorOperation::values operation);
 
+  /**
+   * @deprecated: use compress(VectorOperation::values) instead.
+   */
+  void compress () DEAL_II_DEPRECATED;
 
   /**
    * Access to a single block.
index a50120b792685252a356915310f38aa435f4ce4d..0588ad8c6337c72a3a28d0ee50310b76ec827db0 100644 (file)
@@ -296,8 +296,12 @@ namespace PETScWrappers
      * See @ref GlossCompress "Compressing distributed objects"
      * for more information.
      */
-    void compress (::dealii::VectorOperation::values operation
-                   =::dealii::VectorOperation::unknown);
+    void compress (::dealii::VectorOperation::values operation);
+
+    /**
+     * @deprecated: use compress(VectorOperation::values) instead.
+     */
+    void compress () DEAL_II_DEPRECATED;
 
     /**
      * Set all components of the vector to
index b71653b724c72fda1cb346588f590ab5515e0aca..f29f5745f560284433b86f6d21c8d4ce8401686e 100644 (file)
@@ -345,8 +345,13 @@ namespace TrilinosWrappers
      * See @ref GlossCompress "Compressing distributed objects"
      * for more information.
      */
-    void compress (::dealii::VectorOperation::values operation
-                   =::dealii::VectorOperation::unknown);
+    void compress (::dealii::VectorOperation::values operation);
+
+    /**
+     * @deprecated: Use the compress(VectorOperation::values) function
+     * above instead.
+     */
+    void compress() DEAL_II_DEPRECATED;
 
     /**
     * @deprecated Use compress(dealii::VectorOperation::values) instead.

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.