]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Change the number type of material_id and boundary_id
authorJean-Paul Pelteret <jppelteret@gmail.com>
Mon, 7 Aug 2017 18:16:22 +0000 (12:16 -0600)
committerJean-Paul Pelteret <jppelteret@gmail.com>
Wed, 9 Aug 2017 23:05:18 +0000 (17:05 -0600)
doc/news/changes/incompatibilities/20170807Jean-PaulPelteret [new file with mode: 0644]
include/deal.II/base/types.h

diff --git a/doc/news/changes/incompatibilities/20170807Jean-PaulPelteret b/doc/news/changes/incompatibilities/20170807Jean-PaulPelteret
new file mode 100644 (file)
index 0000000..5e29252
--- /dev/null
@@ -0,0 +1,4 @@
+Changed: The types::boundary_id and types::material_id types have been changed
+from unsigned char to unsigned int. 
+<br>
+(Jean-Paul Pelteret, 2017/08/07)
index 3b5f5c78f09773e69c3478d7ec51711d631860aa..0f2a2302f8eb91a01db49068f3db6cfd4b4df490 100644 (file)
@@ -107,7 +107,7 @@ namespace types
    * @see
    * @ref GlossBoundaryIndicator "Glossary entry on boundary indicators"
    */
-  typedef unsigned char boundary_id;
+  typedef unsigned int boundary_id;
 
   /**
    * The type used to denote manifold indicators associated with every object
@@ -130,7 +130,7 @@ namespace types
    * @see
    * @ref GlossMaterialId "Glossary entry on material indicators"
    */
-  typedef unsigned char material_id;
+  typedef unsigned int 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.