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

DiagTensorI.H File Reference


Detailed Description

View DiagTensorI.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 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>
Tensor< Cmpt > operator & (const DiagTensor< Cmpt > &dt1, const Tensor< Cmpt > &t2)
 Inner-product between a diagonal tensor and a tensor.
template<class Cmpt>
Tensor< 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>
Cmpt tr (const DiagTensor< Cmpt > &dt)
 Return the trace of a diagonal tensor.
template<class Cmpt>
SphericalTensor< Cmpt > sph (const DiagTensor< Cmpt > &dt)
 Return the spherical part of a diagonal tensor.
template<class Cmpt>
Cmpt 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.
Copyright © 2000-2007 OpenCFD Ltd