* certain value, but rather take
* its symbolic name.
*/
- static const unsigned int invalid_dof_index = static_cast<unsigned int>(-1);
+ 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. For the usual,
+ * non-hp ::DoFHandler class
+ * that 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 here is
+ * different, since the hp
+ * classes support the case
+ * where different finite
+ * element indices may be used
+ * on different cells. The
+ * default index consequently
+ * corresponds to an invalid
+ * value.
+ */
+ static const unsigned int default_fe_index = deal_II_numbers::invalid_unsigned_int;
+
+
/**
* Constructor. Take @p tria as the
* triangulation to work on.