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

SphericalTensor2D Class Template Reference

Inheritance diagram for SphericalTensor2D:

Inheritance graph
[legend]
Collaboration diagram for SphericalTensor2D:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class Cmpt>
class Foam::SphericalTensor2D< Cmpt >

Definition at line 60 of file SphericalTensor2D.H.


Public Types

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

Public Member Functions

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

Static Public Attributes

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

Member Enumeration Documentation

anonymous enum

Enumerator:
rank 

Definition at line 69 of file SphericalTensor2D.H.

enum components

Component labeling enumeration.

Enumerator:
II 

Definition at line 87 of file SphericalTensor2D.H.


Constructor & Destructor Documentation

SphericalTensor2D (  )  [inline]

Construct null.

Definition at line 43 of file SphericalTensor2DI.H.

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

Construct given VectorSpace.

Definition at line 50 of file SphericalTensor2DI.H.

SphericalTensor2D ( const Cmpt &  tii  )  [inline]

Construct given the component.

Definition at line 60 of file SphericalTensor2DI.H.

SphericalTensor2D ( Istream &   )  [inline]

Construct from Istream.

Definition at line 68 of file SphericalTensor2DI.H.

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


Member Function Documentation

const Cmpt & ii (  )  const [inline]

Definition at line 77 of file SphericalTensor2DI.H.

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

Referenced by Foam::det(), Foam::invariantIII(), Foam::operator &&(), Foam::operator/(), Foam::sph(), and Tensor2D::Tensor2D().

Here is the caller graph for this function:

Cmpt & ii (  )  [inline]

Definition at line 84 of file SphericalTensor2DI.H.


Member Data Documentation

const char* const typeName [static]

Definition at line 77 of file SphericalTensor2D.H.

const char* componentNames[] [static]

Definition at line 78 of file SphericalTensor2D.H.

const SphericalTensor2D zero [static]

Definition at line 79 of file SphericalTensor2D.H.

const SphericalTensor2D one [static]

Definition at line 80 of file SphericalTensor2D.H.

const SphericalTensor2D I [static]

Definition at line 81 of file SphericalTensor2D.H.

const SphericalTensor2D oneThirdI [static]

Definition at line 82 of file SphericalTensor2D.H.

const SphericalTensor2D twoThirdsI [static]

Definition at line 83 of file SphericalTensor2D.H.


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