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

floatScalar.H File Reference

Go to the source code of this file.


Classes

class  pTraits< floatScalar >

Namespaces

namespace  Foam
 Namespace for OpenFOAM.

Defines

#define MAXMINPOW(retType, type1, type2)
#define transFunc(func)

Functions

word name (const floatScalar s)
floatScalar mag (const floatScalar s)
floatScalar sign (const floatScalar s)
floatScalar pos (const floatScalar s)
floatScalar neg (const floatScalar s)
floatScalar limit (const floatScalar s1, const floatScalar s2)
floatScalar magSqr (const floatScalar s)
floatScalar sqr (const floatScalar s)
floatScalar pow3 (const floatScalar s)
floatScalar pow4 (const floatScalar s)
floatScalar cmptAv (const floatScalar s)
floatScalar cmptMag (const floatScalar s)
floatScalar scale (const floatScalar s, const floatScalar d)
floatScalar sqrt (const floatScalar s)
floatScalar exp (const floatScalar s)
floatScalar log (const floatScalar s)
floatScalar log10 (const floatScalar s)
floatScalar sin (const floatScalar s)
floatScalar cos (const floatScalar s)
floatScalar tan (const floatScalar s)
floatScalar asin (const floatScalar s)
floatScalar acos (const floatScalar s)
floatScalar atan (const floatScalar s)
floatScalar sinh (const floatScalar s)
floatScalar cosh (const floatScalar s)
floatScalar tanh (const floatScalar s)
floatScalar asinh (const floatScalar s)
floatScalar acosh (const floatScalar s)
floatScalar atanh (const floatScalar s)
floatScalar erf (const floatScalar s)
floatScalar erfc (const floatScalar s)
floatScalar lgamma (const floatScalar s)
floatScalar j0 (const floatScalar s)
floatScalar j1 (const floatScalar s)
floatScalar y0 (const floatScalar s)
floatScalar y1 (const floatScalar s)
floatScalar stabilise (const floatScalar s, const floatScalar small)
Istream & operator>> (Istream &, floatScalar &)
Ostream & operator<< (Ostream &, const floatScalar)

Detailed Description

Original source file floatScalar.H

Definition in file floatScalar.H.


Define Documentation

#define MAXMINPOW ( retType,
type1,
type2   ) 

Value:

\
MAXMIN(retType, type1, type2)                     \
                                                  \
inline float pow(const type1 s, const type2 e)   \
{                                                 \
    return ::pow(float(s), float(e));           \
}

Definition at line 138 of file floatScalar.H.

#define transFunc ( func   ) 

Value:

inline floatScalar func(const floatScalar s) \
{                                  \
    return ::func(s);              \
}

Definition at line 222 of file floatScalar.H.

Copyright © 2000-2009 OpenCFD Ltd