Namespaces | Macros | Functions
dimensionedScalar.C File Reference
Include dependency graph for dimensionedScalar.C:

Go to the source code of this file.

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Macros

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

Functions

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 hypot (const dimensionedScalar &x, const dimensionedScalar &y)
 
dimensionedScalar sign (const dimensionedScalar &ds)
 
dimensionedScalar pos (const dimensionedScalar &ds)
 
dimensionedScalar neg (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)
 

Detailed Description

Original source file dimensionedScalar.C

Definition in file dimensionedScalar.C.

Macro Definition Documentation

#define transFunc (   func)
Value:
{ \
if (!ds.dimensions().dimensionless()) \
{ \
FatalErrorIn(#func "(const dimensionedScalar& ds)") \
<< "ds not dimensionless" \
} \
\
( \
#func "(" + ds.name() + ')', \
dimless, \
::func(ds.value()) \
); \
}
errorManip< error > abort(error &err)
Definition: errorManip.H:131
void func(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
error FatalError
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.

Definition at line 278 of file dimensionedScalar.C.

#define transFunc (   func)
Value:
dimensionedScalar func(const int n, const dimensionedScalar& ds) \
{ \
if (!ds.dimensions().dimensionless()) \
{ \
FatalErrorIn(#func "(const int n, const dimensionedScalar& ds)") \
<< "ds not dimensionless" \
} \
\
( \
#func "(" + name(n) + ',' + ds.name() + ')', \
dimless, \
::func(n, ds.value()) \
); \
}
label n
errorManip< error > abort(error &err)
Definition: errorManip.H:131
void func(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
error FatalError
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.

Definition at line 278 of file dimensionedScalar.C.