]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Change file layout a bit and add some comments to make life easier for our documentat...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 11 Dec 1998 16:51:27 +0000 (16:51 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 11 Dec 1998 16:51:27 +0000 (16:51 +0000)
git-svn-id: https://svn.dealii.org/trunk@702 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/grid/tria_boundary.h

index a97a9d488062a01ee01f0dfd08fd83a429d8cec3..c110ee46a77739f298b1caa7a001fa3c5cd8f6e0 100644 (file)
 /**
  * Workaround for a bug in egcs snapshot 1998/08/03.
  */
-template <int dim> struct BoundaryHelper;
+template <int dim>
+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];
 };
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.