|
|
|
SymmTensor< Cmpt > Class Template ReferenceTemplated 3D symmetric tensor derived from VectorSpace adding construction from 6 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 SymmTensor< Cmpt >:
![]()
Collaboration diagram for SymmTensor< Cmpt >:
![]()
Detailed Descriptiontemplate<class Cmpt>
Templated 3D symmetric tensor derived from VectorSpace adding construction from 6 components, element access using xx(), xy() etc. member functions and the inner-product (dot-product) and outer-product of two Vectors (tensor-product) operators.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| typedef SymmTensor<label> labelType |
Equivalent type of labels used for valid component indexing.
Definition at line 57 of file SymmTensor.H.
| anonymous enum |
| enum components |
| SymmTensor | ( | ) | [inline] |
| SymmTensor | ( | const VectorSpace< SymmTensor< Cmpt >, Cmpt, 6 > & | vs | ) | [inline] |
| SymmTensor | ( | const SphericalTensor< Cmpt > & | st | ) | [inline] |
| SymmTensor | ( | const Cmpt | txx, | |
| const Cmpt | txy, | |||
| const Cmpt | txz, | |||
| const Cmpt | tyy, | |||
| const Cmpt | tyz, | |||
| const Cmpt | tzz | |||
| ) | [inline] |
Construct given the six components.
Definition at line 53 of file SymmTensorI.H.
References SphericalTensor< Cmpt >::ii(), VectorSpace< SymmTensor< Cmpt >, Cmpt, 6 >::v_, SymmTensor< Cmpt >::XX, SymmTensor< Cmpt >::XY, SymmTensor< Cmpt >::XZ, SymmTensor< Cmpt >::YY, SymmTensor< Cmpt >::YZ, and SymmTensor< Cmpt >::ZZ.

| SymmTensor | ( | Istream & | is | ) | [inline] |
Construct from Istream.
Definition at line 66 of file SymmTensorI.H.
References VectorSpace< SymmTensor< Cmpt >, Cmpt, 6 >::v_, SymmTensor< Cmpt >::XX, SymmTensor< Cmpt >::XY, SymmTensor< Cmpt >::XZ, SymmTensor< Cmpt >::YY, SymmTensor< Cmpt >::YZ, and SymmTensor< Cmpt >::ZZ.
| const Cmpt & xx | ( | ) | const [inline] |
Definition at line 75 of file SymmTensorI.H.
Referenced by Foam::operator&&(), Foam::sph(), and Foam::sqr().

| const Cmpt & xy | ( | ) | const [inline] |
Definition at line 81 of file SymmTensorI.H.
References VectorSpace< SymmTensor< Cmpt >, Cmpt, 6 >::v_, and SymmTensor< Cmpt >::XX.
Referenced by Foam::operator&().

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

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

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

| const Cmpt & zz | ( | ) | const [inline] |
Definition at line 105 of file SymmTensorI.H.
Referenced by Foam::operator&&(), Foam::sph(), and Foam::sqr().

| Cmpt & xx | ( | ) | [inline] |
Definition at line 112 of file SymmTensorI.H.
References VectorSpace< SymmTensor< Cmpt >, Cmpt, 6 >::v_, and SymmTensor< Cmpt >::ZZ.
| Cmpt & xy | ( | ) | [inline] |
Definition at line 118 of file SymmTensorI.H.
References VectorSpace< SymmTensor< Cmpt >, Cmpt, 6 >::v_, and SymmTensor< Cmpt >::XX.
| Cmpt & xz | ( | ) | [inline] |
Definition at line 124 of file SymmTensorI.H.
| Cmpt & yy | ( | ) | [inline] |
Definition at line 130 of file SymmTensorI.H.
| Cmpt & yz | ( | ) | [inline] |
Definition at line 136 of file SymmTensorI.H.
| Cmpt & zz | ( | ) | [inline] |
Definition at line 142 of file SymmTensorI.H.
| const SymmTensor< Cmpt > & T | ( | ) | const [inline] |
Transpose.
Definition at line 149 of file SymmTensorI.H.
References VectorSpace< SymmTensor< Cmpt >, Cmpt, 6 >::v_, and SymmTensor< Cmpt >::ZZ.
| void operator= | ( | const SphericalTensor< Cmpt > & | st | ) | [inline] |
const char* const typeName [static] |
Definition at line 70 of file SymmTensor.H.
const char* componentNames[] [static] |
Definition at line 71 of file SymmTensor.H.
const SymmTensor zero [static] |
Definition at line 73 of file SymmTensor.H.
const SymmTensor one [static] |
Definition at line 74 of file SymmTensor.H.
const SymmTensor max [static] |
Definition at line 75 of file SymmTensor.H.
const SymmTensor min [static] |
Definition at line 76 of file SymmTensor.H.