3D tensor transformation operations. More...
3D tensor transformation operations.
InNamespace Foam
Definition in file transform.H.
#include "src/OpenFOAM/primitives/Tensor/tensor/tensor.H"
#include "src/OpenFOAM/primitives/mathematicalConstants/mathematicalConstants.H"
Go to the source code of this file.
Namespaces | |
namespace | Foam |
Namespace for OpenFOAM. | |
Functions | |
tensor | rotationTensor (const vector &n1, const vector &n2) |
label | transform (const tensor &, const label i) |
scalar | transform (const tensor &, const scalar s) |
template<class Cmpt > | |
Vector< Cmpt > | transform (const tensor &tt, const Vector< Cmpt > &v) |
template<class Cmpt > | |
Tensor< Cmpt > | transform (const tensor &tt, const Tensor< Cmpt > &t) |
template<class Cmpt > | |
SphericalTensor< Cmpt > | transform (const tensor &tt, const SphericalTensor< Cmpt > &st) |
template<class Cmpt > | |
SymmTensor< Cmpt > | transform (const tensor &tt, const SymmTensor< Cmpt > &st) |
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).
|