3D tensor transformation operations. More...


Go to the source code of this file.
Namespaces | |
| namespace | Foam |
| Namespace for OpenFOAM. | |
Functions | |
| tensor | rotationTensor (const vector &n1, const vector &n2) |
| Rotational transformation tensor from vector n1 to n2. | |
| tensor | Rx (const scalar omega) |
| Rotational transformation tensor about the x-axis by omega radians. | |
| tensor | Ry (const scalar omega) |
| Rotational transformation tensor about the y-axis by omega radians. | |
| tensor | Rz (const scalar omega) |
| Rotational transformation tensor about the z-axis by omega radians. | |
| tensor | Ra (const vector &a, const scalar omega) |
| Rotational transformation tensor about axis a by omega radians. | |
| template<class T> | |
| constexpr std::enable_if_t< std::is_arithmetic_v< T >, T > | transform (const tensor &, const T val) |
| No-op rotational transform for base types. | |
| template<class Cmpt> | |
| SphericalTensor< Cmpt > | transform (const tensor &, const SphericalTensor< Cmpt > &val) |
| No-op rotational transform for spherical tensor. | |
| template<class T> | |
| constexpr std::enable_if_t< std::is_arithmetic_v< T >, T > | invTransform (const tensor &, const T val) |
| No-op inverse rotational transform for base types. | |
| template<class Cmpt> | |
| SphericalTensor< Cmpt > | invTransform (const tensor &, const SphericalTensor< Cmpt > &val) |
| No-op inverse rotational transform for spherical tensor. | |
| template<class Cmpt> | |
| Vector< Cmpt > | transform (const tensor &tt, const Vector< Cmpt > &v) |
| Use rotational tensor to transform a vector. | |
| template<class Cmpt> | |
| Vector< Cmpt > | invTransform (const tensor &tt, const Vector< Cmpt > &v) |
| Use rotational tensor to inverse transform a vector. | |
| template<class Cmpt> | |
| Tensor< Cmpt > | transform (const tensor &tt, const Tensor< Cmpt > &t) |
| Use rotational tensor to transform a tensor. | |
| template<class Cmpt> | |
| Tensor< Cmpt > | invTransform (const tensor &tt, const Tensor< Cmpt > &t) |
| Use rotational tensor to inverse transform a tensor. | |
| template<class Cmpt> | |
| SymmTensor< Cmpt > | transform (const tensor &tt, const SymmTensor< Cmpt > &st) |
| Use rotational tensor to transform a symmetrical tensor. | |
| template<class Cmpt> | |
| SymmTensor< Cmpt > | invTransform (const tensor &tt, const SymmTensor< Cmpt > &st) |
| Use rotational tensor to inverse transform a symmetrical tensor. | |
| template<class Type1, class Type2> | |
| Type1 | transformMask (const Type2 &t) |
| template<> | |
| sphericalTensor | transformMask< sphericalTensor > (const tensor &t) |
| template<> | |
| symmTensor | transformMask< symmTensor > (const tensor &t) |
| scalar | pseudoAngle (const vector &e0, const vector &e1, const vector &vec) |
| Estimate angle of vec in coordinate system (e0, e1, e0^e1). | |
3D tensor transformation operations.
Original source file transform.H
InNamespace Foam
Definition in file transform.H.