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...
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. More... | |
![]() | |
enum | |
typedef Cmpt | cmptType |
Component type. More... | |
Public Member Functions | |
SphericalTensor () | |
Construct null. More... | |
template<class Cmpt2 > | |
SphericalTensor (const VectorSpace< SphericalTensor< Cmpt2 >, Cmpt2, 1 > &) | |
Construct given VectorSpace. More... | |
SphericalTensor (const Cmpt &tii) | |
Construct given the component. More... | |
SphericalTensor (Istream &) | |
Construct from Istream. More... | |
const Cmpt & | ii () const |
Cmpt & | ii () |
const SphericalTensor< Cmpt > & | T () const |
Transpose. More... | |
![]() | |
VectorSpace () | |
Construct null. More... | |
VectorSpace (Istream &) | |
Construct from Istream. More... | |
VectorSpace (const VectorSpace< Form, Cmpt, nCmpt > &) | |
Construct as copy. More... | |
VectorSpace (const VectorSpace< Form2, Cmpt2, nCmpt > &) | |
Construct as copy of another VectorSpace type of the same rank. More... | |
label | size () const |
Return the number of elements in the VectorSpace = nCmpt. More... | |
const Cmpt & | component (const direction) const |
Cmpt & | component (const direction) |
void | component (Cmpt &, const direction) const |
void | replace (const direction, const Cmpt &) |
const Cmpt & | operator[] (const direction) const |
Cmpt & | operator[] (const direction) |
void | operator= (const VectorSpace< Form, Cmpt, nCmpt > &) |
void | operator+= (const VectorSpace< Form, Cmpt, nCmpt > &) |
void | operator-= (const VectorSpace< Form, Cmpt, nCmpt > &) |
void | operator*= (const scalar) |
void | operator/= (const scalar) |
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 |
Additional Inherited Members | |
![]() | |
Cmpt | v_ [nCmpt] |
The components of this vector space. More... | |
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 51 of file SphericalTensor.H.
typedef SphericalTensor<label> labelType |
Equivalent type of labels used for valid component indexing.
Definition at line 59 of file SphericalTensor.H.
anonymous enum |
Enumerator | |
---|---|
rank |
Definition at line 64 of file SphericalTensor.H.
enum components |
|
inline |
Construct null.
Definition at line 36 of file SphericalTensorI.H.
|
inline |
Construct given VectorSpace.
Definition at line 43 of file SphericalTensorI.H.
|
inline |
Construct given the component.
Definition at line 52 of file SphericalTensorI.H.
|
inline |
Construct from Istream.
Definition at line 59 of file SphericalTensorI.H.
|
inline |
Definition at line 68 of file SphericalTensorI.H.
Referenced by Foam::det(), Foam::inv(), Foam::magSqr(), Foam::operator&(), Foam::operator&&(), Foam::operator+(), Foam::operator-(), Foam::operator/(), SymmTensor< scalar >::operator=(), Random::sphericalTensor01(), SymmTensor< scalar >::SymmTensor(), Tensor< scalar >::Tensor(), and Foam::tr().
|
inline |
|
inline |
Transpose.
Definition at line 82 of file SphericalTensorI.H.
|
static |
Definition at line 72 of file SphericalTensor.H.
|
static |
Definition at line 73 of file SphericalTensor.H.
|
static |
Definition at line 74 of file SphericalTensor.H.
|
static |
Definition at line 75 of file SphericalTensor.H.
Referenced by main().
|
static |
Definition at line 76 of file SphericalTensor.H.
|
static |
Definition at line 77 of file SphericalTensor.H.
|
static |
Definition at line 78 of file SphericalTensor.H.
Referenced by axesRotation::clear(), STARCDCoordinateRotation::clear(), and EulerCoordinateRotation::clear().
|
static |
Definition at line 79 of file SphericalTensor.H.
|
static |
Definition at line 80 of file SphericalTensor.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.