Public Member Functions | |
TableIndices () | |
TableIndices (const unsigned int index1, const unsigned int index2=numbers::invalid_unsigned_int) |
This is the specialization for a two-dimensional table. This class only differs in the non-default constructors from the other specializations. Actual storage of and access to data is done by the TableIndicesBase base class of a specializations.
TableIndices< 2 >::TableIndices | ( | ) | [inline] |
Default constructor. Set all indices to zero.
TableIndices< 2 >::TableIndices | ( | const unsigned int | index1, | |
const unsigned int | index2 = numbers::invalid_unsigned_int | |||
) | [inline] |
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.