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>
Detailed Description
template<class Cmpt>
class Foam::SphericalTensor< Cmpt >
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.
- Source files
-
Definition at line 52 of file SphericalTensor_.H.
List of all members.
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.
|
| | VectorSpace () |
| | Construct null.
|
| | VectorSpace (Istream &) |
| | Construct from Istream.
|
| | VectorSpace (const VectorSpace< SphericalTensor< Cmpt >, Cmpt, nCmpt > &) |
| | Construct as copy.
|
| label | size () const |
| | Return the number of elements in the VectorSpace = nCmpt.
|
| 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< SphericalTensor< Cmpt >, Cmpt, nCmpt > &) |
| void | operator+= (const VectorSpace< SphericalTensor< Cmpt >, Cmpt, nCmpt > &) |
| void | operator-= (const VectorSpace< SphericalTensor< Cmpt >, Cmpt, nCmpt > &) |
| void | operator*= (const scalar) |
| void | operator/= (const scalar) |
Additional Inherited Members |
| Cmpt | v_ [nCmpt] |
| | The components of this vector space.
|
Member Typedef Documentation
Equivalent type of labels used for valid component indexing.
Definition at line 60 of file SphericalTensor_.H.
Member Enumeration Documentation
Constructor & Destructor Documentation
Member Function Documentation
| 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/(), SymmTensor< Cmpt >::operator=(), Tensor< Cmpt >::operator=(), Random::sphericalTensor01(), SymmTensor< Cmpt >::SymmTensor(), Tensor< Cmpt >::Tensor(), and Foam::tr().
Member Data Documentation
| const char *const typeName = "labelSphericalTensor" |
|
static |
| const char * componentNames = {"ii"} |
|
static |
The documentation for this class was generated from the following files: