Templated 3D SphericalTensor derived from VectorSpace adding construction from 1 component, element access using th ii() member function and the inner-product (dot-product) and outer-product operators. More...
#include <OpenFOAM/SphericalTensor_.H>
Templated 3D SphericalTensor derived from VectorSpace adding construction from 1 component, element access using th ii() member function and the inner-product (dot-product) and outer-product operators.
Definition at line 52 of file SphericalTensor_.H.
Public Types | |
enum | { rank = 2 } |
enum | components { II } |
Component labeling enumeration. More... | |
typedef SphericalTensor< label > | labelType |
Equivalent type of labels used for valid component indexing.
| |
Public Member Functions | |
SphericalTensor () | |
Construct null.
| |
SphericalTensor (const VectorSpace< SphericalTensor< Cmpt >, Cmpt, 1 > &) | |
Construct given VectorSpace.
| |
SphericalTensor (const Cmpt &tii) | |
Construct given the component.
| |
SphericalTensor (Istream &) | |
Construct from Istream.
| |
const Cmpt & | ii () const |
Cmpt & | ii () |
const SphericalTensor< Cmpt > & | T () const |
Transpose.
| |
Static Public Attributes | |
static const char *const | typeName = "labelSphericalTensor" |
static const char * | componentNames [] = {"ii"} |
static const SphericalTensor | zero |
static const SphericalTensor | one |
static const SphericalTensor | max |
static const SphericalTensor | min |
static const SphericalTensor | I |
static const SphericalTensor | oneThirdI |
static const SphericalTensor | twoThirdsI |
typedef SphericalTensor<label> labelType |
Equivalent type of labels used for valid component indexing.
Definition at line 60 of file SphericalTensor_.H.
anonymous enum |
Definition at line 65 of file SphericalTensor_.H.
enum components |
SphericalTensor | ( | ) | [inline]
|
Construct null.
Definition at line 37 of file SphericalTensorI_.H.
SphericalTensor | ( | const VectorSpace< SphericalTensor< Cmpt >, Cmpt, 1 > & | vs ) | [inline]
|
Construct given VectorSpace.
Definition at line 44 of file SphericalTensorI_.H.
SphericalTensor | ( | const Cmpt & | tii ) | [inline]
|
Construct given the component.
Definition at line 54 of file SphericalTensorI_.H.
SphericalTensor | ( | Istream & | is ) | [inline]
|
Construct from Istream.
Definition at line 62 of file SphericalTensorI_.H.
const Cmpt & ii | ( | ) | const [inline]
|
Definition at line 71 of file SphericalTensorI_.H.
Referenced by Foam::det(), Foam::inv(), Foam::magSqr(), Foam::operator&(), Foam::operator&&(), Foam::operator+(), Foam::operator-(), Foam::operator/(), Tensor< Cmpt >::operator=(), SymmTensor< Cmpt >::operator=(), Random::sphericalTensor01(), SymmTensor< Cmpt >::SymmTensor(), Tensor< Cmpt >::Tensor(), and Foam::tr().
Cmpt & ii | ( | ) | [inline]
|
Definition at line 78 of file SphericalTensorI_.H.
const SphericalTensor< Cmpt > & T | ( | ) | const [inline]
|
Transpose.
Definition at line 85 of file SphericalTensorI_.H.
const char *const typeName = "labelSphericalTensor" [static]
|
Definition at line 73 of file SphericalTensor_.H.
const char * componentNames = {"ii"} [static]
|
Definition at line 74 of file SphericalTensor_.H.
const sphericalTensor zero [static]
|
Definition at line 75 of file SphericalTensor_.H.
const sphericalTensor one [static]
|
Definition at line 76 of file SphericalTensor_.H.
const sphericalTensor max [static]
|
Definition at line 77 of file SphericalTensor_.H.
const sphericalTensor min [static]
|
Definition at line 78 of file SphericalTensor_.H.
const sphericalTensor I [static]
|
Definition at line 79 of file SphericalTensor_.H.
Referenced by coordinateRotation::operator=().
const sphericalTensor oneThirdI [static]
|
Definition at line 80 of file SphericalTensor_.H.
const sphericalTensor twoThirdsI [static]
|
Definition at line 81 of file SphericalTensor_.H.