|
|
|
Tensor2D Class Template ReferenceInheritance diagram for Tensor2D:![]() ![]() Detailed Descriptiontemplate<class Cmpt>
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Types | |
| enum | { rank = 2 } |
| enum | components { XX, XY, YX, YY } |
| Component labeling enumeration. More... | |
Public Member Functions | |
| Tensor2D () | |
| Construct null. | |
| Tensor2D (const VectorSpace< Tensor2D< Cmpt >, Cmpt, 4 > &) | |
| Construct given VectorSpace. | |
| Tensor2D (const SphericalTensor2D< Cmpt > &) | |
| Construct given SphericalTensor2D. | |
| Tensor2D (const Cmpt txx, const Cmpt txy, const Cmpt tyx, const Cmpt tyy) | |
| Construct from components. | |
| Tensor2D (Istream &) | |
| Construct from Istream. | |
| const Vector2D< Cmpt > & | x () const |
| const Vector2D< Cmpt > & | y () const |
| Vector2D< Cmpt > & | x () |
| Vector2D< Cmpt > & | y () |
| const Cmpt & | xx () const |
| const Cmpt & | xy () const |
| const Cmpt & | yx () const |
| const Cmpt & | yy () const |
| Cmpt & | xx () |
| Cmpt & | xy () |
| Cmpt & | yx () |
| Cmpt & | yy () |
| Tensor2D< Cmpt > | T () const |
| Return tensor transpose. | |
| void | operator= (const SphericalTensor2D< Cmpt > &) |
| Construct given SphericalTensor2D. | |
Static Public Attributes | |
| static const char *const | typeName |
| static const char * | componentNames [] |
| static const Tensor2D | zero |
| static const Tensor2D | one |
| anonymous enum |
| enum components |
| Tensor2D | ( | ) | [inline] |
| Tensor2D | ( | const VectorSpace< Tensor2D< Cmpt >, Cmpt, 4 > & | ) | [inline] |
Construct given VectorSpace.
Definition at line 47 of file Tensor2DI.H.
References SphericalTensor2D::ii(), VectorSpace::v_, Tensor2D::XX, Tensor2D::XY, Tensor2D::YX, and Tensor2D::YY.
Here is the call graph for this function:

| Tensor2D | ( | const SphericalTensor2D< Cmpt > & | ) | [inline] |
| Tensor2D | ( | const Cmpt | txx, | |
| const Cmpt | txy, | |||
| const Cmpt | tyx, | |||
| const Cmpt | tyy | |||
| ) | [inline] |
Construct from Istream.
Definition at line 77 of file Tensor2DI.H.
References VectorSpace::v_, and Tensor2D::XX.
| const Vector2D< Cmpt > & x | ( | ) | const [inline] |
| const Vector2D< Cmpt > & y | ( | ) | const [inline] |
| Vector2D< Cmpt > & x | ( | ) | [inline] |
| Vector2D< Cmpt > & y | ( | ) | [inline] |
| const Cmpt & xx | ( | ) | const [inline] |
Definition at line 112 of file Tensor2DI.H.
References VectorSpace::v_, and Tensor2D::XY.
Referenced by Foam::dev2(), Foam::invariantIII(), Foam::operator &&(), Tensor2D::operator=(), Foam::sph(), and Tensor2D::yy().
Here is the caller graph for this function:

| const Cmpt & xy | ( | ) | const [inline] |
Definition at line 118 of file Tensor2DI.H.
References VectorSpace::v_, and Tensor2D::YX.
Referenced by Foam::det(), Foam::dev2(), Foam::invariantIII(), Tensor2D::operator=(), and Foam::sph().
Here is the caller graph for this function:

| const Cmpt & yx | ( | ) | const [inline] |
Definition at line 124 of file Tensor2DI.H.
References VectorSpace::v_, and Tensor2D::YY.
Referenced by Foam::dev2(), Tensor2D::operator=(), Foam::sph(), and Tensor2D::yy().
Here is the caller graph for this function:

| const Cmpt & yy | ( | ) | const [inline] |
Definition at line 130 of file Tensor2DI.H.
References VectorSpace::v_, and Tensor2D::XX.
Referenced by Foam::det(), Foam::dev2(), and Foam::operator &&().
Here is the caller graph for this function:

| Cmpt & xx | ( | ) | [inline] |
| Cmpt & xy | ( | ) | [inline] |
| Cmpt & yx | ( | ) | [inline] |
| Cmpt & yy | ( | ) | [inline] |
Definition at line 155 of file Tensor2DI.H.
References Tensor2D::xx(), and Tensor2D::yx().
Here is the call graph for this function:

| Tensor2D< Cmpt > T | ( | ) | const [inline] |
| void operator= | ( | const SphericalTensor2D< Cmpt > & | ) | [inline] |
Construct given SphericalTensor2D.
Definition at line 176 of file Tensor2DI.H.
References Tensor2D::xx(), Tensor2D::xy(), and Tensor2D::yx().
Here is the call graph for this function:

const char* const typeName [static] |
Definition at line 79 of file Tensor2D.H.
const char* componentNames[] [static] |
Definition at line 80 of file Tensor2D.H.
Definition at line 82 of file Tensor2D.H.
Definition at line 83 of file Tensor2D.H.