]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add DoFHandler::default_fe_index
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 27 Apr 2006 15:00:28 +0000 (15:00 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 27 Apr 2006 15:00:28 +0000 (15:00 +0000)
git-svn-id: https://svn.dealii.org/trunk@12922 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/dofs/dof_handler.h

index 9d5823292fcea0c2c18a5271c0e1cb4c6c2000f6..d509fc5800eb0a10f19e7e7eb9dc861c1bfb172f 100644 (file)
@@ -154,6 +154,28 @@ class DoFHandler  :  public Subscriptor
                                      * its symbolic name.
                                      */
     static const unsigned int invalid_dof_index = deal_II_numbers::invalid_unsigned_int;
+
+                                    /**
+                                     * The default index of the
+                                     * finite element to be used on a
+                                     * given cell. Since the present
+                                     * class only supports the same
+                                     * finite element to be used on
+                                     * all cells, the index of the
+                                     * finite element needs to be the
+                                     * same on all cells anyway, and
+                                     * by convention we pick zero for
+                                     * this value. The situation is
+                                     * different for hp objects
+                                     * (i.e. the hp::DoFHandler
+                                     * class) where different finite
+                                     * element indices may be used on
+                                     * different cells, and the
+                                     * default index there
+                                     * corresponds to an invalid
+                                     * value.
+                                     */
+    static const unsigned int default_fe_index = 0;
     
                                     /**
                                      * Constructor. Take @p tria as the

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.