From: Jean-Paul Pelteret Date: Mon, 7 Aug 2017 18:16:22 +0000 (-0600) Subject: Change the number type of material_id and boundary_id X-Git-Tag: v9.0.0-rc1~1311^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a3b4065d4d;p=dealii.git Change the number type of material_id and boundary_id --- diff --git a/doc/news/changes/incompatibilities/20170807Jean-PaulPelteret b/doc/news/changes/incompatibilities/20170807Jean-PaulPelteret new file mode 100644 index 0000000000..5e2925267b --- /dev/null +++ b/doc/news/changes/incompatibilities/20170807Jean-PaulPelteret @@ -0,0 +1,4 @@ +Changed: The types::boundary_id and types::material_id types have been changed +from unsigned char to unsigned int. +
+(Jean-Paul Pelteret, 2017/08/07) diff --git a/include/deal.II/base/types.h b/include/deal.II/base/types.h index 3b5f5c78f0..0f2a2302f8 100644 --- a/include/deal.II/base/types.h +++ b/include/deal.II/base/types.h @@ -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; } /**