OpenFOAM logo
Open Source CFD Toolkit

SphericalTensorI.H File Reference


Detailed Description

View SphericalTensorI.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 SphericalTensorI.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  outerProduct< SphericalTensor< Cmpt >, Cmpt >
class  outerProduct< Cmpt, SphericalTensor< Cmpt > >
class  innerProduct< SphericalTensor< Cmpt >, SphericalTensor< Cmpt > >
class  innerProduct< SphericalTensor< Cmpt >, Tensor< Cmpt > >
class  innerProduct< Tensor< Cmpt >, SphericalTensor< Cmpt > >
class  innerProduct< SphericalTensor< Cmpt >, Vector< Cmpt > >
class  innerProduct< Vector< Cmpt >, SphericalTensor< Cmpt > >

Functions

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>
SphericalTensor< Cmpt > operator & (const SphericalTensor< Cmpt > &st1, const SphericalTensor< Cmpt > &st2)
 Inner-product between two spherical tensors.
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>
Vector< Cmpt > operator & (const SphericalTensor< Cmpt > &st, const Vector< Cmpt > &v)
 Inner-product between a spherical tensor and a vector.
template<class Cmpt>
Vector< Cmpt > operator & (const Vector< Cmpt > &v, const SphericalTensor< Cmpt > &st)
 Inner-product between a vector and a spherical tensor.
template<class Cmpt>
SphericalTensor< Cmpt > operator/ (const scalar s, const SphericalTensor< Cmpt > &st)
 Division of a scalar by a sphericalTensor.
template<class Cmpt>
scalar tr (const SphericalTensor< Cmpt > &st)
 Return the trace of a spherical tensor.
template<class Cmpt>
scalar det (const SphericalTensor< Cmpt > &st)
 Return the determinant of a spherical tensor.
template<class Cmpt>
SphericalTensor< Cmpt > inv (const SphericalTensor< Cmpt > &st)
 Return the inverse 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.


Function Documentation

scalar det const SphericalTensor< Cmpt > &  st  )  [inline]
 

Return the determinant of a spherical tensor.

Definition at line 242 of file SphericalTensorI.H.

References SphericalTensor::ii().

Here is the call graph for this function:

Tensor<Cmpt> dev const Tensor< Cmpt > &  t  )  [inline]
 

Return the deviatoric part of a tensor.

Definition at line 258 of file SphericalTensorI.H.

References Foam::tr().

Here is the call graph for this function:

Tensor<Cmpt> dev2 const Tensor< Cmpt > &  t  )  [inline]
 

Return the deviatoric part of a tensor.

Definition at line 266 of file SphericalTensorI.H.

SphericalTensor<Cmpt> inv const SphericalTensor< Cmpt > &  st  )  [inline]
 

Return the inverse of a symmetric tensor.

Definition at line 250 of file SphericalTensorI.H.

References Foam::tr().

Here is the call graph for this function:

Vector<Cmpt> operator & const Vector< Cmpt > &  v,
const SphericalTensor< Cmpt > &  st
[inline]
 

Inner-product between a vector and a spherical tensor.

Definition at line 212 of file SphericalTensorI.H.

Vector<Cmpt> operator & const SphericalTensor< Cmpt > &  st,
const Vector< Cmpt > &  v
[inline]
 

Inner-product between a spherical tensor and a vector.

Definition at line 198 of file SphericalTensorI.H.

Tensor<Cmpt> operator & const Tensor< Cmpt > &  t1,
const SphericalTensor< Cmpt > &  st2
[inline]
 

Inner-product between a tensor and a spherical tensor.

Definition at line 176 of file SphericalTensorI.H.

Tensor<Cmpt> operator & const SphericalTensor< Cmpt > &  st1,
const Tensor< Cmpt > &  t2
[inline]
 

Inner-product between a spherical tensor and a tensor.

Definition at line 154 of file SphericalTensorI.H.

SphericalTensor<Cmpt> operator & const SphericalTensor< Cmpt > &  st1,
const SphericalTensor< Cmpt > &  st2
[inline]
 

Inner-product between two spherical tensors.

Definition at line 145 of file SphericalTensorI.H.

References SphericalTensor::ii(), and Tensor::xx().

Here is the call graph for this function:

Tensor<Cmpt> operator+ const Tensor< Cmpt > &  t1,
const SphericalTensor< Cmpt > &  st2
[inline]
 

Definition at line 105 of file SphericalTensorI.H.

Tensor<Cmpt> operator+ const SphericalTensor< Cmpt > &  st1,
const Tensor< Cmpt > &  t2
[inline]
 

Definition at line 92 of file SphericalTensorI.H.

Tensor<Cmpt> operator- const Tensor< Cmpt > &  t1,
const SphericalTensor< Cmpt > &  st2
[inline]
 

Definition at line 131 of file SphericalTensorI.H.

Tensor<Cmpt> operator- const SphericalTensor< Cmpt > &  st1,
const Tensor< Cmpt > &  t2
[inline]
 

Definition at line 118 of file SphericalTensorI.H.

SphericalTensor<Cmpt> operator/ const scalar  s,
const SphericalTensor< Cmpt > &  st
[inline]
 

Division of a scalar by a sphericalTensor.

Definition at line 226 of file SphericalTensorI.H.

References SphericalTensor::ii().

Here is the call graph for this function:

scalar tr const SphericalTensor< Cmpt > &  st  )  [inline]
 

Return the trace of a spherical tensor.

Definition at line 234 of file SphericalTensorI.H.

References SphericalTensor::ii().

Here is the call graph for this function:

For further information go to www.openfoam.org