Go to the documentation of this file.
66 s = strtof(buf, &endPtr);
68 return (*endPtr ==
'\0');
71 #define Scalar floatScalar
72 #define ScalarVGREAT floatScalarVGREAT
73 #define ScalarVSMALL floatScalarVSMALL
74 #define ScalarROOTVGREAT floatScalarROOTVGREAT
75 #define ScalarROOTVSMALL floatScalarROOTVSMALL
76 #define readScalar readFloatScalar
83 #define transFunc(func) \
84 inline Scalar func(const Scalar s) \
86 return ::func##f(s); \
106 return ::hypotf(
x,
y);
111 return ::atan2f(
y,
x);
127 #undef ScalarROOTVGREAT
128 #undef ScalarROOTVSMALL
static const floatScalar floatScalarVSMALL
float floatScalar
Float precision floating point scalar type.
dimensionedScalar jn(const int n, const dimensionedScalar &ds)
dimensionedScalar atan2(const dimensionedScalar &x, const dimensionedScalar &y)
dimensioned< scalar > mag(const dimensioned< Type > &)
static const floatScalar floatScalarROOTSMALL
dimensionedScalar hypot(const dimensionedScalar &x, const dimensionedScalar &y)
static const floatScalar floatScalarVGREAT
static const floatScalar floatScalarROOTVSMALL
static const floatScalar floatScalarGREAT
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))
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)
static const floatScalar floatScalarROOTVGREAT
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
static const floatScalar floatScalarSMALL