Go to the documentation of this file.
38 #ifndef doubleScalar_H
39 #define doubleScalar_H
66 #define Scalar doubleScalar
67 #define ScalarVGREAT doubleScalarVGREAT
68 #define ScalarVSMALL doubleScalarVSMALL
69 #define ScalarROOTVGREAT doubleScalarROOTVGREAT
70 #define ScalarROOTVSMALL doubleScalarROOTVSMALL
71 #define ScalarRead readDouble
91 #define transFunc(func) \
92 inline Scalar func(const Scalar s) \
99 #ifdef Foam_no_besselFunc
101 #define besselFunc(func) \
102 inline Scalar func(const Scalar s) \
104 std::cerr<< "No '" << #func << "' function\n"; \
107 #define besselFunc2(func) \
108 inline Scalar func(const int n, const Scalar s) \
110 std::cerr<< "No '" << #func << "' function\n"; \
113 #elif defined(__MINGW32__)
115 #define besselFunc(func) \
116 inline Scalar func(const Scalar s) \
120 #define besselFunc2(func) \
121 inline Scalar func(const int n, const Scalar s) \
123 return _##func(n, s); \
126 #define besselFunc(func) \
127 inline Scalar func(const Scalar s) \
131 #define besselFunc2(func) \
132 inline Scalar func(const int n, const Scalar s) \
134 return ::func(n, s); \
150 #undef ScalarROOTVGREAT
151 #undef ScalarROOTVSMALL
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 the Cartesian directions etc.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
doubleScalar atan2(const doubleScalar y, const doubleScalar x)
constexpr doubleScalar doubleScalarROOTVSMALL
constexpr doubleScalar doubleScalarGREAT