Namespaces | Macros | Typedefs | Functions | Variables
floatScalar.H File Reference
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

 Foam
 Namespace for OpenFOAM.
 

Macros

#define Scalar   floatScalar
 
#define ScalarVGREAT   floatScalarVGREAT
 
#define ScalarVSMALL   floatScalarVSMALL
 
#define ScalarROOTVGREAT   floatScalarROOTVGREAT
 
#define ScalarROOTVSMALL   floatScalarROOTVSMALL
 
#define readScalar   readFloatScalar
 
#define transFunc(func)
 

Typedefs

typedef float floatScalar
 Float precision floating point scalar type. More...
 

Functions

bool readScalar (const char *buf, floatScalar &s)
 Read whole of buf as a scalar. Return true if succesful. More...
 
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 floatScalarROOTSMALL = 1.0e-3
 
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.

Macro Definition Documentation

#define Scalar   floatScalar

Definition at line 71 of file floatScalar.H.

#define ScalarVGREAT   floatScalarVGREAT

Definition at line 72 of file floatScalar.H.

#define ScalarVSMALL   floatScalarVSMALL

Definition at line 73 of file floatScalar.H.

#define ScalarROOTVGREAT   floatScalarROOTVGREAT

Definition at line 74 of file floatScalar.H.

#define ScalarROOTVSMALL   floatScalarROOTVSMALL

Definition at line 75 of file floatScalar.H.

#define readScalar   readFloatScalar

Definition at line 76 of file floatScalar.H.

#define transFunc (   func)
Value:
inline Scalar func(const Scalar s) \
{ \
}
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
void func(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
#define Scalar
Definition: floatScalar.H:71
labelList f(nPoints)

Definition at line 83 of file floatScalar.H.