From: Wolfgang Bangerth Date: Fri, 11 Dec 1998 16:51:27 +0000 (+0000) Subject: Change file layout a bit and add some comments to make life easier for our documentat... X-Git-Tag: v8.0.0~22555 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=501f665de9b7ca86eb4960edba6b3df60d8b552a;p=dealii.git Change file layout a bit and add some comments to make life easier for our documentation tool. git-svn-id: https://svn.dealii.org/trunk@702 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/grid/tria_boundary.h b/deal.II/deal.II/include/grid/tria_boundary.h index a97a9d4880..c110ee46a7 100644 --- a/deal.II/deal.II/include/grid/tria_boundary.h +++ b/deal.II/deal.II/include/grid/tria_boundary.h @@ -13,20 +13,46 @@ /** * Workaround for a bug in egcs snapshot 1998/08/03. */ -template struct BoundaryHelper; +template +struct BoundaryHelper; -template <> struct BoundaryHelper<1> { - // actually, this does not make much - // sense, but declaring a zero-sized - // array is forbidden nowadays +/** + * Workaround for a bug in egcs snapshot 1998/08/03. + */ +template <> +struct BoundaryHelper<1> { + /** + * Declare a data type for the derived + * classes. + * + * actually, this does not make much + * sense, but declaring a zero-sized + * array is forbidden nowadays. + */ typedef const Point<1> *PointArray[1]; }; -template <> struct BoundaryHelper<2> { +/** + * Workaround for a bug in egcs snapshot 1998/08/03. + */ +template <> +struct BoundaryHelper<2> { + /** + * Declare a data type for the derived + * classes. + */ typedef const Point<2> *PointArray[GeometryInfo<2>::vertices_per_face]; }; -template <> struct BoundaryHelper<3> { +/** + * Workaround for a bug in egcs snapshot 1998/08/03. + */ +template <> +struct BoundaryHelper<3> { + /** + * Declare a data type for the derived + * classes. + */ typedef const Point<3> *PointArray[GeometryInfo<3>::vertices_per_face]; };