Go to the documentation of this file.
66 #define Scalar floatScalar
67 #define ScalarVGREAT floatScalarVGREAT
68 #define ScalarVSMALL floatScalarVSMALL
69 #define ScalarROOTVGREAT floatScalarROOTVGREAT
70 #define ScalarROOTVSMALL floatScalarROOTVSMALL
71 #define ScalarRead readFloat
81 return ::hypotf(
x,
y);
86 return ::atan2f(
y,
x);
90 #define transFunc(func) \
91 inline Scalar func(const Scalar s) \
93 return ::func##f(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(__APPLE__)
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 Scalar(::func(n, double(s))); \
125 #elif defined(__MINGW32__)
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 Scalar(_##func(n, double(s))); \
139 #define besselFunc(func) \
140 inline Scalar func(const Scalar s) \
142 return ::func##f(s); \
144 #define besselFunc2(func) \
145 inline Scalar func(const int n, const Scalar s) \
147 return ::func##f(n, s); \
163 #undef ScalarROOTVGREAT
164 #undef ScalarROOTVSMALL
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
A typedef for float.
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 the Cartesian directions etc.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
constexpr floatScalar floatScalarROOTVGREAT
constexpr floatScalar floatScalarROOTVSMALL
constexpr floatScalar floatScalarSMALL
constexpr floatScalar floatScalarVGREAT