|
|
|
DiagTensor Class Template ReferenceInheritance diagram for DiagTensor:![]() ![]() Detailed Descriptiontemplate<class Cmpt>
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Types | |
| enum | { rank = 2 } |
| enum | components { XX, YY, ZZ } |
| Component labeling enumeration. More... | |
Public Member Functions | |
| DiagTensor () | |
| Construct null. | |
| DiagTensor (const VectorSpace< DiagTensor< Cmpt >, Cmpt, 3 > &) | |
| Construct given VectorSpace. | |
| DiagTensor (const Cmpt &txx, const Cmpt &tyy, const Cmpt &tzz) | |
| Construct given three components. | |
| DiagTensor (Istream &) | |
| Construct from Istream. | |
| const Cmpt & | xx () const |
| const Cmpt & | yy () const |
| const Cmpt & | zz () const |
| Cmpt & | xx () |
| Cmpt & | yy () |
| Cmpt & | zz () |
Static Public Attributes | |
| static const char *const | typeName |
| static const char * | componentNames [] |
| static const DiagTensor | zero |
| static const DiagTensor | one |
| anonymous enum |
| enum components |
| DiagTensor | ( | ) | [inline] |
| DiagTensor | ( | const VectorSpace< DiagTensor< Cmpt >, Cmpt, 3 > & | ) | [inline] |
| DiagTensor | ( | const Cmpt & | txx, | |
| const Cmpt & | tyy, | |||
| const Cmpt & | tzz | |||
| ) | [inline] |
Construct given three components.
Definition at line 61 of file DiagTensorI.H.
References VectorSpace::v_, DiagTensor::XX, DiagTensor::YY, and DiagTensor::ZZ.
| DiagTensor | ( | Istream & | ) | [inline] |
Construct from Istream.
Definition at line 75 of file DiagTensorI.H.
References VectorSpace::v_, and DiagTensor::XX.
| const Cmpt & xx | ( | ) | const [inline] |
Definition at line 84 of file DiagTensorI.H.
References VectorSpace::v_, and DiagTensor::YY.
Referenced by Foam::det(), Foam::operator/(), Foam::sph(), and DiagTensor::zz().
Here is the caller graph for this function:

| const Cmpt & yy | ( | ) | const [inline] |
Definition at line 90 of file DiagTensorI.H.
References VectorSpace::v_, and DiagTensor::ZZ.
Referenced by Foam::det(), Foam::operator/(), and Foam::sph().
Here is the caller graph for this function:

| const Cmpt & zz | ( | ) | const [inline] |
Definition at line 96 of file DiagTensorI.H.
References VectorSpace::v_, and DiagTensor::XX.
Referenced by Foam::det(), Foam::operator/(), and Foam::sph().
Here is the caller graph for this function:

| Cmpt & xx | ( | ) | [inline] |
| Cmpt & yy | ( | ) | [inline] |
| Cmpt & zz | ( | ) | [inline] |
Definition at line 115 of file DiagTensorI.H.
References Tensor::xx(), DiagTensor::xx(), Tensor::xy(), and Tensor::xz().
Here is the call graph for this function:

const char* const typeName [static] |
Definition at line 77 of file DiagTensor.H.
const char* componentNames[] [static] |
Definition at line 78 of file DiagTensor.H.
const DiagTensor zero [static] |
Definition at line 79 of file DiagTensor.H.
const DiagTensor one [static] |
Definition at line 80 of file DiagTensor.H.