A templated (2 x 2) diagonal tensor of objects of <T>, effectively containing 1 element, derived from VectorSpace. More...
Public Types | |
enum | components { II } |
typedef SphericalTensor2D< label > | labelType |
![]() | |
typedef VectorSpace< Form, Cmpt, Ncmpts > | vsType |
typedef Cmpt | cmptType |
typedef Cmpt | magType |
typedef Cmpt * | iterator |
Public Member Functions | |
SphericalTensor2D ()=default | |
SphericalTensor2D (const SphericalTensor2D &)=default | |
SphericalTensor2D & | operator= (const SphericalTensor2D &)=default |
SphericalTensor2D (const Foam::zero) | |
SphericalTensor2D (const VectorSpace< SphericalTensor2D< Cmpt >, Cmpt, 1 > &) | |
SphericalTensor2D (const Cmpt &tii) | |
SphericalTensor2D (Istream &is) | |
const Cmpt & | ii () const |
Cmpt & | ii () |
![]() | |
VectorSpace ()=default | |
VectorSpace (const Foam::zero) | |
VectorSpace (const VectorSpace< Form, Cmpt, Ncmpts > &vs) | |
VectorSpace (const VectorSpace< Form2, Cmpt2, Ncmpts > &) | |
VectorSpace (Istream &is) | |
const Cmpt & | component (const direction) const |
Cmpt & | component (const direction) |
void | component (Cmpt &, const direction) const |
void | replace (const direction, const Cmpt &) |
const Cmpt * | cdata () const noexcept |
Cmpt * | data () noexcept |
const ConstBlock< SubVector, BStart > | block () const |
const Foam::VectorSpace< Form, Cmpt, Ncmpts >::template ConstBlock< SubVector, BStart > | block () const |
const Cmpt & | operator[] (const direction) const |
Cmpt & | operator[] (const direction) |
void | operator= (const VectorSpace< Form, Cmpt, Ncmpts > &) |
void | operator= (const Foam::zero) |
void | operator+= (const VectorSpace< Form, Cmpt, Ncmpts > &) |
void | operator-= (const VectorSpace< Form, Cmpt, Ncmpts > &) |
void | operator*= (const scalar) |
void | operator/= (const scalar) |
iterator | begin () noexcept |
const_iterator | begin () const noexcept |
iterator | end () noexcept |
const_iterator | end () const noexcept |
const_iterator | cbegin () const noexcept |
const_iterator | cend () const noexcept |
Static Public Attributes | |
static constexpr direction | rank = 2 |
static const SphericalTensor2D | I |
static const SphericalTensor2D | oneThirdI |
static const SphericalTensor2D | twoThirdsI |
![]() | |
static constexpr direction | dim |
static constexpr direction | nComponents |
static constexpr direction | mRows |
static constexpr direction | nCols |
static const char *const | typeName |
static const char *const | componentNames [] |
static const Form | zero |
static const Form | one |
static const Form | max |
static const Form | min |
static const Form | rootMax |
static const Form | rootMin |
Additional Inherited Members | |
![]() | |
static constexpr direction | size () noexcept |
static Form | uniform (const Cmpt &s) |
![]() | |
const typedef Cmpt * | const_iterator |
Cmpt | v_ [Ncmpts] |
A templated (2 x 2) diagonal tensor of objects of <T>, effectively containing 1 element, derived from VectorSpace.
Definition at line 53 of file SphericalTensor2D.H.
typedef SphericalTensor2D<label> labelType |
Definition at line 62 of file SphericalTensor2D.H.
enum components |
Enumerator | |
---|---|
II |
Definition at line 79 of file SphericalTensor2D.H.
|
default |
|
default |
|
inline |
Definition at line 27 of file SphericalTensor2DI.H.
|
inline |
Definition at line 35 of file SphericalTensor2DI.H.
|
inlineexplicit |
Definition at line 44 of file SphericalTensor2DI.H.
|
inlineexplicit |
Definition at line 51 of file SphericalTensor2DI.H.
|
default |
|
inline |
Definition at line 60 of file SphericalTensor2DI.H.
Referenced by Foam::det(), Foam::inv(), Foam::operator&(), Foam::operator&&(), Foam::operator+(), Foam::operator-(), Foam::operator/(), Tensor2D< Cmpt >::operator=(), SymmTensor2D< Cmpt >::SymmTensor2D(), Tensor2D< Cmpt >::Tensor2D(), and Foam::tr().
|
inline |
|
staticconstexpr |
Definition at line 68 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.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.