Go to the documentation of this file.
38 #ifndef doubleScalar_H
39 #define doubleScalar_H
67 #define Scalar doubleScalar
68 #define ScalarVGREAT doubleScalarVGREAT
69 #define ScalarVSMALL doubleScalarVSMALL
70 #define ScalarROOTVGREAT doubleScalarROOTVGREAT
71 #define ScalarROOTVSMALL doubleScalarROOTVSMALL
72 #define ScalarRead readDouble
92 #define transFunc(func) \
93 inline Scalar func(const Scalar s) \
100 #ifdef Foam_no_besselFunc
102 #define besselFunc(func) \
103 inline Scalar func(const Scalar s) \
105 std::cerr<< "No '" << #func << "' function\n"; \
108 #define besselFunc2(func) \
109 inline Scalar func(const int n, const Scalar s) \
111 std::cerr<< "No '" << #func << "' function\n"; \
114 #elif defined(__MINGW32__)
116 #define besselFunc(func) \
117 inline Scalar func(const Scalar s) \
121 #define besselFunc2(func) \
122 inline Scalar func(const int n, const Scalar s) \
124 return _##func(n, s); \
127 #define besselFunc(func) \
128 inline Scalar func(const Scalar s) \
132 #define besselFunc2(func) \
133 inline Scalar func(const int n, const Scalar s) \
135 return ::func(n, s); \
151 #undef ScalarROOTVGREAT
152 #undef ScalarROOTVSMALL
constexpr doubleScalar doubleScalarROOTGREAT
double doubleScalar
A typedef for double.
constexpr doubleScalar doubleScalarROOTVGREAT
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))
dimensionedScalar atan2(const dimensionedScalar &x, const dimensionedScalar &y)
constexpr doubleScalar doubleScalarROOTSMALL
constexpr doubleScalar doubleScalarSMALL
doubleScalar hypot(const doubleScalar x, const doubleScalar y)
dimensionedScalar hypot(const dimensionedScalar &x, const dimensionedScalar &y)
constexpr doubleScalar doubleScalarVGREAT
Typedefs for float/double/scalar without requiring scalar.H.
constexpr doubleScalar doubleScalarVSMALL
Direction is an 8-bit unsigned integer type used to represent Cartesian directions,...
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
doubleScalar atan2(const doubleScalar y, const doubleScalar x)
constexpr doubleScalar doubleScalarROOTVSMALL
constexpr doubleScalar doubleScalarGREAT