From b072d8265a0118a1b44d595891a028e7109a1995 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 22 Aug 2012 19:52:36 +0000 Subject: [PATCH] Re-introduce the old names as a typedef. git-svn-id: https://svn.dealii.org/trunk@26087 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/base/types.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/deal.II/include/deal.II/base/types.h b/deal.II/include/deal.II/base/types.h index c0237b04f4..be5ecda538 100644 --- a/deal.II/include/deal.II/base/types.h +++ b/deal.II/include/deal.II/base/types.h @@ -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). -- 2.39.5