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...
#include <OpenFOAM/SphericalTensor2D_.H>
Detailed Description
template<class Cmpt>
class Foam::SphericalTensor2D< Cmpt >
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.
- Source files
-
Definition at line 52 of file SphericalTensor2D_.H.
List of all members.
Public Member Functions |
| | SphericalTensor2D () |
| | Construct null.
|
| | SphericalTensor2D (const VectorSpace< SphericalTensor2D< Cmpt >, Cmpt, 1 > &) |
| | Construct given VectorSpace.
|
| | SphericalTensor2D (const Cmpt &tii) |
| | Construct given the component.
|
| | SphericalTensor2D (Istream &) |
| | Construct from Istream.
|
| const Cmpt & | ii () const |
| Cmpt & | ii () |
| | VectorSpace () |
| | Construct null.
|
| | VectorSpace (Istream &) |
| | Construct from Istream.
|
| | VectorSpace (const VectorSpace< SphericalTensor2D< 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< SphericalTensor2D< Cmpt >, Cmpt, nCmpt > &) |
| void | operator+= (const VectorSpace< SphericalTensor2D< Cmpt >, Cmpt, nCmpt > &) |
| void | operator-= (const VectorSpace< SphericalTensor2D< Cmpt >, Cmpt, nCmpt > &) |
| void | operator*= (const scalar) |
| void | operator/= (const scalar) |
Additional Inherited Members |
| Cmpt | v_ [nCmpt] |
| | The components of this vector space.
|
Member Enumeration Documentation
Constructor & Destructor Documentation
Member Function Documentation
| const Cmpt & ii |
( |
| ) |
const |
|
inline |
Member Data Documentation
| const char *const typeName = "sphericalTensor2D" |
|
static |
| const char * componentNames = {"ii"} |
|
static |
The documentation for this class was generated from the following files: