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

floatScalar.H File Reference


Detailed Description

Definition in file floatScalar.H.

#include "src/OpenFOAM/primitives/Scalar/doubleFloat.H"
#include "src/OpenFOAM/primitives/direction/direction.H"
#include "src/OpenFOAM/primitives/strings/word/word.H"
#include "src/OpenFOAM/primitives/Scalar/Scalar_.H"
Include dependency graph for floatScalar.H:

Go to the source code of this file.

Namespaces

namespace  Foam
 

Namespace for OpenFOAM.


Defines

#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

Scalar  mag (const Scalar s)
Scalar  hypot (const Scalar x, const Scalar y)
Scalar  atan2 (const Scalar y, const Scalar x)
Scalar  jn (const int n, const Scalar s)
Scalar  yn (const int n, const Scalar 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

Define 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.