Templated 2D sphericalTensor derived from VectorSpace adding construction from 1 component, element access using 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... | |
![]() | |
enum | |
typedef Cmpt | cmptType |
Component type. More... | |
Public Member Functions | |
SphericalTensor2D () | |
Construct null. More... | |
SphericalTensor2D (const VectorSpace< SphericalTensor2D< Cmpt >, Cmpt, 1 > &) | |
Construct given VectorSpace. More... | |
SphericalTensor2D (const Cmpt &tii) | |
Construct given the component. More... | |
SphericalTensor2D (Istream &) | |
Construct from Istream. More... | |
const Cmpt & | ii () const |
Cmpt & | ii () |
![]() | |
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 = "sphericalTensor2D" |
static const char * | componentNames [] = {"ii"} |
static const SphericalTensor2D | zero |
static const SphericalTensor2D | one |
static const SphericalTensor2D | max |
static const SphericalTensor2D | min |
static const SphericalTensor2D | I |
static const SphericalTensor2D | oneThirdI |
static const SphericalTensor2D | twoThirdsI |
Additional Inherited Members | |
![]() | |
Cmpt | v_ [nCmpt] |
The components of this vector space. More... | |
Templated 2D sphericalTensor derived from VectorSpace adding construction from 1 component, element access using ii() member function and the inner-product (dot-product) and outer-product operators.
Definition at line 51 of file SphericalTensor2D.H.
anonymous enum |
Enumerator | |
---|---|
rank |
Definition at line 60 of file SphericalTensor2D.H.
enum components |
|
inline |
Construct null.
Definition at line 37 of file SphericalTensor2DI.H.
|
inline |
Construct given VectorSpace.
Definition at line 44 of file SphericalTensor2DI.H.
|
inline |
Construct given the component.
Definition at line 54 of file SphericalTensor2DI.H.
|
inline |
Construct from Istream.
Definition at line 62 of file SphericalTensor2DI.H.
|
inline |
Definition at line 71 of file SphericalTensor2DI.H.
Referenced by Foam::det(), Foam::inv(), Foam::operator&(), Foam::operator&&(), Foam::operator+(), Foam::operator-(), Foam::operator/(), SymmTensor2D< Cmpt >::operator=(), Tensor2D< Cmpt >::operator=(), SymmTensor2D< Cmpt >::SymmTensor2D(), Tensor2D< Cmpt >::Tensor2D(), and Foam::tr().
|
inline |
|
static |
Definition at line 68 of file SphericalTensor2D.H.
|
static |
Definition at line 69 of file SphericalTensor2D.H.
|
static |
Definition at line 70 of file SphericalTensor2D.H.
|
static |
Definition at line 71 of file SphericalTensor2D.H.
|
static |
Definition at line 72 of file SphericalTensor2D.H.
|
static |
Definition at line 73 of file SphericalTensor2D.H.
|
static |
Definition at line 74 of file SphericalTensor2D.H.
|
static |
Definition at line 75 of file SphericalTensor2D.H.
|
static |
Definition at line 76 of file SphericalTensor2D.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.