OpenFOAM logo
Open Source CFD Toolkit

pTraits< Scalar > Class Template Reference

List of all members.

template<>
class Foam::pTraits< Scalar >


Public Types

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

Public Member Functions

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

Static Public Attributes

const char *const typeName
const char * componentNames []
const Scalar zero
const Scalar one

Member Typedef Documentation

typedef Scalar cmptType
 

Component type.

Definition at line 57 of file Scalar.H.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
dim 
rank 
nComponents 

Definition at line 61 of file Scalar.H.


Member Function Documentation

operator Scalar  )  const [inline]
 

Definition at line 82 of file Scalar.H.

References Scalar.

pTraits Istream is  ) 
 

Construct from Istream.


Member Data Documentation

const char* componentNames[] [static]
 

Definition at line 71 of file Scalar.H.

const Scalar one [static]
 

Definition at line 73 of file Scalar.H.

const char* const typeName [static]
 

Definition at line 70 of file Scalar.H.

const Scalar zero [static]
 

Definition at line 72 of file Scalar.H.


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org