Loading...
Searching...
No Matches
TensorI.H File Reference
Include dependency graph for TensorI.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  typeOfSum< SphericalTensor< Cmpt >, Tensor< Cmpt > >
class  typeOfSum< Tensor< Cmpt >, SphericalTensor< Cmpt > >
class  innerProduct< SphericalTensor< Cmpt >, Tensor< Cmpt > >
class  innerProduct< Tensor< Cmpt >, SphericalTensor< Cmpt > >
class  typeOfSum< SymmTensor< Cmpt >, Tensor< Cmpt > >
class  typeOfSum< Tensor< Cmpt >, SymmTensor< Cmpt > >
class  innerProduct< SymmTensor< Cmpt >, Tensor< Cmpt > >
class  innerProduct< Tensor< Cmpt >, SymmTensor< Cmpt > >

Namespaces

namespace  Foam
 Namespace for OpenFOAM.

Functions

template<class Cmpt>
Cmpt tr (const Tensor< Cmpt > &t)
 Return the trace of a Tensor.
template<class Cmpt>
SphericalTensor< Cmpt > sph (const Tensor< Cmpt > &t)
 Return the spherical part of a Tensor.
template<class Cmpt>
SymmTensor< Cmpt > symm (const Tensor< Cmpt > &t)
 Return the symmetric part of a Tensor.
template<class Cmpt>
SymmTensor< Cmpt > twoSymm (const Tensor< Cmpt > &t)
 Return twice the symmetric part of a Tensor.
template<class Cmpt>
SymmTensor< Cmpt > devSymm (const Tensor< Cmpt > &t)
 Return the deviatoric part of the symmetric part of a Tensor.
template<class Cmpt>
SymmTensor< Cmpt > devTwoSymm (const Tensor< Cmpt > &t)
 Return the deviatoric part of twice the symmetric part of a Tensor.
template<class Cmpt>
Tensor< Cmpt > skew (const Tensor< Cmpt > &t)
 Return the skew-symmetric part of a Tensor.
template<class Cmpt>
const Tensor< Cmpt > & skew (const SymmTensor< Cmpt > &st)
 Return the skew-symmetric part of a SymmTensor as a Tensor.
template<class Cmpt>
Tensor< Cmpt > dev (const Tensor< Cmpt > &t)
 Return the deviatoric part of a Tensor.
template<class Cmpt>
Tensor< Cmpt > dev2 (const Tensor< Cmpt > &t)
 Return the two-third deviatoric part of a Tensor.
template<class Cmpt>
Cmpt det (const Tensor< Cmpt > &t)
 Return the determinant of a Tensor.
template<class Cmpt>
Tensor< Cmpt > cof (const Tensor< Cmpt > &t)
 Return the cofactor Tensor of a Tensor.
template<class Cmpt>
Tensor< Cmpt > inv (const Tensor< Cmpt > &t, const Cmpt detval)
 Return the inverse of a Tensor, using the given determinant value.
template<class Cmpt>
Tensor< Cmpt > inv (const Tensor< Cmpt > &t)
 Return the inverse of a Tensor.
template<class Cmpt>
Cmpt invariantI (const Tensor< Cmpt > &t)
 Return the 1st invariant of a Tensor.
template<class Cmpt>
Cmpt invariantII (const Tensor< Cmpt > &t)
 Return the 2nd invariant of a Tensor.
template<class Cmpt>
Cmpt invariantIII (const Tensor< Cmpt > &t)
 Return the 3rd invariant of a Tensor.
template<class Cmpt>
Tensor< Cmpt > lerp (const Tensor< Cmpt > &a, const Tensor< Cmpt > &b, const scalar t)
 Linear interpolation of tensors a and b by factor t.
template<class Cmpt>
Tensor< Cmpt > operator+ (const SphericalTensor< Cmpt > &st1, const Tensor< Cmpt > &t2)
 Sum of a SphericalTensor and a Tensor.
template<class Cmpt>
Tensor< Cmpt > operator+ (const Tensor< Cmpt > &t1, const SphericalTensor< Cmpt > &st2)
 Sum of a Tensor and a SphericalTensor.
template<class Cmpt>
Tensor< Cmpt > operator+ (const SymmTensor< Cmpt > &st1, const Tensor< Cmpt > &t2)
 Sum of a SymmTensor and a Tensor.
template<class Cmpt>
Tensor< Cmpt > operator+ (const Tensor< Cmpt > &t1, const SymmTensor< Cmpt > &st2)
 Sum of a Tensor and a SymmTensor.
template<class Cmpt>
Tensor< Cmpt > operator- (const SphericalTensor< Cmpt > &st1, const Tensor< Cmpt > &t2)
 Subtract a Tensor from a SphericalTensor.
template<class Cmpt>
Tensor< Cmpt > operator- (const Tensor< Cmpt > &t1, const SphericalTensor< Cmpt > &st2)
 Subtract a SphericalTensor from a Tensor.
template<class Cmpt>
Tensor< Cmpt > operator- (const SymmTensor< Cmpt > &st1, const Tensor< Cmpt > &t2)
 Subtract a Tensor from a SymmTensor.
template<class Cmpt>
Tensor< Cmpt > operator- (const Tensor< Cmpt > &t1, const SymmTensor< Cmpt > &st2)
 Subtract a SymmTensor from a Tensor.
template<class Cmpt>
Vector< Cmpt > operator* (const Tensor< Cmpt > &t)
 Return the Hodge dual of a Tensor as a Vector.
template<class Cmpt>
Tensor< Cmpt > operator* (const Vector< Cmpt > &v)
 Return the Hodge dual of a Vector as a Tensor.
template<class Cmpt>
innerProduct< Vector< Cmpt >, Tensor< Cmpt > >::type operator/ (const Vector< Cmpt > &v, const Tensor< Cmpt > &t)
 Division of a Vector by a Tensor.
template<class Cmpt>
Tensor< Cmpt > operator/ (const Tensor< Cmpt > &t, const Cmpt s)
 Division of a Tensor by a Cmpt.
template<class Cmpt>
innerProduct< Tensor< Cmpt >, Tensor< Cmpt > >::type operator& (const Tensor< Cmpt > &t1, const Tensor< Cmpt > &t2)
 Inner-product of a Tensor and a Tensor.
template<class Cmpt>
Tensor< Cmpt > operator& (const SphericalTensor< Cmpt > &st1, const Tensor< Cmpt > &t2)
 Inner-product of a SphericalTensor and a Tensor.
template<class Cmpt>
Tensor< Cmpt > operator& (const Tensor< Cmpt > &t1, const SphericalTensor< Cmpt > &st2)
 Inner-product of a Tensor and a SphericalTensor.
template<class Cmpt>
Tensor< Cmpt > operator& (const SymmTensor< Cmpt > &st1, const Tensor< Cmpt > &t2)
 Inner-product of a SymmTensor and a Tensor.
template<class Cmpt>
Tensor< Cmpt > operator& (const Tensor< Cmpt > &t1, const SymmTensor< Cmpt > &st2)
 Inner-product of a Tensor and a SymmTensor.
template<class Cmpt>
Vector< Cmpt > operator& (const Tensor< Cmpt > &t, const Vector< Cmpt > &v)
 Inner-product of a Tensor and a Vector.
template<class Cmpt>
Vector< Cmpt > operator& (const Vector< Cmpt > &v, const Tensor< Cmpt > &t)
 Inner-product of a Vector and a Tensor.
template<class Cmpt>
Cmpt operator&& (const SphericalTensor< Cmpt > &st1, const Tensor< Cmpt > &t2)
 Double-inner-product of a SphericalTensor and a Tensor.
template<class Cmpt>
Cmpt operator&& (const Tensor< Cmpt > &t1, const SphericalTensor< Cmpt > &st2)
 Double-inner-product of a Tensor and a SphericalTensor.
template<class Cmpt>
Cmpt operator&& (const SymmTensor< Cmpt > &st1, const Tensor< Cmpt > &t2)
 Double-inner-product of a SymmTensor and a Tensor.
template<class Cmpt>
Cmpt operator&& (const Tensor< Cmpt > &t1, const SymmTensor< Cmpt > &st2)
 Double-inner-product of a Tensor and a SymmTensor.
template<class Cmpt>
outerProduct< Vector< Cmpt >, Vector< Cmpt > >::type operator* (const Vector< Cmpt > &v1, const Vector< Cmpt > &v2)
 Outer-product of a Vector and a Vector.

Detailed Description

Original source file TensorI.H

Definition in file TensorI.H.