|
template<typename scalar > |
__hostanddev__ tensor3< scalar > | operator* (scalar s, const tensor3< scalar > &a) |
|
template<typename scalar > |
__hostanddev__ tensor3< scalar > | operator* (const tensor3< scalar > &a, scalar s) |
|
template<typename scalar > |
__hostanddev__ tensor3< scalar > | loadTensor (const tensor3< const scalar * > &tArr, int i) |
| Load tensor from a constant tensor field.
|
|
template<typename scalar > |
__hostanddev__ tensor3< scalar > | loadTensor (const tensor3< scalar * > &tArr, int i) |
| Load tensor from a tensor field.
|
|
template<typename scalar > |
__hostanddev__ void | storeTensor (const tensor3< scalar > &t, tensor3< scalar * > &tArr, int i) |
| Store tensor to a tensor field.
|
|
template<typename scalar > |
__hostanddev__ void | accumTensor (const tensor3< scalar > &t, tensor3< scalar * > &tArr, int i) |
| Accumulate tensor onto a tensor field.
|
|
Symmetric traceless tensor with CPU and GPU operators.