doubleScalar.H File Reference
Include dependency graph for doubleScalar.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


namespace  Foam
 Namespace for OpenFOAM.


#define Scalar   doubleScalar
#define ScalarVGREAT   doubleScalarVGREAT
#define ScalarVSMALL   doubleScalarVSMALL
#define ScalarROOTVGREAT   doubleScalarROOTVGREAT
#define ScalarROOTVSMALL   doubleScalarROOTVSMALL
#define ScalarRead   readDouble
#define transFunc(func)
#define besselFunc(func)
#define besselFunc2(func)


doubleScalar mag (const doubleScalar s)
doubleScalar hypot (const doubleScalar x, const doubleScalar y)
doubleScalar atan2 (const doubleScalar y, const doubleScalar x)


constexpr doubleScalar doubleScalarGREAT = 1.0e+15
constexpr doubleScalar doubleScalarROOTGREAT = 3.0e+8
constexpr doubleScalar doubleScalarVGREAT = 1.0e+300
constexpr doubleScalar doubleScalarROOTVGREAT = 1.0e+150
constexpr doubleScalar doubleScalarSMALL = 1.0e-15
constexpr doubleScalar doubleScalarROOTSMALL = 3.0e-8
constexpr doubleScalar doubleScalarVSMALL = 1.0e-300
constexpr doubleScalar doubleScalarROOTVSMALL = 1.0e-150

Detailed Description

Original source file doubleScalar.H

Definition in file doubleScalar.H.

Macro Definition Documentation

◆ Scalar

#define Scalar   doubleScalar

Definition at line 67 of file doubleScalar.H.

◆ ScalarVGREAT

#define ScalarVGREAT   doubleScalarVGREAT

Definition at line 68 of file doubleScalar.H.

◆ ScalarVSMALL

#define ScalarVSMALL   doubleScalarVSMALL

Definition at line 69 of file doubleScalar.H.


#define ScalarROOTVGREAT   doubleScalarROOTVGREAT

Definition at line 70 of file doubleScalar.H.


#define ScalarROOTVSMALL   doubleScalarROOTVSMALL

Definition at line 71 of file doubleScalar.H.

◆ ScalarRead

#define ScalarRead   readDouble

Definition at line 72 of file doubleScalar.H.

◆ transFunc

#define transFunc (   func)
inline Scalar func(const Scalar s) \
{ \
return ::func(s); \
#define Scalar
Definition: doubleScalar.H:67
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))

Definition at line 92 of file doubleScalar.H.

◆ besselFunc

#define besselFunc (   func)
inline Scalar func(const Scalar s) \
{ \
return ::func(s); \

Definition at line 127 of file doubleScalar.H.

◆ besselFunc2

#define besselFunc2 (   func)
inline Scalar func(const int n, const Scalar s) \
{ \
return ::func(n, s); \
label n

Definition at line 132 of file doubleScalar.H.