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.


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

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

Detailed Description

Original source file floatScalar.H

Definition in file floatScalar.H.


Define Documentation

#define Scalar   floatScalar

Definition at line 57 of file floatScalar.H.

#define ScalarVGREAT   floatScalarVGREAT

Definition at line 58 of file floatScalar.H.

#define ScalarVSMALL   floatScalarVSMALL

Definition at line 59 of file floatScalar.H.

#define readScalar   readFloatScalar

Definition at line 60 of file floatScalar.H.

#define transFunc ( func   ) 

Value:

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

Definition at line 67 of file floatScalar.H.

Copyright © 2000-2009 OpenCFD Ltd