Go to the documentation of this file.
38 #ifndef doubleScalar_H
39 #define doubleScalar_H
65 #define Scalar doubleScalar
66 #define ScalarVGREAT doubleScalarVGREAT
67 #define ScalarVSMALL doubleScalarVSMALL
68 #define ScalarROOTVGREAT doubleScalarROOTVGREAT
69 #define ScalarROOTVSMALL doubleScalarROOTVSMALL
70 #define ScalarRead readDouble
90 #define transFunc(func) \
91 inline Scalar func(const Scalar s) \
98 #ifdef Foam_no_besselFunc
100 #define besselFunc(func) \
101 inline Scalar func(const Scalar s) \
103 std::cerr<< "No '" << #func << "' function\n"; \
106 #define besselFunc2(func) \
107 inline Scalar func(const int n, const Scalar s) \
109 std::cerr<< "No '" << #func << "' function\n"; \
112 #elif defined(__MINGW32__)
114 #define besselFunc(func) \
115 inline Scalar func(const Scalar s) \
119 #define besselFunc2(func) \
120 inline Scalar func(const int n, const Scalar s) \
122 return _##func(n, s); \
125 #define besselFunc(func) \
126 inline Scalar func(const Scalar s) \
130 #define besselFunc2(func) \
131 inline Scalar func(const int n, const Scalar s) \
133 return ::func(n, s); \
149 #undef ScalarROOTVGREAT
150 #undef ScalarROOTVSMALL
double doubleScalar
Floating-point double precision scalar type.
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
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