|
|
|
Tensor2D< Cmpt > Class Template ReferenceTemplated 2D tensor derived from VectorSpace adding construction from 4 components, element access using xx(), xy(), yx() and yy() member functions and the iner-product (dot-product) and outer-product of two Vector2Ds (tensor-product) operators. More...
Inheritance diagram for Tensor2D< Cmpt >:
![]()
Collaboration diagram for Tensor2D< Cmpt >:
![]()
Detailed Descriptiontemplate<class Cmpt>
Templated 2D tensor derived from VectorSpace adding construction from 4 components, element access using xx(), xy(), yx() and yy() member functions and the iner-product (dot-product) and outer-product of two Vector2Ds (tensor-product) operators.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| anonymous enum |
| enum components |
| Tensor2D | ( | ) | [inline] |
| Tensor2D | ( | const VectorSpace< Tensor2D< Cmpt >, Cmpt, 4 > & | vs | ) | [inline] |
| Tensor2D | ( | const SphericalTensor2D< Cmpt > & | st | ) | [inline] |
| Tensor2D | ( | const Cmpt | txx, | |
| const Cmpt | txy, | |||
| const Cmpt | tyx, | |||
| const Cmpt | tyy | |||
| ) | [inline] |
Construct given the nine components.
Definition at line 47 of file Tensor2DI.H.
References SphericalTensor2D< Cmpt >::ii(), VectorSpace< Tensor2D< Cmpt >, Cmpt, 4 >::v_, Tensor2D< Cmpt >::XX, Tensor2D< Cmpt >::XY, Tensor2D< Cmpt >::YX, and Tensor2D< Cmpt >::YY.

Construct from Istream.
Definition at line 58 of file Tensor2DI.H.
References VectorSpace< Tensor2D< Cmpt >, Cmpt, 4 >::v_, Tensor2D< Cmpt >::XX, Tensor2D< Cmpt >::XY, Tensor2D< Cmpt >::YX, and Tensor2D< Cmpt >::YY.
| const Vector2D< Cmpt > & x | ( | ) | const [inline] |
Definition at line 67 of file Tensor2DI.H.
| const Vector2D< Cmpt > & y | ( | ) | const [inline] |
Definition at line 73 of file Tensor2DI.H.
References VectorSpace< Tensor2D< Cmpt >, Cmpt, 4 >::v_, and Tensor2D< Cmpt >::XX.
| Vector2D< Cmpt > & x | ( | ) | [inline] |
Definition at line 80 of file Tensor2DI.H.
References VectorSpace< Tensor2D< Cmpt >, Cmpt, 4 >::v_, and Tensor2D< Cmpt >::YX.
| Vector2D< Cmpt > & y | ( | ) | [inline] |
Definition at line 86 of file Tensor2DI.H.
References VectorSpace< Tensor2D< Cmpt >, Cmpt, 4 >::v_, and Tensor2D< Cmpt >::XX.
| const Cmpt & xx | ( | ) | const [inline] |
Definition at line 93 of file Tensor2DI.H.
References VectorSpace< Tensor2D< Cmpt >, Cmpt, 4 >::v_, and Tensor2D< Cmpt >::YX.
Referenced by Foam::cof(), Foam::operator&&(), and Foam::sph().

| const Cmpt & xy | ( | ) | const [inline] |
Definition at line 99 of file Tensor2DI.H.
References VectorSpace< Tensor2D< Cmpt >, Cmpt, 4 >::v_, and Tensor2D< Cmpt >::XX.
Referenced by Foam::cof().

| const Cmpt & yx | ( | ) | const [inline] |
Definition at line 105 of file Tensor2DI.H.
Referenced by Foam::cof().

| const Cmpt & yy | ( | ) | const [inline] |
Definition at line 111 of file Tensor2DI.H.
Referenced by Foam::cof(), Foam::operator&&(), and Foam::sph().

| Cmpt & xx | ( | ) | [inline] |
Definition at line 118 of file Tensor2DI.H.
References VectorSpace< Tensor2D< Cmpt >, Cmpt, 4 >::v_, and Tensor2D< Cmpt >::YY.
| Cmpt & xy | ( | ) | [inline] |
Definition at line 124 of file Tensor2DI.H.
References VectorSpace< Tensor2D< Cmpt >, Cmpt, 4 >::v_, and Tensor2D< Cmpt >::XX.
| Cmpt & yx | ( | ) | [inline] |
Definition at line 130 of file Tensor2DI.H.
| Cmpt & yy | ( | ) | [inline] |
Definition at line 136 of file Tensor2DI.H.
| Tensor2D< Cmpt > T | ( | ) | const [inline] |
Transpose.
Definition at line 143 of file Tensor2DI.H.
References VectorSpace< Tensor2D< Cmpt >, Cmpt, 4 >::v_, and Tensor2D< Cmpt >::YY.
| void operator= | ( | const SphericalTensor2D< Cmpt > & | st | ) | [inline] |
const char* const typeName [static] |
Definition at line 66 of file Tensor2D.H.
const char* componentNames[] [static] |
Definition at line 67 of file Tensor2D.H.
Definition at line 69 of file Tensor2D.H.
Definition at line 70 of file Tensor2D.H.
Definition at line 71 of file Tensor2D.H.
Definition at line 72 of file Tensor2D.H.