namespace ewalena
0.2.15
ewalena is not an acronym
|
Classes | |
class | VoightMap |
Functions | |
template<int dim, typename ValueType > | |
Matrix< ValueType > | voight_fold (const Tensor< dim, 2, ValueType > &T) |
template<int dim, typename ValueType > | |
Matrix< ValueType > | voight_fold (const Tensor< dim, 3, ValueType > &T, const unsigned int symmetry_direction=0) |
template<int dim, typename ValueType > | |
Matrix< ValueType > | voight_fold (const Tensor< dim, 4, ValueType > &T) |
Matrix<ValueType> ewalena::TensorTools::voight_fold | ( | const Tensor< dim, 2, ValueType > & | T | ) |
Specialisation of voight folding for rank=2
. If the tensor T
is not symmetric in the indices , an exception is thrown.
Matrix<ValueType> ewalena::TensorTools::voight_fold | ( | const Tensor< dim, 3, ValueType > & | T, |
const unsigned int | symmetry_direction = 0 |
||
) |
Specialisation of voight folding for rank=4
. The flag symmetry_direction
denotes in which direction the one remaining index lies and the other indices are folded: (
symmetry_direction=0
), this is the default); or (
symmetry_direction=1
). If the tensor T
is not symmetric in the indices or
respectively, an exception is thrown.
Matrix<ValueType> ewalena::TensorTools::voight_fold | ( | const Tensor< dim, 4, ValueType > & | T | ) |
Specialisation of voight folding for rank=4
. If the tensor T
is not symmetric in the indices and
, an exception is thrown.