OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

TensorI.H File Reference


Detailed Description

View TensorI.H
License
This file is part of OpenFOAM.

OpenFOAM is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.

OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with OpenFOAM; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Definition in file TensorI.H.

Go to the source code of this file.


Namespaces

namespace  Foam

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 > >

Functions

template<class Cmpt>
Vector< Cmpt > operator * (const Tensor< Cmpt > &t)
 Hodge Dual operator (tensor -> vector).
template<class Cmpt>
Tensor< Cmpt > operator * (const Vector< Cmpt > &v)
 Hodge Dual operator (vector -> tensor).
template<class Cmpt>
innerProduct< Tensor< Cmpt >,
Tensor< Cmpt > >::type 
operator & (const Tensor< Cmpt > &t1, const Tensor< Cmpt > &t2)
 Inner-product between two tensors.
template<class Cmpt>
innerProduct< Tensor< Cmpt >,
Vector< Cmpt > >::type 
operator & (const Tensor< Cmpt > &t, const Vector< Cmpt > &v)
 Inner-product between a tensor and a vector.
template<class Cmpt>
innerProduct< Vector< Cmpt >,
Tensor< Cmpt > >::type 
operator & (const Vector< Cmpt > &v, const Tensor< Cmpt > &t)
 Inner-product between a vector and a tensor.
template<class Cmpt>
outerProduct< Vector< Cmpt >,
Vector< Cmpt > >::type 
operator * (const Vector< Cmpt > &v1, const Vector< Cmpt > &v2)
 Outer-product between two vectors.
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 the 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 symmetric 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 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 > cofactors (const Tensor< Cmpt > &t)
 Return the cofactor tensor of a tensor.
template<class Cmpt>
Tensor< Cmpt > inv (const Tensor< Cmpt > &t, const Cmpt dett)
 Return the inverse of a tensor give the determinant.
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 > operator+ (const SphericalTensor< Cmpt > &st1, const Tensor< Cmpt > &t2)
template<class Cmpt>
Tensor< Cmpt > operator+ (const Tensor< Cmpt > &t1, const SphericalTensor< Cmpt > &st2)
template<class Cmpt>
Tensor< Cmpt > operator- (const SphericalTensor< Cmpt > &st1, const Tensor< Cmpt > &t2)
template<class Cmpt>
Tensor< Cmpt > operator- (const Tensor< Cmpt > &t1, const SphericalTensor< Cmpt > &st2)
template<class Cmpt>
Tensor< Cmpt > operator & (const SphericalTensor< Cmpt > &st1, const Tensor< Cmpt > &t2)
 Inner-product between a spherical tensor and a tensor.
template<class Cmpt>
Tensor< Cmpt > operator & (const Tensor< Cmpt > &t1, const SphericalTensor< Cmpt > &st2)
 Inner-product between a tensor and a spherical tensor.
template<class Cmpt>
Cmpt operator && (const SphericalTensor< Cmpt > &st1, const Tensor< Cmpt > &t2)
 Double-dot-product between a spherical tensor and a tensor.
template<class Cmpt>
Cmpt operator && (const Tensor< Cmpt > &t1, const SphericalTensor< Cmpt > &st2)
 Double-dot-product between a tensor and a spherical tensor.
template<class Cmpt>
Tensor< Cmpt > operator+ (const SymmTensor< Cmpt > &st1, const Tensor< Cmpt > &t2)
template<class Cmpt>
Tensor< Cmpt > operator+ (const Tensor< Cmpt > &t1, const SymmTensor< Cmpt > &st2)
template<class Cmpt>
Tensor< Cmpt > operator- (const SymmTensor< Cmpt > &st1, const Tensor< Cmpt > &t2)
template<class Cmpt>
Tensor< Cmpt > operator- (const Tensor< Cmpt > &t1, const SymmTensor< Cmpt > &st2)
template<class Cmpt>
Tensor< Cmpt > operator & (const SymmTensor< Cmpt > &st1, const Tensor< Cmpt > &t2)
 Inner-product between a spherical tensor and a tensor.
template<class Cmpt>
Tensor< Cmpt > operator & (const Tensor< Cmpt > &t1, const SymmTensor< Cmpt > &st2)
 Inner-product between a tensor and a spherical tensor.
template<class Cmpt>
Cmpt operator && (const SymmTensor< Cmpt > &st1, const Tensor< Cmpt > &t2)
 Double-dot-product between a spherical tensor and a tensor.
template<class Cmpt>
Cmpt operator && (const Tensor< Cmpt > &t1, const SymmTensor< Cmpt > &st2)
 Double-dot-product between a tensor and a spherical tensor.
Copyright © 2000-2007 OpenCFD Ltd