OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

pTraits< Scalar > Class Template Reference

List of all members.


Public Types

enum  { dim = 3, rank = 0, nComponents = 1 }
typedef Scalar cmptType
 Component type.

Public Member Functions

 pTraits (Istream &)
 Construct from Istream.
 operator Scalar () const

Static Public Attributes

static const char *const typeName
static const char * componentNames []
static const Scalar zero
static const Scalar one
static const Scalar max
static const Scalar min

Detailed Description

template<>
class pTraits< Scalar >

Definition at line 34 of file Scalar.H.


Member Typedef Documentation

typedef Scalar cmptType

Component type.

Definition at line 41 of file Scalar.H.


Member Enumeration Documentation

anonymous enum

Enumerator:
dim 
rank 
nComponents 

Definition at line 45 of file Scalar.H.


Constructor & Destructor Documentation

pTraits ( Istream &   ) 

Construct from Istream.


Member Function Documentation

operator Scalar (  )  const [inline]

Definition at line 69 of file Scalar.H.


Member Data Documentation

const char* const typeName [static]

Definition at line 54 of file Scalar.H.

const char* componentNames[] [static]

Definition at line 55 of file Scalar.H.

const Scalar zero [static]

Definition at line 56 of file Scalar.H.

const Scalar one [static]

Definition at line 57 of file Scalar.H.

const Scalar max [static]

Definition at line 58 of file Scalar.H.

const Scalar min [static]

Definition at line 59 of file Scalar.H.


The documentation for this class was generated from the following file:
  • src/OpenFOAM/primitives/Scalar/Scalar.H
Copyright © 2000-2009 OpenCFD Ltd