From: bangerth Date: Wed, 22 Aug 2012 19:52:36 +0000 (+0000) Subject: Re-introduce the old names as a typedef. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95474c043ef6b7222b3a2d8afff7cba012095fcc;p=dealii-svn.git Re-introduce the old names as a typedef. git-svn-id: https://svn.dealii.org/trunk@26087 0785d39b-7218-0410-832d-ea1e28bc413d --- 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).