FreeFOAM The Cross-Platform CFD Toolkit
floatScalar.H File Reference

Detailed Description

Definition in file floatScalar.H.

+ Include dependency graph for floatScalar.H:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Foam
 Namespace for OpenFOAM.

Macros

#define Scalar   floatScalar
#define ScalarVGREAT   floatScalarVGREAT
#define ScalarVSMALL   floatScalarVSMALL
#define readScalar   readFloatScalar
#define transFunc(func)

Typedefs

typedef float floatScalar
 Float precision floating point scalar type.

Functions

floatScalar mag (const floatScalar s)
floatScalar hypot (const floatScalar x, const floatScalar y)
floatScalar atan2 (const floatScalar y, const floatScalar x)
floatScalar jn (const int n, const floatScalar s)
floatScalar yn (const int n, const floatScalar s)

Variables

static const floatScalar floatScalarGREAT = 1.0e+6
static const floatScalar floatScalarVGREAT = 1.0e+37
static const floatScalar floatScalarROOTVGREAT = 1.0e+18
static const floatScalar floatScalarSMALL = 1.0e-6
static const floatScalar floatScalarVSMALL = 1.0e-37
static const floatScalar floatScalarROOTVSMALL = 1.0e-18

Macro Definition Documentation

#define Scalar   floatScalar

Definition at line 61 of file floatScalar.H.

#define ScalarVGREAT   floatScalarVGREAT

Definition at line 62 of file floatScalar.H.

#define ScalarVSMALL   floatScalarVSMALL

Definition at line 63 of file floatScalar.H.

#define readScalar   readFloatScalar

Definition at line 64 of file floatScalar.H.

#define transFunc (   func)
Value:
inline Scalar func(const Scalar s) \
{ \
return ::func##f(s); \
}

Definition at line 71 of file floatScalar.H.