-
Notifications
You must be signed in to change notification settings - Fork 31
Tensor Data Types
There are several Tensor Data Types available inside this module:
-
Tensor 1
rank 1 Tensor (Vector) -
Tensor 2
rank 2 Tensor -
Tensor 4
rank 4 Tensor -
Tensor 2s
rank 2 Tensor (symmetric) -
Tensor 4s
rank 4 Tensor (symmetric)
This is a rank 1 tensor which represents a vector in 3D cartesian coordinates with length 3.
Access to i-th component: T%a(i)
This is a rank 2 tensor in 3D cartesian coordinates with dimension 3x3.
Access to i,j-component: T%ab(i,j)
This is a rank 4 tensor in 3D cartesian coordinates with dimension 3x3x3x3.
Access to i,j,k,l-component: T%abcd(i,j,k,l)
This is a symmetric rank 2 tensor in 3D cartesian coordinates which is stored as a vector with length 6. The storage order is 11,22,33,12,23,31
.
Access to i-th component: T%a6(i)
This is a symmetric rank 4 tensor in 3D cartesian coordinates which is stored as a matrix with dimension 6x6. The storage order for both axis components is 11,22,33,12,23,31
.
Access to i,j-component: T%a6b6(i,j)