![]() |
|
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 DiagTensorI.H.
Go to the source code of this file.
Namespaces | |
namespace | Foam |
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> | |
DiagTensor< Cmpt > | operator & (const DiagTensor< Cmpt > &dt1, const Tensor< Cmpt > &t2) |
Inner-product between a diagonal tensor and a tensor. | |
template<class Cmpt> | |
DiagTensor< 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> | |
scalar | tr (const DiagTensor< Cmpt > &dt) |
Return the trace of a diagonal tensor. | |
template<class Cmpt> | |
scalar | 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. |
|
Return the determinant of a diagonal tensor.
Definition at line 278 of file DiagTensorI.H. References DiagTensor::xx(), DiagTensor::yy(), and DiagTensor::zz(). |
Here is the call graph for this function:
|
Return the diagonal of a tensor as a diagonal tensor.
Definition at line 294 of file DiagTensorI.H. |
|
Return the inverse of a symmetric tensor.
Definition at line 286 of file DiagTensorI.H. References Tensor::xx(), Tensor::yy(), and Tensor::zz(). |
Here is the call graph for this function:
|
Inner-product between a vector and a diagonal tensor.
Definition at line 248 of file DiagTensorI.H. |
|
Inner-product between a diagonal tensor and a vector.
Definition at line 234 of file DiagTensorI.H. |
|
Inner-product between a tensor and a diagonal tensor.
Definition at line 212 of file DiagTensorI.H. |
|
Inner-product between a diagonal tensor and a tensor.
Definition at line 190 of file DiagTensorI.H. |
|
Inner-product between two diagonal tensors.
Definition at line 176 of file DiagTensorI.H. |
|
Definition at line 136 of file DiagTensorI.H. |
|
Definition at line 123 of file DiagTensorI.H. |
|
Definition at line 162 of file DiagTensorI.H. |
|
Definition at line 149 of file DiagTensorI.H. |
|
Division of a scalar by a diagonalTensor.
Definition at line 262 of file DiagTensorI.H. References DiagTensor::xx(), DiagTensor::yy(), and DiagTensor::zz(). |
Here is the call graph for this function:
|
Return the trace of a diagonal tensor.
Definition at line 270 of file DiagTensorI.H. References DiagTensor::xx(), DiagTensor::yy(), and DiagTensor::zz(). |
Here is the call graph for this function: