FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

DiagTensorI_.H File Reference


Detailed Description

Definition in file DiagTensorI_.H.

#include "src/OpenFOAM/primitives/SphericalTensor/SphericalTensor_.H"
Include dependency graph for DiagTensorI_.H:

Go to the source code of this file.

Namespaces

namespace  Foam
 

Namespace for OpenFOAM.


Functions

template<class Cmpt >
Tensor< Cmpt >  operator+ (const DiagTensor< Cmpt > &dt1, const Tensor< Cmpt > &t2)
template<class Cmpt >
Tensor< Cmpt >  operator+ (const Tensor< Cmpt > &t1, const DiagTensor< Cmpt > &dt2)
template<class Cmpt >
Tensor< Cmpt >  operator- (const DiagTensor< Cmpt > &dt1, const Tensor< Cmpt > &t2)
template<class Cmpt >
Tensor< Cmpt >  operator- (const Tensor< Cmpt > &t1, const DiagTensor< Cmpt > &dt2)
template<class Cmpt >
DiagTensor< Cmpt >  operator& (const DiagTensor< Cmpt > &dt1, const DiagTensor< Cmpt > &dt2)
 Inner-product between two diagonal tensors.
template<class Cmpt >
Tensor< Cmpt >  operator& (const DiagTensor< Cmpt > &dt1, const Tensor< Cmpt > &t2)
 Inner-product between a diagonal tensor and a tensor.
template<class Cmpt >
Tensor< Cmpt >  operator& (const Tensor< Cmpt > &t1, const DiagTensor< Cmpt > &dt2)
 Inner-product between a tensor and a diagonal tensor.
template<class Cmpt >
Vector< Cmpt >  operator& (const DiagTensor< Cmpt > &dt, const Vector< Cmpt > &v)
 Inner-product between a diagonal tensor and a vector.
template<class Cmpt >
Vector< Cmpt >  operator& (const Vector< Cmpt > &v, const DiagTensor< Cmpt > &dt)
 Inner-product between a vector and a diagonal tensor.
template<class Cmpt >
DiagTensor< Cmpt >  operator/ (const scalar s, const DiagTensor< Cmpt > &dt)
 Division of a scalar by a diagonalTensor.
template<class Cmpt >
Vector< Cmpt >  operator/ (const Vector< Cmpt > v, const DiagTensor< Cmpt > &dt)
 Division of a vector by a diagonalTensor.
template<class Cmpt >
Cmpt  tr (const DiagTensor< Cmpt > &dt)
 Return the trace of a diagonal tensor.
template<class Cmpt >
SphericalTensor< Cmpt >  sph (const DiagTensor< Cmpt > &dt)
 Return the spherical part of a diagonal tensor.
template<class Cmpt >
Cmpt  det (const DiagTensor< Cmpt > &t)
 Return the determinant of a diagonal tensor.
template<class Cmpt >
DiagTensor< Cmpt >  inv (const DiagTensor< Cmpt > &dt)
 Return the inverse of a symmetric tensor.
template<class Cmpt >
DiagTensor< Cmpt >  diag (const Tensor< Cmpt > &t)
 Return the diagonal of a tensor as a diagonal tensor.