OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

SphericalTensor Class Template Reference

Inheritance diagram for SphericalTensor:

Inheritance graph
[legend]
Collaboration diagram for SphericalTensor:

Collaboration graph
[legend]
List of all members.

Detailed Description

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

Definition at line 60 of file SphericalTensor.H.


Public Types

enum  { rank = 2 }
enum  components { II }
 Component labeling enumeration. More...
typedef SphericalTensor< label > labelType
 Equivalent type of labels used for valid component indexing.

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 ()
const SphericalTensor< Cmpt > & T () const
 Transpose.

Static Public Attributes

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

Member Typedef Documentation

Equivalent type of labels used for valid component indexing.

Definition at line 68 of file SphericalTensor.H.


Member Enumeration Documentation

anonymous enum

Enumerator:
rank 

Definition at line 73 of file SphericalTensor.H.

enum components

Component labeling enumeration.

Enumerator:
II 

Definition at line 91 of file SphericalTensor.H.


Constructor & Destructor Documentation

SphericalTensor (  )  [inline]

Construct null.

Definition at line 43 of file SphericalTensorI.H.

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

Construct given VectorSpace.

Definition at line 50 of file SphericalTensorI.H.

SphericalTensor ( const Cmpt &  tii  )  [inline]

Construct given the component.

Definition at line 60 of file SphericalTensorI.H.

SphericalTensor ( Istream &   )  [inline]

Construct from Istream.

Definition at line 68 of file SphericalTensorI.H.

References SphericalTensor::II, and VectorSpace::v_.


Member Function Documentation

const Cmpt & ii (  )  const [inline]

Cmpt & ii (  )  [inline]

Definition at line 84 of file SphericalTensorI.H.

const SphericalTensor< Cmpt > & T (  )  const [inline]

Transpose.

Definition at line 91 of file SphericalTensorI.H.

References SphericalTensor::ii().

Here is the call graph for this function:


Member Data Documentation

const char* const typeName [static]

Definition at line 81 of file SphericalTensor.H.

const char* componentNames[] [static]

Definition at line 82 of file SphericalTensor.H.

const SphericalTensor zero [static]

Definition at line 83 of file SphericalTensor.H.

const SphericalTensor one [static]

Definition at line 84 of file SphericalTensor.H.

const SphericalTensor I [static]

Definition at line 85 of file SphericalTensor.H.

const SphericalTensor oneThirdI [static]

Definition at line 86 of file SphericalTensor.H.

const SphericalTensor twoThirdsI [static]

Definition at line 87 of file SphericalTensor.H.


The documentation for this class was generated from the following files: Copyright © 2000-2007 OpenCFD Ltd