/**
* Constructor. Set indices to
* the given values.
+ *
+ * The default values for the
+ * second and subsequent
+ * arguments are necessary for
+ * some neat template tricks in
+ * SymmetricTensor where we only
+ * want to set the first index
+ * and construct the subsequent
+ * ones later on, i.e. for the
+ * moment we don't care about the
+ * later indices.
*/
TableIndices (const unsigned int index1,
- const unsigned int index2);
+ const unsigned int index2 = deal_II_numbers::invalid_unsigned_int);
};
/**
* Constructor. Set indices to
* the given values.
+ *
+ * The default values for the
+ * second and subsequent
+ * arguments are necessary for
+ * some neat template tricks in
+ * SymmetricTensor where we only
+ * want to set the first index
+ * and construct the subsequent
+ * ones later on, i.e. for the
+ * moment we don't care about the
+ * later indices.
*/
TableIndices (const unsigned int index1,
- const unsigned int index2,
- const unsigned int index3);
+ const unsigned int index2 = deal_II_numbers::invalid_unsigned_int,
+ const unsigned int index3 = deal_II_numbers::invalid_unsigned_int);
};
/**
* Constructor. Set indices to
* the given values.
+ *
+ * The default values for the
+ * second and subsequent
+ * arguments are necessary for
+ * some neat template tricks in
+ * SymmetricTensor where we only
+ * want to set the first index
+ * and construct the subsequent
+ * ones later on, i.e. for the
+ * moment we don't care about the
+ * later indices.
*/
TableIndices (const unsigned int index1,
- const unsigned int index2,
- const unsigned int index3,
- const unsigned int index4);
+ const unsigned int index2 = deal_II_numbers::invalid_unsigned_int,
+ const unsigned int index3 = deal_II_numbers::invalid_unsigned_int,
+ const unsigned int index4 = deal_II_numbers::invalid_unsigned_int);
};
/**
* Constructor. Set indices to
* the given values.
+ *
+ * The default values for the
+ * second and subsequent
+ * arguments are necessary for
+ * some neat template tricks in
+ * SymmetricTensor where we only
+ * want to set the first index
+ * and construct the subsequent
+ * ones later on, i.e. for the
+ * moment we don't care about the
+ * later indices.
*/
TableIndices (const unsigned int index1,
- const unsigned int index2,
- const unsigned int index3,
- const unsigned int index4,
- const unsigned int index5);
+ const unsigned int index2 = deal_II_numbers::invalid_unsigned_int,
+ const unsigned int index3 = deal_II_numbers::invalid_unsigned_int,
+ const unsigned int index4 = deal_II_numbers::invalid_unsigned_int,
+ const unsigned int index5 = deal_II_numbers::invalid_unsigned_int);
};
/**
* Constructor. Set indices to
* the given values.
+ *
+ * The default values for the
+ * second and subsequent
+ * arguments are necessary for
+ * some neat template tricks in
+ * SymmetricTensor where we only
+ * want to set the first index
+ * and construct the subsequent
+ * ones later on, i.e. for the
+ * moment we don't care about the
+ * later indices.
*/
TableIndices (const unsigned int index1,
- const unsigned int index2,
- const unsigned int index3,
- const unsigned int index4,
- const unsigned int index5,
- const unsigned int index6);
+ const unsigned int index2 = deal_II_numbers::invalid_unsigned_int,
+ const unsigned int index3 = deal_II_numbers::invalid_unsigned_int,
+ const unsigned int index4 = deal_II_numbers::invalid_unsigned_int,
+ const unsigned int index5 = deal_II_numbers::invalid_unsigned_int,
+ const unsigned int index6 = deal_II_numbers::invalid_unsigned_int);
};
/**
* Constructor. Set indices to
* the given values.
+ *
+ * The default values for the
+ * second and subsequent
+ * arguments are necessary for
+ * some neat template tricks in
+ * SymmetricTensor where we only
+ * want to set the first index
+ * and construct the subsequent
+ * ones later on, i.e. for the
+ * moment we don't care about the
+ * later indices.
*/
TableIndices (const unsigned int index1,
- const unsigned int index2,
- const unsigned int index3,
- const unsigned int index4,
- const unsigned int index5,
- const unsigned int index6,
- const unsigned int index7);
+ const unsigned int index2 = deal_II_numbers::invalid_unsigned_int,
+ const unsigned int index3 = deal_II_numbers::invalid_unsigned_int,
+ const unsigned int index4 = deal_II_numbers::invalid_unsigned_int,
+ const unsigned int index5 = deal_II_numbers::invalid_unsigned_int,
+ const unsigned int index6 = deal_II_numbers::invalid_unsigned_int,
+ const unsigned int index7 = deal_II_numbers::invalid_unsigned_int);
};