dimensionedScalar.C File Reference
Include dependency graph for dimensionedScalar.C:

Go to the source code of this file.


 Namespace for OpenFOAM.


#define transFunc(func)
#define transFunc(func)


dimensionedScalar operator+ (const dimensionedScalar &ds1, const scalar s2)
dimensionedScalar operator+ (const scalar s1, const dimensionedScalar &ds2)
dimensionedScalar operator- (const dimensionedScalar &ds1, const scalar s2)
dimensionedScalar operator- (const scalar s1, const dimensionedScalar &ds2)
dimensionedScalar operator* (const dimensionedScalar &ds1, const scalar s2)
dimensionedScalar operator/ (const scalar s1, const dimensionedScalar &ds2)
dimensionedScalar pow (const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensionedScalar pow3 (const dimensionedScalar &ds)
dimensionedScalar pow4 (const dimensionedScalar &ds)
dimensionedScalar pow5 (const dimensionedScalar &ds)
dimensionedScalar pow6 (const dimensionedScalar &ds)
dimensionedScalar pow025 (const dimensionedScalar &ds)
dimensionedScalar sqrt (const dimensionedScalar &ds)
dimensionedScalar cbrt (const dimensionedScalar &ds)
dimensionedScalar sign (const dimensionedScalar &ds)
dimensionedScalar pos (const dimensionedScalar &ds)
dimensionedScalar pos0 (const dimensionedScalar &ds)
dimensionedScalar neg (const dimensionedScalar &ds)
dimensionedScalar neg0 (const dimensionedScalar &ds)
dimensionedScalar posPart (const dimensionedScalar &ds)
dimensionedScalar negPart (const dimensionedScalar &ds)
dimensionedScalar exp (const dimensionedScalar &ds)
dimensionedScalar log (const dimensionedScalar &ds)
dimensionedScalar log10 (const dimensionedScalar &ds)
dimensionedScalar sin (const dimensionedScalar &ds)
dimensionedScalar cos (const dimensionedScalar &ds)
dimensionedScalar tan (const dimensionedScalar &ds)
dimensionedScalar asin (const dimensionedScalar &ds)
dimensionedScalar acos (const dimensionedScalar &ds)
dimensionedScalar atan (const dimensionedScalar &ds)
dimensionedScalar sinh (const dimensionedScalar &ds)
dimensionedScalar cosh (const dimensionedScalar &ds)
dimensionedScalar tanh (const dimensionedScalar &ds)
dimensionedScalar asinh (const dimensionedScalar &ds)
dimensionedScalar acosh (const dimensionedScalar &ds)
dimensionedScalar atanh (const dimensionedScalar &ds)
dimensionedScalar erf (const dimensionedScalar &ds)
dimensionedScalar erfc (const dimensionedScalar &ds)
dimensionedScalar lgamma (const dimensionedScalar &ds)
dimensionedScalar j0 (const dimensionedScalar &ds)
dimensionedScalar j1 (const dimensionedScalar &ds)
dimensionedScalar y0 (const dimensionedScalar &ds)
dimensionedScalar y1 (const dimensionedScalar &ds)
dimensionedScalar jn (const int n, const dimensionedScalar &ds)
dimensionedScalar yn (const int n, const dimensionedScalar &ds)
dimensionedScalar atan2 (const dimensionedScalar &x, const dimensionedScalar &y)
dimensionedScalar hypot (const dimensionedScalar &x, const dimensionedScalar &y)

Detailed Description

Original source file dimensionedScalar.C

Definition in file dimensionedScalar.C.

Macro Definition Documentation

◆ transFunc [1/2]

#define transFunc (   func)
{ \
if (!ds.dimensions().dimensionless()) \
{ \
FatalErrorInFunction \
<< "ds not dimensionless" \
} \
( \
#func "(" + ds.name() + ')', \
dimless, \
::func(ds.value()) \
); \

Definition at line 287 of file dimensionedScalar.C.

◆ transFunc [2/2]

#define transFunc (   func)
dimensionedScalar func(const int n, const dimensionedScalar& ds) \
{ \
if (!ds.dimensions().dimensionless()) \
{ \
FatalErrorInFunction \
<< "ds not dimensionless" \
} \
( \
#func "(" + name(n) + ',' + ds.name() + ')', \
dimless, \
::func(n, ds.value()) \
); \

Definition at line 287 of file dimensionedScalar.C.

label n
Definition: TABSMDCalcMethod2.H:31
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Definition: dimensionedScalarFwd.H:42
void func(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
error FatalError
errorManip< error > abort(error &err)
Definition: errorManip.H:144