|
|
|
Tensor Class Template ReferenceInheritance diagram for Tensor:![]() ![]() Detailed Descriptiontemplate<class Cmpt>
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Types | |
| enum | { rank = 2 } |
| enum | components { XX, XY, XZ, YX, YY, YZ, ZX, ZY, ZZ } |
| Component labeling enumeration. More... | |
| typedef Tensor< label > | labelType |
| Equivalent type of labels used for valid component indexing. | |
Public Member Functions | |
| Tensor () | |
| Construct null. | |
| Tensor (const VectorSpace< Tensor< Cmpt >, Cmpt, 9 > &) | |
| Construct given VectorSpace. | |
| Tensor (const SphericalTensor< Cmpt > &) | |
| Construct given SphericalTensor. | |
| Tensor (const SymmTensor< Cmpt > &) | |
| Construct given SymmTensor. | |
| 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) | |
| Construct from components. | |
| Tensor (Istream &) | |
| Construct from Istream. | |
| const Vector< Cmpt > & | x () const |
| const Vector< Cmpt > & | y () const |
| const Vector< Cmpt > & | z () const |
| Vector< Cmpt > & | x () |
| Vector< Cmpt > & | y () |
| Vector< Cmpt > & | z () |
| const Cmpt & | xx () const |
| const Cmpt & | xy () const |
| const Cmpt & | xz () const |
| const Cmpt & | yx () const |
| const Cmpt & | yy () const |
| const Cmpt & | yz () const |
| const Cmpt & | zx () const |
| const Cmpt & | zy () const |
| const Cmpt & | zz () const |
| Cmpt & | xx () |
| Cmpt & | xy () |
| Cmpt & | xz () |
| Cmpt & | yx () |
| Cmpt & | yy () |
| Cmpt & | yz () |
| Cmpt & | zx () |
| Cmpt & | zy () |
| Cmpt & | zz () |
| Tensor< Cmpt > | T () const |
| Return tensor transpose. | |
| void | operator= (const SphericalTensor< Cmpt > &) |
| Assign to a SphericalTensor. | |
| void | operator= (const SymmTensor< Cmpt > &) |
| Assign to a SymmTensor. | |
Static Public Attributes | |
| static const char *const | typeName |
| static const char * | componentNames [] |
| static const Tensor | zero |
| static const Tensor | one |
| enum components |
| Tensor | ( | const VectorSpace< Tensor< Cmpt >, Cmpt, 9 > & | ) | [inline] |
Construct given VectorSpace.
Definition at line 47 of file TensorI.H.
References SphericalTensor::ii(), VectorSpace::v_, Tensor::XX, Tensor::XY, Tensor::XZ, Tensor::YX, Tensor::YY, Tensor::YZ, Tensor::ZX, Tensor::ZY, and Tensor::ZZ.
Here is the call graph for this function:

| Tensor | ( | const SphericalTensor< Cmpt > & | ) | [inline] |
| Tensor | ( | const SymmTensor< Cmpt > & | ) | [inline] |
| 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 components.
Definition at line 76 of file TensorI.H.
References VectorSpace::v_, Tensor::XX, Tensor::XY, Tensor::XZ, Tensor::YX, Tensor::YY, Tensor::YZ, Tensor::ZX, Tensor::ZY, and Tensor::ZZ.
Construct from Istream.
Definition at line 90 of file TensorI.H.
References VectorSpace::v_, and Tensor::XX.
| const Vector< Cmpt > & x | ( | ) | const [inline] |
| const Vector< Cmpt > & y | ( | ) | const [inline] |
| const Vector< Cmpt > & z | ( | ) | const [inline] |
| Vector< Cmpt > & x | ( | ) | [inline] |
| Vector< Cmpt > & y | ( | ) | [inline] |
| Vector< Cmpt > & z | ( | ) | [inline] |
| const Cmpt & xx | ( | ) | const [inline] |
Definition at line 137 of file TensorI.H.
References VectorSpace::v_, and Tensor::XY.
Referenced by Foam::dev2(), Foam::inv(), Foam::invariantIII(), Foam::operator &&(), Foam::sph(), Tensor::zz(), and DiagTensor::zz().
Here is the caller graph for this function:

| const Cmpt & xy | ( | ) | const [inline] |
Definition at line 143 of file TensorI.H.
References VectorSpace::v_, and Tensor::XZ.
Referenced by Foam::dev2(), Foam::invariantIII(), Foam::sph(), and DiagTensor::zz().
Here is the caller graph for this function:

| const Cmpt & xz | ( | ) | const [inline] |
Definition at line 149 of file TensorI.H.
References VectorSpace::v_, and Tensor::YX.
Referenced by Foam::invariantIII(), Foam::sph(), and DiagTensor::zz().
Here is the caller graph for this function:

| const Cmpt & yx | ( | ) | const [inline] |
Definition at line 156 of file TensorI.H.
References VectorSpace::v_, and Tensor::YY.
Referenced by Foam::sph(), and Tensor::zz().
Here is the caller graph for this function:

| const Cmpt & yy | ( | ) | const [inline] |
Definition at line 162 of file TensorI.H.
References VectorSpace::v_, and Tensor::YZ.
Referenced by Foam::dev2(), Foam::inv(), and Foam::operator &&().
Here is the caller graph for this function:

| const Cmpt & yz | ( | ) | const [inline] |
Definition at line 168 of file TensorI.H.
References VectorSpace::v_, and Tensor::ZX.
Referenced by Foam::dev2().
Here is the caller graph for this function:

| const Cmpt & zx | ( | ) | const [inline] |
Definition at line 175 of file TensorI.H.
References VectorSpace::v_, and Tensor::ZY.
Referenced by Foam::dev2(), Foam::sph(), and Tensor::zz().
Here is the caller graph for this function:

| const Cmpt & zy | ( | ) | const [inline] |
| const Cmpt & zz | ( | ) | const [inline] |
Definition at line 187 of file TensorI.H.
References VectorSpace::v_, and Tensor::XX.
Referenced by Foam::dev2(), Foam::inv(), and Foam::operator &&().
Here is the caller graph for this function:

| Cmpt & xx | ( | ) | [inline] |
| Cmpt & xy | ( | ) | [inline] |
| Cmpt & xz | ( | ) | [inline] |
| Cmpt & yx | ( | ) | [inline] |
| Cmpt & yy | ( | ) | [inline] |
| Cmpt & yz | ( | ) | [inline] |
| Cmpt & zx | ( | ) | [inline] |
| Cmpt & zy | ( | ) | [inline] |
| Cmpt & zz | ( | ) | [inline] |
Definition at line 244 of file TensorI.H.
References Tensor::xx(), Tensor::yx(), and Tensor::zx().
Here is the call graph for this function:

| Tensor< Cmpt > T | ( | ) | const [inline] |
| void operator= | ( | const SphericalTensor< Cmpt > & | ) | [inline] |
| void operator= | ( | const SymmTensor< Cmpt > & | ) | [inline] |
const char* componentNames[] [static] |