38#ifndef Foam_primitives_double_H
39#define Foam_primitives_double_H
68#define Scalar doubleScalar
69#define ScalarVGREAT doubleScalarVGREAT
70#define ScalarVSMALL doubleScalarVSMALL
71#define ScalarROOTVGREAT doubleScalarROOTVGREAT
72#define ScalarROOTVSMALL doubleScalarROOTVSMALL
73#define ScalarRead readDouble
93#define transFunc(func) \
94inline Scalar func(const Scalar s) \
101#ifdef Foam_no_besselFunc
103 #define besselFunc(func) \
104 inline Scalar func(const Scalar s) \
106 std::cerr<< "No '" << #func << "' function\n"; \
109 #define besselFunc2(func) \
110 inline Scalar func(const int n, const Scalar s) \
112 std::cerr<< "No '" << #func << "' function\n"; \
115#elif defined(__MINGW32__)
117 #define besselFunc(func) \
118 inline Scalar func(const Scalar s) \
122 #define besselFunc2(func) \
123 inline Scalar func(const int n, const Scalar s) \
125 return _##func(n, s); \
128 #define besselFunc(func) \
129 inline Scalar func(const Scalar s) \
133 #define besselFunc2(func) \
134 inline Scalar func(const int n, const Scalar s) \
136 return ::func(n, s); \
149#define Foam_use_scalarImpl_header
151#undef Foam_use_scalarImpl_header
156#undef ScalarROOTVGREAT
157#undef ScalarROOTVSMALL
Direction is an 8-bit unsigned integer type used to represent Cartesian directions,...
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.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))
constexpr doubleScalar doubleScalarROOTVGREAT
constexpr doubleScalar doubleScalarROOTSMALL
dimensionedScalar atan2(const dimensionedScalar &x, const dimensionedScalar &y)
double doubleScalar
A typedef for double.
constexpr doubleScalar doubleScalarVGREAT
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
dimensionedScalar hypot(const dimensionedScalar &x, const dimensionedScalar &y)
constexpr doubleScalar doubleScalarGREAT
constexpr doubleScalar doubleScalarROOTGREAT
constexpr doubleScalar doubleScalarVSMALL
constexpr doubleScalar doubleScalarSMALL
constexpr doubleScalar doubleScalarROOTVSMALL
Typedefs for float/double/scalar without requiring scalar.H.