]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Let the compiler generate all the data for the 4d case itself recursively.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 7 Jul 2005 15:20:51 +0000 (15:20 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 7 Jul 2005 15:20:51 +0000 (15:20 +0000)
git-svn-id: https://svn.dealii.org/trunk@11098 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/grid/geometry_info.h

index 9378e244c6780c1aedab9ed7153aa65b71761fa5..3592c2b8c4d0f257389a03e6c89c2a28043aaecc 100644 (file)
@@ -107,86 +107,6 @@ struct GeometryInfo<0>
 
 
 
-/**
- * Topological description of four dimensional cells. This class is
- * required in some exotic cases where we compute information in a
- * one-larger dimension than the present, and do so also in 3d (for
- * example, stacking the solutions of a d-dimensional time dependent
- * equation timestep after timestep in a (d+1)-dimensional space).
- *
- * This class contains as static members information on vertices and
- * faces of a @p dim-dimensional grid cell. The interface is the same
- * for all dimensions. If a value is of no use in a low dimensional
- * cell, it is (correctly) set to zero, e.g. @p subfaces_per_cell in
- * 1d.
- *
- * This information should always replace hard-coded numbers of
- * vertices, neighbors and so on, since it can be used dimension
- * independently.
- *
- * @author Wolfgang Bangerth, 1998
- */
-template <>
-struct GeometryInfo<4>
-{
-
-                                    /**
-                                     * Number of children a cell has.
-                                     */
-    static const unsigned int children_per_cell = 16;
-
-                                    /**
-                                     * Number of faces a cell has.
-                                     */
-    static const unsigned int faces_per_cell    = 8;
-
-                                    /**
-                                     * Number of children each face has
-                                     * when the adjacent cell is refined.
-                                     */
-    static const unsigned int subfaces_per_face = 8;
-
-                                    /**
-                                     * Number of vertices a cell has.
-                                     */
-    static const unsigned int vertices_per_cell = 16;
-
-                                    /**
-                                     * Number of vertices each face
-                                     * has.
-                                     */
-    static const unsigned int vertices_per_face = 8;
-
-                                    /**
-                                     * Number of lines each face has.
-                                     */
-    static const unsigned int lines_per_face    = 12;
-    
-                                    /**
-                                     * Number of quads on each face.
-                                     */
-    static const unsigned int quads_per_face    = 6;
-
-                                    /**
-                                     * Number of lines of a cell.
-                                     */
-    static const unsigned int lines_per_cell    = 32;
-
-                                    /**
-                                     * Number of quadrilaterals of a
-                                     * cell.
-                                     */
-    static const unsigned int quads_per_cell    = 24;
-
-                                    /**
-                                     * Number of hexahedra of a
-                                     * cell.
-                                     */
-    static const unsigned int hexes_per_cell    = 8;
-};
-
-
-
 /**
  * This template specifies the interface to all topological structure
  * of the mesh cells. This template class can be instantiated for
@@ -276,11 +196,11 @@ struct GeometryInfo
        GeometryInfo<dim-1>::quads_per_cell);
 
                                     /**
-                                     * List of numbers which
-                                     * denotes which face is opposite
-                                     * to a given face. In 1d, this
-                                     * list is <tt>{1,0</tt>}, in 2d <tt>{2, 3, 0, 1</tt>},
-                                     * in 3d <tt>{1, 0, 4, 5, 2, 3</tt>}.
+                                     * List of numbers which denotes which
+                                     * face is opposite to a given face. In
+                                     * 1d, this list is <tt>{1,0}</tt>, in 2d
+                                     * <tt>{2, 3, 0, 1}</tt>, in 3d <tt>{1,
+                                     * 0, 4, 5, 2, 3}</tt>.
                                      */
     static const unsigned int opposite_face[faces_per_cell];
     

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.