transform.H File Reference

3D tensor transformation operations. More...

Include dependency graph for transform.H:
This graph shows which files directly or indirectly include this file:

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. More...
 
tensor Rx (const scalar omega)
 Rotational transformation tensor about the x-axis by omega radians. More...
 
tensor Ry (const scalar omega)
 Rotational transformation tensor about the y-axis by omega radians. More...
 
tensor Rz (const scalar omega)
 Rotational transformation tensor about the z-axis by omega radians. More...
 
tensor Ra (const vector &a, const scalar omega)
 Rotational transformation tensor about axis a by omega radians. More...
 
template<class T >
constexpr std::enable_if< std::is_arithmetic< T >::value, T >::type transform (const tensor &, const T val)
 No-op rotational transform for base types. More...
 
template<class T >
constexpr std::enable_if< std::is_arithmetic< T >::value, T >::type invTransform (const tensor &, const T val)
 No-op inverse rotational transform for base types. More...
 
template<class Cmpt >
Vector< Cmpt > transform (const tensor &tt, const Vector< Cmpt > &v)
 Use rotational tensor to transform a vector. More...
 
template<class Cmpt >
Vector< Cmpt > invTransform (const tensor &tt, const Vector< Cmpt > &v)
 Use rotational tensor to inverse transform a vector. More...
 
template<class Cmpt >
Tensor< Cmpt > transform (const tensor &tt, const Tensor< Cmpt > &t)
 Use rotational tensor to transform a tensor. More...
 
template<class Cmpt >
Tensor< Cmpt > invTransform (const tensor &tt, const Tensor< Cmpt > &t)
 Use rotational tensor to inverse transform a tensor. More...
 
template<class Cmpt >
SphericalTensor< Cmpt > transform (const tensor &tt, const SphericalTensor< Cmpt > &st)
 Use rotational tensor to transform a spherical tensor (no-op). More...
 
template<class Cmpt >
SphericalTensor< Cmpt > invTransform (const tensor &tt, const SphericalTensor< Cmpt > &st)
 Use rotational tensor to inverse transform a spherical tensor (no-op). More...
 
template<class Cmpt >
SymmTensor< Cmpt > transform (const tensor &tt, const SymmTensor< Cmpt > &st)
 Use rotational tensor to transform a symmetrical tensor. More...
 
template<class Cmpt >
SymmTensor< Cmpt > invTransform (const tensor &tt, const SymmTensor< Cmpt > &st)
 Use rotational tensor to inverse transform a symmetrical tensor. More...
 
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). More...
 

Detailed Description

3D tensor transformation operations.

Original source file transform.H

InNamespace Foam

Definition in file transform.H.