From 7a3b4065d4d748817087976a9a894c90165f8ba0 Mon Sep 17 00:00:00 2001 From: Jean-Paul Pelteret Date: Mon, 7 Aug 2017 12:16:22 -0600 Subject: [PATCH] Change the number type of material_id and boundary_id --- doc/news/changes/incompatibilities/20170807Jean-PaulPelteret | 4 ++++ include/deal.II/base/types.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 doc/news/changes/incompatibilities/20170807Jean-PaulPelteret 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; } /** -- 2.39.5