Go to the documentation of this file.
67 #define Scalar floatScalar
68 #define ScalarVGREAT floatScalarVGREAT
69 #define ScalarVSMALL floatScalarVSMALL
70 #define ScalarROOTVGREAT floatScalarROOTVGREAT
71 #define ScalarROOTVSMALL floatScalarROOTVSMALL
72 #define ScalarRead readFloat
82 return ::hypotf(
x,
y);
87 return ::atan2f(
y,
x);
91 #define transFunc(func) \
92 inline Scalar func(const Scalar s) \
94 return ::func##f(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(__APPLE__)
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 Scalar(::func(n, double(s))); \
126 #elif defined(__MINGW32__)
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 Scalar(_##func(n, double(s))); \
140 #define besselFunc(func) \
141 inline Scalar func(const Scalar s) \
143 return ::func##f(s); \
145 #define besselFunc2(func) \
146 inline Scalar func(const int n, const Scalar s) \
148 return ::func##f(n, s); \
164 #undef ScalarROOTVGREAT
165 #undef ScalarROOTVSMALL
constexpr floatScalar floatScalarROOTGREAT
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))
float floatScalar
Floating-point single precision scalar type.
dimensionedScalar atan2(const dimensionedScalar &x, const dimensionedScalar &y)
constexpr floatScalar floatScalarVSMALL
dimensionedScalar hypot(const dimensionedScalar &x, const dimensionedScalar &y)
constexpr floatScalar floatScalarGREAT
Typedefs for float/double/scalar without requiring scalar.H.
constexpr floatScalar floatScalarROOTSMALL
Direction is an 8-bit unsigned integer type used to represent Cartesian directions,...
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
constexpr floatScalar floatScalarROOTVGREAT
constexpr floatScalar floatScalarROOTVSMALL
constexpr floatScalar floatScalarSMALL
constexpr floatScalar floatScalarVGREAT