Go to the documentation of this file.
35 #ifndef doubleScalar_H
36 #define doubleScalar_H
66 s = strtod(buf, &endPtr);
68 return (*endPtr ==
'\0');
71 #define Scalar doubleScalar
72 #define ScalarVGREAT doubleScalarVGREAT
73 #define ScalarVSMALL doubleScalarVSMALL
74 #define ScalarROOTVGREAT doubleScalarROOTVGREAT
75 #define ScalarROOTVSMALL doubleScalarROOTVSMALL
76 #define readScalar readDoubleScalar
83 #define transFunc(func) \
84 inline Scalar func(const Scalar s) \
127 #undef ScalarROOTVGREAT
128 #undef ScalarROOTVSMALL
static const doubleScalar doubleScalarVGREAT
double doubleScalar
Double precision floating point scalar type.
static const doubleScalar doubleScalarROOTVGREAT
dimensionedScalar jn(const int n, const dimensionedScalar &ds)
dimensionedScalar atan2(const dimensionedScalar &x, const dimensionedScalar &y)
static const doubleScalar doubleScalarROOTVSMALL
doubleScalar hypot(const doubleScalar x, const doubleScalar y)
dimensioned< scalar > mag(const dimensioned< Type > &)
static const doubleScalar doubleScalarSMALL
dimensionedScalar hypot(const dimensionedScalar &x, const dimensionedScalar &y)
doubleScalar jn(const int n, const doubleScalar s)
static const doubleScalar doubleScalarGREAT
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))
static const doubleScalar doubleScalarVSMALL
Direction is an integer type used to represent the Cartesian directions etc. Currently it is a typede...
dimensionedScalar yn(const int n, const dimensionedScalar &ds)
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
doubleScalar atan2(const doubleScalar y, const doubleScalar x)
doubleScalar yn(const int n, const doubleScalar s)
static const doubleScalar doubleScalarROOTSMALL