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

pTraits< Scalar > Class Template Reference

List of all members.

Detailed Description

template<>
class pTraits< Scalar >

Definition at line 47 of file Scalar.H.


Public Types

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

Public Member Functions

 pTraits (Istream &is)
 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

Member Typedef Documentation

typedef Scalar cmptType

Component type.

Definition at line 54 of file Scalar.H.


Member Enumeration Documentation

anonymous enum

Enumerator:
dim 
rank 
nComponents 

Definition at line 58 of file Scalar.H.


Constructor & Destructor Documentation

pTraits ( Istream &  is  ) 

Construct from Istream.


Member Function Documentation

operator Scalar (  )  const [inline]

Definition at line 79 of file Scalar.H.


Member Data Documentation

const char* const typeName [static]

Definition at line 67 of file Scalar.H.

const char* componentNames[] [static]

Definition at line 68 of file Scalar.H.

const Scalar zero [static]

Definition at line 69 of file Scalar.H.

const Scalar one [static]

Definition at line 70 of file Scalar.H.


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