|
|
|
Tensor< Cmpt > Class Template ReferenceTemplated 3D tensor derived from VectorSpace adding construction from 9 components, element access using xx(), xy() etc. member functions and the inner-product (dot-product) and outer-product of two Vectors (tensor-product) operators. More...
Inheritance diagram for Tensor< Cmpt >:
![]()
Collaboration diagram for Tensor< Cmpt >:
![]()
Detailed Descriptiontemplate<class Cmpt>
Templated 3D tensor derived from VectorSpace adding construction from 9 components, element access using xx(), xy() etc. member functions and the inner-product (dot-product) and outer-product of two Vectors (tensor-product) operators.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| enum components |
| Tensor | ( | const VectorSpace< Tensor< Cmpt >, Cmpt, 9 > & | vs | ) | [inline] |
| Tensor | ( | const SphericalTensor< Cmpt > & | st | ) | [inline] |
| Tensor | ( | const SymmTensor< Cmpt > & | st | ) | [inline] |
Construct given SymmTensor.
Definition at line 51 of file TensorI.H.
References SphericalTensor< Cmpt >::ii(), VectorSpace< Tensor< Cmpt >, Cmpt, 9 >::v_, Tensor< Cmpt >::XX, Tensor< Cmpt >::XY, Tensor< Cmpt >::XZ, Tensor< Cmpt >::YX, Tensor< Cmpt >::YY, Tensor< Cmpt >::YZ, Tensor< Cmpt >::ZX, Tensor< Cmpt >::ZY, and Tensor< Cmpt >::ZZ.

| Tensor | ( | const Cmpt | txx, | |
| const Cmpt | txy, | |||
| const Cmpt | txz, | |||
| const Cmpt | tyx, | |||
| const Cmpt | tyy, | |||
| const Cmpt | tyz, | |||
| const Cmpt | tzx, | |||
| const Cmpt | tzy, | |||
| const Cmpt | tzz | |||
| ) | [inline] |
Construct from Istream.
Definition at line 76 of file TensorI.H.
References VectorSpace< Tensor< Cmpt >, Cmpt, 9 >::v_, Tensor< Cmpt >::XX, Tensor< Cmpt >::XY, Tensor< Cmpt >::XZ, Tensor< Cmpt >::YX, Tensor< Cmpt >::YY, Tensor< Cmpt >::YZ, Tensor< Cmpt >::ZX, Tensor< Cmpt >::ZY, and Tensor< Cmpt >::ZZ.
| const Vector< Cmpt > & y | ( | ) | const [inline] |
Definition at line 91 of file TensorI.H.
References VectorSpace< Tensor< Cmpt >, Cmpt, 9 >::v_, and Tensor< Cmpt >::XX.
| Vector< Cmpt > & x | ( | ) | [inline] |
Definition at line 104 of file TensorI.H.
References VectorSpace< Tensor< Cmpt >, Cmpt, 9 >::v_, and Tensor< Cmpt >::ZX.
| Vector< Cmpt > & y | ( | ) | [inline] |
Definition at line 110 of file TensorI.H.
References VectorSpace< Tensor< Cmpt >, Cmpt, 9 >::v_, and Tensor< Cmpt >::XX.
| const Cmpt & xx | ( | ) | const [inline] |
Definition at line 123 of file TensorI.H.
References VectorSpace< Tensor< Cmpt >, Cmpt, 9 >::v_, and Tensor< Cmpt >::ZX.
Referenced by Foam::operator&&(), and Foam::sph().

| const Cmpt & xy | ( | ) | const [inline] |
Definition at line 129 of file TensorI.H.
References VectorSpace< Tensor< Cmpt >, Cmpt, 9 >::v_, and Tensor< Cmpt >::XX.
Referenced by Foam::operator*().

| const Cmpt & xz | ( | ) | const [inline] |
Definition at line 135 of file TensorI.H.
Referenced by Foam::operator*().

| const Cmpt & yx | ( | ) | const [inline] |
Definition at line 142 of file TensorI.H.
References VectorSpace< Tensor< Cmpt >, Cmpt, 9 >::v_, and Tensor< Cmpt >::XZ.
| const Cmpt & yy | ( | ) | const [inline] |
Definition at line 148 of file TensorI.H.
References VectorSpace< Tensor< Cmpt >, Cmpt, 9 >::v_, and Tensor< Cmpt >::YX.
Referenced by Foam::operator&&(), and Foam::sph().

| const Cmpt & yz | ( | ) | const [inline] |
Definition at line 154 of file TensorI.H.
Referenced by Foam::operator*().

| const Cmpt & zx | ( | ) | const [inline] |
Definition at line 161 of file TensorI.H.
References VectorSpace< Tensor< Cmpt >, Cmpt, 9 >::v_, and Tensor< Cmpt >::YZ.
| const Cmpt & zy | ( | ) | const [inline] |
Definition at line 167 of file TensorI.H.
References VectorSpace< Tensor< Cmpt >, Cmpt, 9 >::v_, and Tensor< Cmpt >::ZX.
| const Cmpt & zz | ( | ) | const [inline] |
Definition at line 173 of file TensorI.H.
Referenced by Foam::operator&&(), and Foam::sph().

| Cmpt & xx | ( | ) | [inline] |
Definition at line 180 of file TensorI.H.
References VectorSpace< Tensor< Cmpt >, Cmpt, 9 >::v_, and Tensor< Cmpt >::ZZ.
| Cmpt & xy | ( | ) | [inline] |
Definition at line 186 of file TensorI.H.
References VectorSpace< Tensor< Cmpt >, Cmpt, 9 >::v_, and Tensor< Cmpt >::XX.
| Cmpt & yx | ( | ) | [inline] |
Definition at line 199 of file TensorI.H.
References VectorSpace< Tensor< Cmpt >, Cmpt, 9 >::v_, and Tensor< Cmpt >::XZ.
| Cmpt & yy | ( | ) | [inline] |
Definition at line 205 of file TensorI.H.
References VectorSpace< Tensor< Cmpt >, Cmpt, 9 >::v_, and Tensor< Cmpt >::YX.
| Cmpt & zx | ( | ) | [inline] |
Definition at line 218 of file TensorI.H.
References VectorSpace< Tensor< Cmpt >, Cmpt, 9 >::v_, and Tensor< Cmpt >::YZ.
| Cmpt & zy | ( | ) | [inline] |
Definition at line 224 of file TensorI.H.
References VectorSpace< Tensor< Cmpt >, Cmpt, 9 >::v_, and Tensor< Cmpt >::ZX.
| Tensor< Cmpt > T | ( | ) | const [inline] |
Transpose.
Return tensor transpose.
Definition at line 238 of file TensorI.H.
References VectorSpace< Tensor< Cmpt >, Cmpt, 9 >::v_, and Tensor< Cmpt >::ZZ.
| void operator= | ( | const SphericalTensor< Cmpt > & | st | ) | [inline] |
| void operator= | ( | const SymmTensor< Cmpt > & | st | ) | [inline] |
Assign to a SymmTensor.
Definition at line 261 of file TensorI.H.
References SphericalTensor< Cmpt >::ii(), VectorSpace< Tensor< Cmpt >, Cmpt, 9 >::v_, Tensor< Cmpt >::XX, Tensor< Cmpt >::XY, Tensor< Cmpt >::XZ, Tensor< Cmpt >::YX, Tensor< Cmpt >::YY, Tensor< Cmpt >::YZ, Tensor< Cmpt >::ZX, Tensor< Cmpt >::ZY, and Tensor< Cmpt >::ZZ.

const char* componentNames[] [static] |