VISH
0.2
|
Coordinate template class. More...
#include </home/werner/origo/vish/ocean/eagle/Coordinates.hpp>
Coordinate template class.
anonymous enum |
Dims |
Number of dimensions, and components of a vector (1-blade) |
Dims2 |
Number of components for a general tensor of rank 2: 2D (4), 3D(9), 4D(16) |
SymmetricDims |
Number of independent components of a symmetric tensor of rank 2, given by Dims*(Dims+1)/2. 2D: 2*(2+1)/2 -> 3 3D: 3*(3+1)/2 -> 6 4D: 4*(4+1)/2 -> 10 |
AntisymmetricDims |
Number of independent components of an antisymmetric tensor of rank 2, given by subtracting the number of components for the symmetric part from the generic one: 2D: 4-3 -> 1 3D: 9-6 -> 3 4D: 16-10 -> 6 |
Dims3 |
Number of components for a general tensor of rank 3, or the Christoffel symbols: 2D (8), 3D(27), 4D(64) |