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

pTraits< Scalar > Class Template Reference

#include <src/OpenFOAM/primitives/Scalar/Scalar_.H>


Detailed Description

template<>
class pTraits< Scalar >

Definition at line 38 of file Scalar_.H.

List of all members.

Public Types

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

Public Member Functions

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

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

Member Typedef Documentation

typedef Scalar cmptType

Component type.

Definition at line 45 of file Scalar_.H.


Member Enumeration Documentation

anonymous enum
Enumerator:
dim 
rank 
nComponents 

Definition at line 49 of file Scalar_.H.


Constructor & Destructor Documentation

pTraits ( const Scalar   s  ) [inline]

Construct from Scalar.

Definition at line 70 of file Scalar_.H.

pTraits ( Istream &    )

Construct from Istream.


Member Function Documentation

operator Scalar (  ) const [inline]

Definition at line 81 of file Scalar_.H.

operator Scalar & (  ) [inline]

Definition at line 86 of file Scalar_.H.


Member Data Documentation

const char* const typeName [static]

Definition at line 59 of file Scalar_.H.

const char* componentNames[] [static]

Definition at line 60 of file Scalar_.H.

const Scalar zero [static]

Definition at line 61 of file Scalar_.H.

const Scalar one [static]

Definition at line 62 of file Scalar_.H.

const Scalar max [static]

Definition at line 63 of file Scalar_.H.

const Scalar min [static]

Definition at line 64 of file Scalar_.H.


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