OpenFOAM logo
Open Source CFD Toolkit

SphericalTensor Class Template Reference

Inheritance diagram for SphericalTensor:

Inheritance graph
[legend]
Collaboration diagram for SphericalTensor:

Collaboration graph
[legend]
List of all members.

template<class Cmpt>
class Foam::SphericalTensor< Cmpt >


Public Types

enum  { rank = 2 }
enum  components { II }
 Component labeling enumeration. More...

Public Member Functions

 SphericalTensor ()
 Construct null.
 SphericalTensor (const VectorSpace< SphericalTensor< Cmpt >, Cmpt, 1 > &)
 Construct given VectorSpace.
 SphericalTensor (const Cmpt &tii)
 Construct given the component.
 SphericalTensor (Istream &)
 Construct from Istream.
const Cmpt & ii () const
Cmpt & ii ()

Static Public Attributes

const char *const typeName
const char * componentNames []
const SphericalTensor zero
const SphericalTensor one
const SphericalTensor I
const SphericalTensor oneThirdI
const SphericalTensor twoThirdsI

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
rank 

Definition at line 69 of file SphericalTensor.H.

enum components
 

Component labeling enumeration.

Enumeration values:
II 

Definition at line 87 of file SphericalTensor.H.


Constructor & Destructor Documentation

SphericalTensor  )  [inline]
 

Construct null.

Definition at line 41 of file SphericalTensorI.H.

SphericalTensor const VectorSpace< SphericalTensor< Cmpt >, Cmpt, 1 > &   )  [inline]
 

Construct given VectorSpace.

Definition at line 48 of file SphericalTensorI.H.

SphericalTensor const Cmpt &  tii  )  [inline]
 

Construct given the component.

Definition at line 58 of file SphericalTensorI.H.

SphericalTensor Istream  )  [inline]
 

Construct from Istream.

Definition at line 66 of file SphericalTensorI.H.


Member Function Documentation

Cmpt & ii  )  [inline]
 

Definition at line 82 of file SphericalTensorI.H.

References SphericalTensor::ii(), Tensor::xx(), Tensor::xy(), and Tensor::xz().

Here is the call graph for this function:

const Cmpt & ii  )  const [inline]
 

Definition at line 75 of file SphericalTensorI.H.

Referenced by Foam::det(), SphericalTensor::ii(), Foam::operator &(), Foam::operator/(), and Foam::tr().


Member Data Documentation

const char* componentNames[] [static]
 

Definition at line 78 of file SphericalTensor.H.

const SphericalTensor I [static]
 

Definition at line 81 of file SphericalTensor.H.

const SphericalTensor one [static]
 

Definition at line 80 of file SphericalTensor.H.

const SphericalTensor oneThirdI [static]
 

Definition at line 82 of file SphericalTensor.H.

const SphericalTensor twoThirdsI [static]
 

Definition at line 83 of file SphericalTensor.H.

const char* const typeName [static]
 

Definition at line 77 of file SphericalTensor.H.

const SphericalTensor zero [static]
 

Definition at line 79 of file SphericalTensor.H.


The documentation for this class was generated from the following files:
For further information go to www.openfoam.org