A templated (3 x 3) diagonal tensor of objects of <T>, effectively containing 1 element, derived from VectorSpace. More...
Public Types | |
enum | components { II } |
typedef SphericalTensor< label > | labelType |
![]() | |
typedef VectorSpace< Form, Cmpt, Ncmpts > | vsType |
typedef Cmpt | cmptType |
typedef Cmpt | magType |
typedef Cmpt * | iterator |
Public Member Functions | |
SphericalTensor ()=default | |
SphericalTensor (const SphericalTensor &)=default | |
SphericalTensor & | operator= (const SphericalTensor &)=default |
SphericalTensor (const Foam::zero) | |
template<class Cmpt2 > | |
SphericalTensor (const VectorSpace< SphericalTensor< Cmpt2 >, Cmpt2, 1 > &) | |
SphericalTensor (const Cmpt &tii) | |
SphericalTensor (Istream &is) | |
const Cmpt & | ii () const |
Cmpt & | ii () |
const SphericalTensor< Cmpt > & | T () const |
![]() | |
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 SphericalTensor | I |
static const SphericalTensor | oneThirdI |
static const SphericalTensor | 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 (3 x 3) diagonal tensor of objects of <T>, effectively containing 1 element, derived from VectorSpace.
Definition at line 53 of file SphericalTensor.H.
typedef SphericalTensor<label> labelType |
Definition at line 62 of file SphericalTensor.H.
enum components |
Enumerator | |
---|---|
II |
Definition at line 79 of file SphericalTensor.H.
|
default |
|
default |
|
inline |
Definition at line 27 of file SphericalTensorI.H.
|
inline |
Definition at line 36 of file SphericalTensorI.H.
|
inlineexplicit |
Definition at line 45 of file SphericalTensorI.H.
|
inlineexplicit |
Definition at line 52 of file SphericalTensorI.H.
|
default |
|
inline |
Definition at line 61 of file SphericalTensorI.H.
Referenced by Foam::cmptAv(), Foam::cmptMax(), Foam::cmptMin(), Foam::cmptSum(), Foam::det(), Foam::inv(), Foam::magSqr(), Foam::operator&(), Foam::operator&&(), Foam::operator+(), Foam::operator-(), Foam::operator/(), SymmTensor< scalar >::operator=(), Tensor< scalar >::operator=(), SymmTensor< scalar >::SymmTensor(), Tensor< scalar >::Tensor(), and Foam::tr().
|
inline |
|
inline |
Definition at line 76 of file SphericalTensorI.H.
|
staticconstexpr |
Definition at line 68 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.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.