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

Go to the source code of this file.

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Macros

#define Scalar   longDoubleScalar
 
#define ScalarVGreat   longDoubleScalarVGreat
 
#define ScalarVSmall   longDoubleScalarVSmall
 
#define ScalarRootVGreat   longDoubleScalarRootVGreat
 
#define ScalarRootVSmall   longDoubleScalarRootVSmall
 
#define ScalarNaN   longDoubleScalarNaN
 
#define readScalar   readLongDoubleScalar
 
#define MAXMINPOW(retType, type1, type2)
 
#define transFunc(func)
 

Typedefs

typedef long double longDoubleScalar
 Lang double precision floating point scalar type. More...
 

Functions

bool readScalar (const char *buf, longDoubleScalar &s)
 Read whole of buf as a scalar. Return true if successful. More...
 
longDoubleScalar mag (const longDoubleScalar s)
 
 MAXMIN (longDoubleScalar, longDoubleScalar, longDoubleScalar) inline double pow(const longDoubleScalar s
 
 MAXMIN (longDoubleScalar, longDoubleScalar, int) inline double pow(const longDoubleScalar s
 
 MAXMIN (longDoubleScalar, int, longDoubleScalar) inline double pow(const int s
 
 MAXMIN (longDoubleScalar, longDoubleScalar, long) inline double pow(const longDoubleScalar s
 
 MAXMIN (longDoubleScalar, long, longDoubleScalar) inline double pow(const long s
 
 MAXMIN (longDoubleScalar, longDoubleScalar, float) inline double pow(const longDoubleScalar s
 
 MAXMIN (longDoubleScalar, float, longDoubleScalar) inline double pow(const float s
 
 MAXMIN (longDoubleScalar, longDoubleScalar, double) inline double pow(const longDoubleScalar s
 
 MAXMIN (longDoubleScalar, double, longDoubleScalar) inline double pow(const double s
 
longDoubleScalar hypot (const longDoubleScalar x, const longDoubleScalar y)
 
longDoubleScalar atan2 (const longDoubleScalar y, const longDoubleScalar x)
 
longDoubleScalar jn (const int n, const longDoubleScalar s)
 
longDoubleScalar yn (const int n, const longDoubleScalar s)
 

Variables

static const longDoubleScalar longDoubleScalarVGreat = numeric_limits<longDoubleScalar>::max()/10
 
static const longDoubleScalar longDoubleScalarVSmall = numeric_limits<longDoubleScalar>::min()
 
static const longDoubleScalar longDoubleScalarSmall = 1e3*numeric_limits<longDoubleScalar>::epsilon()
 
static const longDoubleScalar longDoubleScalarGreat = 1.0/longDoubleScalarSmall
 
static const longDoubleScalar longDoubleScalarRootVGreat = ::sqrtl(longDoubleScalarVGreat)
 
static const longDoubleScalar longDoubleScalarRootVSmall = ::sqrtl(longDoubleScalarVSmall)
 
static const longDoubleScalar longDoubleScalarRootGreat = ::sqrtl(longDoubleScalarGreat)
 
static const longDoubleScalar longDoubleScalarRootSmall = ::sqrtl(longDoubleScalarSmall)
 
static const longDoubleScalar longDoubleScalarNaN = numeric_limits<longDoubleScalar>::signaling_NaN()
 

Detailed Description

Original source file longDoubleScalar.H

Definition in file longDoubleScalar.H.

Macro Definition Documentation

◆ Scalar

#define Scalar   longDoubleScalar

Definition at line 87 of file longDoubleScalar.H.

◆ ScalarVGreat

#define ScalarVGreat   longDoubleScalarVGreat

Definition at line 88 of file longDoubleScalar.H.

◆ ScalarVSmall

#define ScalarVSmall   longDoubleScalarVSmall

Definition at line 89 of file longDoubleScalar.H.

◆ ScalarRootVGreat

#define ScalarRootVGreat   longDoubleScalarRootVGreat

Definition at line 90 of file longDoubleScalar.H.

◆ ScalarRootVSmall

#define ScalarRootVSmall   longDoubleScalarRootVSmall

Definition at line 91 of file longDoubleScalar.H.

◆ ScalarNaN

#define ScalarNaN   longDoubleScalarNaN

Definition at line 92 of file longDoubleScalar.H.

◆ readScalar

#define readScalar   readLongDoubleScalar

Definition at line 93 of file longDoubleScalar.H.

◆ MAXMINPOW

#define MAXMINPOW (   retType,
  type1,
  type2 
)
Value:
\
MAXMIN(retType, type1, type2) \
\
inline double pow(const type1 s, const type2 e) \
{ \
return ::powl(Scalar(s), Scalar(e)); \
}
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.name(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
#define Scalar
const dimensionedScalar e
Elementary charge.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)

Definition at line 100 of file longDoubleScalar.H.

◆ transFunc

#define transFunc (   func)
Value:
inline Scalar func(const Scalar s) \
{ \
}
void func(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)

Definition at line 121 of file longDoubleScalar.H.