![]() |
|
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 |
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> | |
scalar | tr (const Tensor< Cmpt > &t) |
Return the trace of a tensor. | |
template<class Cmpt> | |
Tensor< Cmpt > | symm (const Tensor< Cmpt > &t) |
Return 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> | |
scalar | 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 symmetric tensor. | |
template<class Cmpt> | |
Tensor< Cmpt > | inv (const Tensor< Cmpt > &t) |
Return the inverse of a symmetric tensor. | |
template<class Cmpt> | |
scalar | invariantI (const Tensor< Cmpt > &t) |
Return the 1st invariant of a tensor. | |
template<class Cmpt> | |
scalar | invariantII (const Tensor< Cmpt > &t) |
Return the 2nd invariant of a tensor. | |
template<class Cmpt> | |
scalar | invariantIII (const Tensor< Cmpt > &t) |
Return the 3rd invariant of a tensor. |
|
Return the cofactor tensor of a symmetric tensor.
|
|
Return the determinant of a tensor.
|
|
Return the inverse of a symmetric tensor.
|
|
Return the 1st invariant of a tensor.
Definition at line 413 of file TensorI.H. References Foam::sqr(), and Foam::tr(). |
Here is the call graph for this function:
|
Return the 2nd invariant of a tensor.
|
|
Return the 3rd invariant of a tensor.
|
|
Inner-product between a vector and a tensor.
|
|
Inner-product between a tensor and a vector.
|
|
Inner-product between two tensors.
|
|
Outer-product between two vectors.
|
|
Hodge Dual operator (vector -> tensor).
|
|
Hodge Dual operator (tensor -> vector).
Definition at line 247 of file TensorI.H. References Vector::y(), and Vector::z(). |
Here is the call graph for this function:
|
Return the skew-symmetric part of a tensor.
|
|
Return the symmetric part of a tensor.
|
|
Return the trace of a tensor.
Definition at line 329 of file TensorI.H. References Tensor::xx(), Tensor::xy(), Tensor::xz(), Tensor::yx(), and Tensor::zx(). |
Here is the call graph for this function: