<h3>Specific improvements</h3>
<ol>
+<li> New: The global function <code>complete_index_set()</code>
+creates and returns an index set of given size that contains
+every single index with this range.
+<br>
+(Wolfgang Bangerth, 2013/05/24)
+</li>
+
<li> New: All vector classes now have a static member variable
<code>supports_distributed_data</code> that indicates whether the
vector class supports data that is distributed across multiple
};
+/**
+ * Create and return an index set of size $N$ that contains every
+ * single index within this range. In essence, this function
+ * returns an index set created by
+ * @code
+ * IndexSet is (N);
+ * is.add_range(0, N);
+ * @endcode
+ * This function exists so that one can create and initialize
+ * index sets that are complete in one step, or so one can write
+ * code like
+ * @code
+ * if (my_index_set == complete_index_set(my_index_set.size())
+ * ...
+ * @endcode
+ *
+ * @relates IndexSet
+ */
+inline
+IndexSet complete_index_set (const unsigned int N)
+{
+ IndexSet is (N);
+ is.add_range(0, N);
+ return is;
+}
+
/* ------------------ inline functions ------------------ */
inline
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