FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

SphericalTensor2D< Cmpt > Class Template Reference

Templated 2D sphericalTensor derived from VectorSpace adding construction from 1 component, element access using ii() member function and the inner-product (dot-product) and outer-product operators. More...

#include <OpenFOAM/SphericalTensor2D_.H>


Detailed Description

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

Templated 2D sphericalTensor derived from VectorSpace adding construction from 1 component, element access using ii() member function and the inner-product (dot-product) and outer-product operators.

Source files

Definition at line 52 of file SphericalTensor2D_.H.

Inheritance diagram for SphericalTensor2D< Cmpt >:
Collaboration diagram for SphericalTensor2D< Cmpt >:

List of all members.

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 = "sphericalTensor2D"
static const char *  componentNames [] = {"ii"}
static const SphericalTensor2D  zero
static const SphericalTensor2D  one
static const SphericalTensor2D  max
static const SphericalTensor2D  min
static const SphericalTensor2D  I
static const SphericalTensor2D  oneThirdI
static const SphericalTensor2D  twoThirdsI

Member Enumeration Documentation

anonymous enum
Enumerator:
rank 

Definition at line 61 of file SphericalTensor2D_.H.

enum components

Component labeling enumeration.

Enumerator:
II 

Definition at line 81 of file SphericalTensor2D_.H.


Constructor & Destructor Documentation

SphericalTensor2D (  ) [inline]

Construct null.

Definition at line 37 of file SphericalTensor2DI_.H.

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

Construct given VectorSpace.

Definition at line 44 of file SphericalTensor2DI_.H.

SphericalTensor2D ( const Cmpt &   tii  ) [inline]

Construct given the component.

Definition at line 54 of file SphericalTensor2DI_.H.

SphericalTensor2D ( Istream &   is  ) [inline]

Construct from Istream.

Definition at line 62 of file SphericalTensor2DI_.H.


Member Function Documentation

Cmpt & ii (  ) [inline]

Definition at line 78 of file SphericalTensor2DI_.H.


Member Data Documentation

const char *const typeName = "sphericalTensor2D" [static]

Definition at line 69 of file SphericalTensor2D_.H.

const char * componentNames = {"ii"} [static]

Definition at line 70 of file SphericalTensor2D_.H.

const sphericalTensor2D zero [static]

Definition at line 71 of file SphericalTensor2D_.H.

const sphericalTensor2D one [static]

Definition at line 72 of file SphericalTensor2D_.H.

const sphericalTensor2D max [static]

Definition at line 73 of file SphericalTensor2D_.H.

const sphericalTensor2D min [static]

Definition at line 74 of file SphericalTensor2D_.H.

const sphericalTensor2D I [static]

Definition at line 75 of file SphericalTensor2D_.H.

const sphericalTensor2D oneThirdI [static]

Definition at line 76 of file SphericalTensor2D_.H.

const sphericalTensor2D twoThirdsI [static]

Definition at line 77 of file SphericalTensor2D_.H.


The documentation for this class was generated from the following files: