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

Go to the source code of this file.

Classes

class  outerProduct< SymmTensor< Cmpt >, Cmpt >
class  outerProduct< Cmpt, SymmTensor< Cmpt > >
class  innerProduct< SymmTensor< Cmpt >, SymmTensor< Cmpt > >
class  innerProduct< SymmTensor< Cmpt >, Vector< Cmpt > >
class  innerProduct< Vector< Cmpt >, SymmTensor< Cmpt > >
class  typeOfSum< SphericalTensor< Cmpt >, SymmTensor< Cmpt > >
class  typeOfSum< SymmTensor< Cmpt >, SphericalTensor< Cmpt > >
class  innerProduct< SphericalTensor< Cmpt >, SymmTensor< Cmpt > >
class  innerProduct< SymmTensor< Cmpt >, SphericalTensor< Cmpt > >

Namespaces

namespace  Foam
 Namespace for OpenFOAM.

Functions

template<class Cmpt>
Cmpt tr (const SymmTensor< Cmpt > &st)
 Return the trace of a SymmTensor.
template<class Cmpt>
SphericalTensor< Cmpt > sph (const SymmTensor< Cmpt > &st)
 Return the spherical part of a SymmTensor.
template<class Cmpt>
const SymmTensor< Cmpt > & symm (const SymmTensor< Cmpt > &st)
 Return the symmetric part of a SymmTensor, i.e. itself.
template<class Cmpt>
SymmTensor< Cmpt > twoSymm (const SymmTensor< Cmpt > &st)
 Return twice the symmetric part of a SymmTensor.
template<class Cmpt>
SymmTensor< Cmpt > devSymm (const SymmTensor< Cmpt > &st)
 Return the deviatoric part of the symmetric part of a SymmTensor.
template<class Cmpt>
SymmTensor< Cmpt > devTwoSymm (const SymmTensor< Cmpt > &st)
 Return the deviatoric part of twice the symmetric part of a SymmTensor.
template<class Cmpt>
SymmTensor< Cmpt > dev (const SymmTensor< Cmpt > &st)
 Return the deviatoric part of a SymmTensor.
template<class Cmpt>
SymmTensor< Cmpt > dev2 (const SymmTensor< Cmpt > &st)
 Return the two-third deviatoric part of a SymmTensor.
template<class Cmpt>
Cmpt det (const SymmTensor< Cmpt > &st)
 Return the determinant of a SymmTensor.
template<class Cmpt>
SymmTensor< Cmpt > cof (const SymmTensor< Cmpt > &st)
 Return the cofactor of a SymmTensor as a SymmTensor.
template<class Cmpt>
SymmTensor< Cmpt > inv (const SymmTensor< Cmpt > &st, const Cmpt detval)
 Return the inverse of a SymmTensor, using given determinant value.
template<class Cmpt>
SymmTensor< Cmpt > inv (const SymmTensor< Cmpt > &st)
 Return the inverse of a SymmTensor.
template<class Cmpt>
Cmpt invariantI (const SymmTensor< Cmpt > &st)
 Return the 1st invariant of a SymmTensor.
template<class Cmpt>
Cmpt invariantII (const SymmTensor< Cmpt > &st)
 Return the 2nd invariant of a SymmTensor.
template<class Cmpt>
Cmpt invariantIII (const SymmTensor< Cmpt > &st)
 Return the 3rd invariant of a SymmTensor.
template<class Cmpt>
SymmTensor< Cmpt > innerSqr (const SymmTensor< Cmpt > &st)
 Return the inner-product of a SymmTensor with itself.
template<class Cmpt>
Foam::scalar magSqr (const SymmTensor< Cmpt > &st)
 Return the square of Frobenius norm of a SymmTensor.
template<class Cmpt>
SymmTensor< Cmpt > sqr (const Vector< Cmpt > &v)
 Return the square of a Vector as a SymmTensor.
template<class Cmpt>
SymmTensor< Cmpt > lerp (const SymmTensor< Cmpt > &a, const SymmTensor< Cmpt > &b, const scalar t)
 Linear interpolation of symmetric tensors a and b by factor t.
template<class Cmpt>
SymmTensor< Cmpt > operator+ (const SphericalTensor< Cmpt > &spt1, const SymmTensor< Cmpt > &st2)
 Sum of a SphericalTensor and a SymmTensor.
template<class Cmpt>
SymmTensor< Cmpt > operator+ (const SymmTensor< Cmpt > &st1, const SphericalTensor< Cmpt > &spt2)
 Sum of a SymmTensor and a SphericalTensor.
template<class Cmpt>
SymmTensor< Cmpt > operator- (const SphericalTensor< Cmpt > &spt1, const SymmTensor< Cmpt > &st2)
 Subtract a SymmTensor from a SphericalTensor.
template<class Cmpt>
SymmTensor< Cmpt > operator- (const SymmTensor< Cmpt > &st1, const SphericalTensor< Cmpt > &spt2)
 Subtract a SphericalTensor from a SymmTensor.
template<class Cmpt>
Vector< Cmpt > operator* (const SymmTensor< Cmpt > &st)
 Return the Hodge dual of a SymmTensor as a Vector.
template<class Cmpt>
SymmTensor< Cmpt > operator/ (const SymmTensor< Cmpt > &st, const Cmpt s)
 Division of a SymmTensor by a Cmpt.
template<class Cmpt>
Tensor< Cmpt > operator& (const SymmTensor< Cmpt > &st1, const SymmTensor< Cmpt > &st2)
 Inner-product of a SymmTensor and a SymmTensor.
template<class Cmpt>
SymmTensor< Cmpt > operator& (const SphericalTensor< Cmpt > &spt1, const SymmTensor< Cmpt > &st2)
 Inner-product of a SphericalTensor and a SymmTensor.
template<class Cmpt>
SymmTensor< Cmpt > operator& (const SymmTensor< Cmpt > &st1, const SphericalTensor< Cmpt > &spt2)
 Inner-product of a SymmTensor and a SphericalTensor.
template<class Cmpt>
Vector< Cmpt > operator& (const SymmTensor< Cmpt > &st, const Vector< Cmpt > &v)
 Inner-product of a SymmTensor and a Vector.
template<class Cmpt>
Vector< Cmpt > operator& (const Vector< Cmpt > &v, const SymmTensor< Cmpt > &st)
 Inner-product of a Vector and a SymmTensor.
template<class Cmpt>
Cmpt operator&& (const SymmTensor< Cmpt > &st1, const SymmTensor< Cmpt > &st2)
 Double-inner-product of a SymmTensor and a SymmTensor.
template<class Cmpt>
Cmpt operator&& (const SphericalTensor< Cmpt > &spt1, const SymmTensor< Cmpt > &st2)
 Double-inner-product of a SphericalTensor and a SymmTensor.
template<class Cmpt>
Cmpt operator&& (const SymmTensor< Cmpt > &st1, const SphericalTensor< Cmpt > &spt2)
 Double-inner-product of a SymmTensor and a SphericalTensor.

Detailed Description

Original source file SymmTensorI.H

Definition in file SymmTensorI.H.