|
SPH
|
Generic tensor of the 2nd order. More...
#include "objects/geometry/SymmetricTensor.h"Go to the source code of this file.
Classes | |
| class | Tensor |
| Generic 2nd-order tensor with 9 independent components. More... | |
Functions | |
| template<> | |
| INLINE AffineMatrix | convert (const Tensor &t) |
| template<> | |
| INLINE Tensor | convert (const AffineMatrix &t) |
| template<> | |
| INLINE Tensor | convert (const SymmetricTensor &t) |
| INLINE SymmetricTensor | symmetrize (const Tensor &t) |
| Computes a symmetrized tensor 1/2*(t + t^T) More... | |
| INLINE Tensor | outer (const Vector &r1, const Vector &r2) |
| Outer product. More... | |
| INLINE bool | almostEqual (const Tensor &t1, const Tensor &t2, const Float eps=EPS) |
| Checks if two tensors are equal to some given accuracy. More... | |
| template<> | |
| INLINE Float | norm (const Tensor &t) |
| template<> | |
| INLINE Float | normSqr (const Tensor &t) |
| Arbitrary squared norm of the tensor. More... | |
| template<> | |
| INLINE auto | abs (const Tensor &t) |
| Returns the tensor of absolute values. More... | |
| template<> | |
| INLINE Float | minElement (const Tensor &t) |
| Returns the minimal element of the tensor. More... | |
| template<> | |
| INLINE Float | maxElement (const Tensor &t) |
| Returns the maximal element of the tensor. More... | |
| template<> | |
| INLINE Tensor | min (const Tensor &t1, const Tensor &t2) |
| Component-wise minimum of two tensors. More... | |
| template<> | |
| INLINE Tensor | max (const Tensor &t1, const Tensor &t2) |
| Component-wise maximum of two tensors. More... | |
| template<> | |
| INLINE Tensor | clamp (const Tensor &t, const Interval &range) |
| Clamping all components by range. More... | |
| template<> | |
| INLINE bool | isReal (const Tensor &t) |
| template<> | |
| INLINE StaticArray< Float, 6 > | getComponents (const Tensor &) |
| INLINE Tensor convert | ( | const AffineMatrix & | t | ) |
| INLINE Tensor convert | ( | const SymmetricTensor & | t | ) |
| INLINE AffineMatrix convert | ( | const Tensor & | t | ) |
| INLINE StaticArray<Float, 6> getComponents | ( | const Tensor & | ) |
| INLINE SymmetricTensor symmetrize | ( | const Tensor & | t | ) |