Namespaces | Functions
DiagTensorI.H File Reference
Include dependency graph for DiagTensorI.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

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

Detailed Description

Original source file DiagTensorI.H

Definition in file DiagTensorI.H.