]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Re-introduce the old names as a typedef.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 22 Aug 2012 19:52:36 +0000 (19:52 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 22 Aug 2012 19:52:36 +0000 (19:52 +0000)
git-svn-id: https://svn.dealii.org/trunk@26087 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/base/types.h

index c0237b04f43537dba92eea39573d4f01f7cb9bed..be5ecda5383f4e5b5041baa8b4da414f91a77a97 100644 (file)
@@ -32,6 +32,12 @@ namespace types
                                     */
   typedef unsigned int subdomain_id;
 
+                                  /**
+                                   * Old name for the typedef above.
+                                   * @deprecated
+                                   */
+  typedef subdomain_id subdomain_id_t;
+
                                    /**
                                     * A special id for an invalid
                                     * subdomain id. This value may not
@@ -84,6 +90,12 @@ namespace types
            */
   typedef unsigned char boundary_id;
 
+                                  /**
+                                   * Old name for the typedef above.
+                                   * @deprecated
+                                   */
+  typedef boundary_id boundary_id_t;
+
           /**
            * The number which we reserve for internal faces.
            * We assume that all boundary_ids lie in the range [0, internal_face_boundary_id).
@@ -96,6 +108,12 @@ namespace types
            */
   typedef unsigned char material_id;
 
+                                  /**
+                                   * Old name for the typedef above.
+                                   * @deprecated
+                                   */
+  typedef material_id material_id_t;
+
           /**
            * Invalid material_id which we need in several places as a default value.
            * We assume that all material_ids lie in the range [0, invalid_material_id).

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.