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
doubleScalar jn(const int n, const doubleScalar s)
static const doubleScalar doubleScalarVGREAT
dimensionedScalar yn(const int n, const dimensionedScalar &ds)
static const doubleScalar doubleScalarGREAT
doubleScalar yn(const int n, const doubleScalar s)
static const doubleScalar doubleScalarROOTSMALL
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))
dimensionedScalar jn(const int n, const dimensionedScalar &ds)
double doubleScalar
Double precision floating point scalar type.
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
static const doubleScalar doubleScalarROOTVSMALL
static const doubleScalar doubleScalarROOTVGREAT
static const doubleScalar doubleScalarVSMALL
dimensionedScalar atan2(const dimensionedScalar &x, const dimensionedScalar &y)
doubleScalar atan2(const doubleScalar y, const doubleScalar x)
doubleScalar hypot(const doubleScalar x, const doubleScalar y)
Direction is an 8-bit unsigned integer type used to represent the Cartesian directions etc...
static const doubleScalar doubleScalarSMALL
dimensioned< scalar > mag(const dimensioned< Type > &)
dimensionedScalar hypot(const dimensionedScalar &x, const dimensionedScalar &y)